com.sun.jts.pi
Class OTSPolicyImpl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by com.sun.jts.pi.OTSPolicyImpl
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.Policy, org.omg.CORBA.PolicyOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CosTransactions.OTSPolicy, org.omg.CosTransactions.OTSPolicyOperations

public class OTSPolicyImpl
extends org.omg.CORBA.LocalObject
implements org.omg.CosTransactions.OTSPolicy

This is the OTSPolicy object which holds an appropriate policy value.

Version:
1.0
Author:
Ram Jeyaraman 11/11/2000
See Also:
Serialized Form

Field Summary
static org.omg.CosTransactions.OTSPolicy _ADAPTS
           
static org.omg.CosTransactions.OTSPolicy _FORBIDS
           
static org.omg.CosTransactions.OTSPolicy _REQUIRES
           
 
Constructor Summary
OTSPolicyImpl()
           
OTSPolicyImpl(short value)
           
 
Method Summary
 org.omg.CORBA.Policy copy()
           
 void destroy()
           
 int policy_type()
           
 java.lang.String toString()
           
 short value()
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _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

_ADAPTS

public static final org.omg.CosTransactions.OTSPolicy _ADAPTS

_FORBIDS

public static final org.omg.CosTransactions.OTSPolicy _FORBIDS

_REQUIRES

public static final org.omg.CosTransactions.OTSPolicy _REQUIRES
Constructor Detail

OTSPolicyImpl

public OTSPolicyImpl()

OTSPolicyImpl

public OTSPolicyImpl(short value)
Method Detail

value

public short value()
Specified by:
value in interface org.omg.CosTransactions.OTSPolicyOperations

policy_type

public int policy_type()
Specified by:
policy_type in interface org.omg.CORBA.PolicyOperations

copy

public org.omg.CORBA.Policy copy()
Specified by:
copy in interface org.omg.CORBA.PolicyOperations

destroy

public void destroy()
Specified by:
destroy in interface org.omg.CORBA.PolicyOperations

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.