org.omg.CosTransactions.OTSPolicyPOATie Maven / Gradle / Ivy
package org.omg.CosTransactions;
/**
* org/omg/CosTransactions/OTSPolicyPOATie.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/CosTransactions.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
public class OTSPolicyPOATie extends OTSPolicyPOA
{
// Constructors
public OTSPolicyPOATie ( org.omg.CosTransactions.OTSPolicyOperations delegate ) {
this._impl = delegate;
}
public OTSPolicyPOATie ( org.omg.CosTransactions.OTSPolicyOperations delegate , org.omg.PortableServer.POA poa ) {
this._impl = delegate;
this._poa = poa;
}
public org.omg.CosTransactions.OTSPolicyOperations _delegate() {
return this._impl;
}
public void _delegate (org.omg.CosTransactions.OTSPolicyOperations delegate ) {
this._impl = delegate;
}
public org.omg.PortableServer.POA _default_POA() {
if(_poa != null) {
return _poa;
}
else {
return super._default_POA();
}
}
public short value ()
{
return _impl.value();
} // value
/** Return the constant value that corresponds to the
* type of the policy object. The values of
* the polivy objectys are allocated by the OMG.
* New values for PolicyType should be obtained from the OMG by
* sending mail to [email protected]. In general the constant
* values that are allocated are defined in conjunction with
* the definition of the corresponding policy object.
* @return the constant value that corresponds to the type of
* the policy object.
*/
public int policy_type ()
{
return _impl.policy_type();
} // policy_type
/** Copies the policy object. The copy does not retain any
* relationships that the policy had with any domain or object.
* @return the copy of the policy object.
*/
public org.omg.CORBA.Policy copy ()
{
return _impl.copy();
} // copy
/** Destroys the policy object. It is the responsibility of
* the policy object to determine whether it can be destroyed.
*/
public void destroy ()
{
_impl.destroy();
} // destroy
private org.omg.CosTransactions.OTSPolicyOperations _impl;
private org.omg.PortableServer.POA _poa;
} // class OTSPolicyPOATie