org.csapi.jr.se.policy
Class PolicyType

java.lang.Object
  |
  +--org.csapi.jr.se.policy.PolicyType
All Implemented Interfaces:
java.io.Serializable

public final class PolicyType
extends java.lang.Object
implements java.io.Serializable

This is a Tagged Choice of Data Elements with a TpPolicyTypeInfo discriminator. TpPolicyType allows us to define arbitrarily nested complex types. The level of nested data types actually supported is implementation specific.

See Also:
Serialized Form

Constructor Summary
PolicyType()
          Creates a new PolicyType.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.policy.PolicyTypeInfo getDiscriminator()
          This method returns the discriminator.
 org.csapi.jr.se.policy.PolicyListType getListType()
          This method returns a ListType
 org.csapi.jr.se.policy.PolicyNameType[] getRecordType()
          This method returns a RecordType
 org.csapi.jr.se.SimpleAttributeTypeInfo getSimpleType()
          This method returns a SimpleType
 java.lang.String getStructuredType()
          This method returns a StructuredType
 java.lang.String getXMLString()
          This method returns a XMLString
 int hashCode()
          Returns a hashcode value for the object.
 void setListType(org.csapi.jr.se.policy.PolicyListType value)
          This method sets a ListType
 void setRecordType(org.csapi.jr.se.policy.PolicyNameType[] value)
          This method sets a RecordType
 void setSimpleType(org.csapi.jr.se.SimpleAttributeTypeInfo value)
          This method sets a SimpleType
 void setStructuredType(java.lang.String value)
          This method sets a StructuredType
 void setUndefined(org.csapi.jr.se.policy.PolicyTypeInfo discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 void setXMLString(java.lang.String value)
          This method sets a XMLString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyType

public PolicyType()
Creates a new PolicyType. Tagged choice of data elements always have empty constructors

Method Detail

getDiscriminator

public org.csapi.jr.se.policy.PolicyTypeInfo getDiscriminator()
                                                       throws InvalidUnionAccessorException
This method returns the discriminator.

Returns:
a PolicyTypeInfo value
Throws:
InvalidUnionAccessorException - if an error occurs

getRecordType

public org.csapi.jr.se.policy.PolicyNameType[] getRecordType()
                                                      throws InvalidUnionAccessorException
This method returns a RecordType

Returns:
a org.csapi.jr.se.policy.PolicyNameType[] value
Throws:
InvalidUnionAccessorException - if an error occurs

setRecordType

public void setRecordType(org.csapi.jr.se.policy.PolicyNameType[] value)
This method sets a RecordType

Parameters:
value - a org.csapi.jr.se.policy.PolicyNameType[] value

getListType

public org.csapi.jr.se.policy.PolicyListType getListType()
                                                  throws InvalidUnionAccessorException
This method returns a ListType

Returns:
a org.csapi.jr.se.policy.PolicyListType value
Throws:
InvalidUnionAccessorException - if an error occurs

setListType

public void setListType(org.csapi.jr.se.policy.PolicyListType value)
This method sets a ListType

Parameters:
value - a org.csapi.jr.se.policy.PolicyListType value

getSimpleType

public org.csapi.jr.se.SimpleAttributeTypeInfo getSimpleType()
                                                      throws InvalidUnionAccessorException
This method returns a SimpleType

Returns:
a org.csapi.jr.se.SimpleAttributeTypeInfo value
Throws:
InvalidUnionAccessorException - if an error occurs

setSimpleType

public void setSimpleType(org.csapi.jr.se.SimpleAttributeTypeInfo value)
This method sets a SimpleType

Parameters:
value - a org.csapi.jr.se.SimpleAttributeTypeInfo value

getStructuredType

public java.lang.String getStructuredType()
                                   throws InvalidUnionAccessorException
This method returns a StructuredType

Returns:
a java.lang.String value
Throws:
InvalidUnionAccessorException - if an error occurs

setStructuredType

public void setStructuredType(java.lang.String value)
This method sets a StructuredType

Parameters:
value - a java.lang.String value

getXMLString

public java.lang.String getXMLString()
                              throws InvalidUnionAccessorException
This method returns a XMLString

Returns:
a java.lang.String value
Throws:
InvalidUnionAccessorException - if an error occurs

setXMLString

public void setXMLString(java.lang.String value)
This method sets a XMLString

Parameters:
value - a java.lang.String value

setUndefined

public void setUndefined(org.csapi.jr.se.policy.PolicyTypeInfo discriminator)
This method will receive the discriminator as a parameter and will set _object to null

Parameters:
discriminator - a PolicyTypeInfo value

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object