- java.lang.Object
-
- org.omg.CORBA.SetOverrideType
-
- All Implemented Interfaces:
- Serializable, IDLEntity
public class SetOverrideType extends Object implements IDLEntity
The mapping of a CORBAenum
taggingSET_OVERRIDE
andADD_OVERRIDE
, which indicate whether policies should replace the existing policies of anObject
or be added to them.The method
Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)
takes eitherSetOverrideType.SET_OVERRIDE
orSetOverrideType.ADD_OVERRIDE
as its second argument. The method_set_policy_override
creates a newObject
initialized with thePolicy
objects supplied as the first argument. If the second argument isADD_OVERRIDE
, the new policies are added to those of theObject
instance that is calling the_set_policy_override
method. IfSET_OVERRIDE
is 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_OVERRIDE
Theint
constant for the enum value ADD_OVERRIDE.static int
_SET_OVERRIDE
Theint
constant for the enum value SET_OVERRIDE.static SetOverrideType
ADD_OVERRIDE
TheSetOverrideType
constant for the enum value ADD_OVERRIDE.static SetOverrideType
SET_OVERRIDE
TheSetOverrideType
constant for the enum value SET_OVERRIDE.
-
Constructor Summary
Constructors Modifier Constructor and Description protected
SetOverrideType(int _value)
Constructs aSetOverrideType
instance from anint
.
-
Method Summary
Methods Modifier and Type Method and Description static SetOverrideType
from_int(int i)
Converts the givenint
to the correspondingSetOverrideType
instance.int
value()
Retrieves the value of thisSetOverrideType
instance.
-
-
-
Field Detail
-
_SET_OVERRIDE
public static final int _SET_OVERRIDE
Theint
constant for the enum value SET_OVERRIDE.- See Also:
- Constant Field Values
-
_ADD_OVERRIDE
public static final int _ADD_OVERRIDE
Theint
constant for the enum value ADD_OVERRIDE.- See Also:
- Constant Field Values
-
SET_OVERRIDE
public static final SetOverrideType SET_OVERRIDE
TheSetOverrideType
constant for the enum value SET_OVERRIDE.
-
ADD_OVERRIDE
public static final SetOverrideType ADD_OVERRIDE
TheSetOverrideType
constant for the enum value ADD_OVERRIDE.
-
-
Constructor Detail
-
SetOverrideType
protected SetOverrideType(int _value)
Constructs aSetOverrideType
instance from anint
.- Parameters:
_value
- must be eitherSET_OVERRIDE
orADD_OVERRIDE
-
-
Method Detail
-
value
public int value()
Retrieves the value of thisSetOverrideType
instance.- Returns:
- the
int
for thisSetOverrideType
instance.
-
from_int
public static SetOverrideType from_int(int i)
Converts the givenint
to the correspondingSetOverrideType
instance.- Parameters:
i
- theint
to convert; must be eitherSetOverrideType._SET_OVERRIDE
orSetOverrideType._ADD_OVERRIDE
- Returns:
- the
SetOverrideType
instance whose value matches the givenint
- Throws:
BAD_PARAM
- if the givenint
does not match the value of anySetOverrideType
instance
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 04/03/2020
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-rf-org/omg/CORBA/SetOverrideType.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.