Package com.sun.corba.ee.impl.oa.poa
Class IdAssignmentPolicyImpl
- java.lang.Object
-
- org.omg.CORBA.LocalObject
-
- com.sun.corba.ee.impl.oa.poa.IdAssignmentPolicyImpl
-
- All Implemented Interfaces:
java.io.Serializable
,Object
,Policy
,PolicyOperations
,IDLEntity
,IdAssignmentPolicy
,IdAssignmentPolicyOperations
final class IdAssignmentPolicyImpl extends LocalObject implements IdAssignmentPolicy
-
-
Field Summary
Fields Modifier and Type Field Description private IdAssignmentPolicyValue
value
-
Constructor Summary
Constructors Constructor Description IdAssignmentPolicyImpl(IdAssignmentPolicyValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Policy
copy()
Returns a copy of thePolicy
object.void
destroy()
Destroys thePolicy
object.int
policy_type()
Returns the constant value that corresponds to the type of the policy object.java.lang.String
toString()
IdAssignmentPolicyValue
value()
specifies the policy value-
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
-
-
-
Field Detail
-
value
private IdAssignmentPolicyValue value
-
-
Constructor Detail
-
IdAssignmentPolicyImpl
public IdAssignmentPolicyImpl(IdAssignmentPolicyValue value)
-
-
Method Detail
-
value
public IdAssignmentPolicyValue value()
Description copied from interface:IdAssignmentPolicyOperations
specifies the policy value- Specified by:
value
in interfaceIdAssignmentPolicyOperations
- Returns:
- the policy value
-
policy_type
public int policy_type()
Description copied from interface:PolicyOperations
Returns the constant value that corresponds to the type of the policy object. The values of the policy objects are allocated by the OMG. New values for PolicyType should be obtained from the OMG by sending mail to request@omg.org. In general the constant values that are allocated are defined in conjunction with the definition of the corresponding policy object.- Specified by:
policy_type
in interfacePolicyOperations
- Returns:
- the constant value that corresponds to the type of the policy object
-
copy
public Policy copy()
Description copied from interface:PolicyOperations
Returns a copy of thePolicy
object. The copy does not retain any relationships that the policy had with any domain or object.- Specified by:
copy
in interfacePolicyOperations
- Returns:
- a copy of the
Policy
object
-
destroy
public void destroy()
Description copied from interface:PolicyOperations
Destroys thePolicy
object. It is the responsibility of thePolicy
object to determine whether it can be destroyed.- Specified by:
destroy
in interfacePolicyOperations
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-