- java.lang.Object
-
- org.omg.CORBA.SetOverrideType
-
- All Implemented Interfaces:
- Serializable, IDLEntity
public class SetOverrideType extends Object implements IDLEntity
The mapping of a CORBAenumtaggingSET_OVERRIDEandADD_OVERRIDE, which indicate whether policies should replace the existing policies of anObjector be added to them.The method
Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)takes eitherSetOverrideType.SET_OVERRIDEorSetOverrideType.ADD_OVERRIDEas its second argument. The method_set_policy_overridecreates a newObjectinitialized with thePolicyobjects supplied as the first argument. If the second argument isADD_OVERRIDE, the new policies are added to those of theObjectinstance that is calling the_set_policy_overridemethod. IfSET_OVERRIDEis given instead, the existing policies are replaced with the given ones.- Since:
- JDK1.2
-
-
Field Summary
Fields Modifier and Type Field and Description static int_ADD_OVERRIDETheintconstant for the enum value ADD_OVERRIDE.static int_SET_OVERRIDETheintconstant for the enum value SET_OVERRIDE.static SetOverrideTypeADD_OVERRIDETheSetOverrideTypeconstant for the enum value ADD_OVERRIDE.static SetOverrideTypeSET_OVERRIDETheSetOverrideTypeconstant for the enum value SET_OVERRIDE.
-
Constructor Summary
Constructors Modifier Constructor and Description protectedSetOverrideType(int _value)Constructs aSetOverrideTypeinstance from anint.
-
Method Summary
Methods Modifier and Type Method and Description static SetOverrideTypefrom_int(int i)Converts the givenintto the correspondingSetOverrideTypeinstance.intvalue()Retrieves the value of thisSetOverrideTypeinstance.
-
-
-
Field Detail
-
_SET_OVERRIDE
public static final int _SET_OVERRIDE
Theintconstant for the enum value SET_OVERRIDE.- See Also:
- Constant Field Values
-
_ADD_OVERRIDE
public static final int _ADD_OVERRIDE
Theintconstant for the enum value ADD_OVERRIDE.- See Also:
- Constant Field Values
-
SET_OVERRIDE
public static final SetOverrideType SET_OVERRIDE
TheSetOverrideTypeconstant for the enum value SET_OVERRIDE.
-
ADD_OVERRIDE
public static final SetOverrideType ADD_OVERRIDE
TheSetOverrideTypeconstant for the enum value ADD_OVERRIDE.
-
-
Constructor Detail
-
SetOverrideType
protected SetOverrideType(int _value)
Constructs aSetOverrideTypeinstance from anint.- Parameters:
_value- must be eitherSET_OVERRIDEorADD_OVERRIDE
-
-
Method Detail
-
value
public int value()
Retrieves the value of thisSetOverrideTypeinstance.- Returns:
- the
intfor thisSetOverrideTypeinstance.
-
from_int
public static SetOverrideType from_int(int i)
Converts the givenintto the correspondingSetOverrideTypeinstance.- Parameters:
i- theintto convert; must be eitherSetOverrideType._SET_OVERRIDEorSetOverrideType._ADD_OVERRIDE- Returns:
- the
SetOverrideTypeinstance whose value matches the givenint - Throws:
BAD_PARAM- if the givenintdoes not match the value of anySetOverrideTypeinstance
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-org/omg/CORBA/SetOverrideType.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.