FileDocCategorySizeDatePackage
OTSPolicyImpl.javaAPI DocGlassfish v2 API3522Fri May 04 22:36:42 BST 2007com.sun.jts.pi

OTSPolicyImpl

public class OTSPolicyImpl extends org.omg.CORBA.LocalObject implements org.omg.CosTransactions.OTSPolicy
This is the OTSPolicy object which holds an appropriate policy value.
author
Ram Jeyaraman 11/11/2000
version
1.0

Fields Summary
public static final org.omg.CosTransactions.OTSPolicy
_ADAPTS
public static final org.omg.CosTransactions.OTSPolicy
_FORBIDS
public static final org.omg.CosTransactions.OTSPolicy
_REQUIRES
private short
value
Constructors Summary
public OTSPolicyImpl()


    // constructor

      
        this.value = FORBIDS.value;
    
public OTSPolicyImpl(short value)

        this.value = value;
    
Methods Summary
public org.omg.CORBA.Policycopy()

	return new OTSPolicyImpl(this.value);
    
public voiddestroy()

	value = FORBIDS.value;
    
public intpolicy_type()

	return OTS_POLICY_TYPE.value;
    
public java.lang.StringtoString()

	return "OTSPolicy[" + this.value + "]";
    
public shortvalue()

        return this.value;