com.mrami.libre.ClassGenerator.input
Class CGobjectType

java.lang.Object
  extended bycom.mrami.libre.ClassGenerator.input.CGobjectType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CGsubVal, CGthis

public class CGobjectType
extends java.lang.Object
implements java.io.Serializable

Definition of an inline object definition. Used to specify default values.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
CGobjectType()
           
 
Method Summary
 void addObjectTypeChoice(int index, ObjectTypeChoice vObjectTypeChoice)
          Method addObjectTypeChoice
 void addObjectTypeChoice(ObjectTypeChoice vObjectTypeChoice)
          Method addObjectTypeChoice
 java.util.Enumeration enumerateObjectTypeChoice()
          Method enumerateObjectTypeChoice
 ObjectTypeChoice[] getObjectTypeChoice()
          Method getObjectTypeChoice
 ObjectTypeChoice getObjectTypeChoice(int index)
          Method getObjectTypeChoice
 int getObjectTypeChoiceCount()
          Method getObjectTypeChoiceCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllObjectTypeChoice()
          Method removeAllObjectTypeChoice
 ObjectTypeChoice removeObjectTypeChoice(int index)
          Method removeObjectTypeChoice
 void setObjectTypeChoice(int index, ObjectTypeChoice vObjectTypeChoice)
          Method setObjectTypeChoice
 void setObjectTypeChoice(ObjectTypeChoice[] objectTypeChoiceArray)
          Method setObjectTypeChoice
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CGobjectType

public CGobjectType()
Method Detail

addObjectTypeChoice

public void addObjectTypeChoice(ObjectTypeChoice vObjectTypeChoice)
                         throws java.lang.IndexOutOfBoundsException
Method addObjectTypeChoice

Parameters:
vObjectTypeChoice -
Throws:
java.lang.IndexOutOfBoundsException

addObjectTypeChoice

public void addObjectTypeChoice(int index,
                                ObjectTypeChoice vObjectTypeChoice)
                         throws java.lang.IndexOutOfBoundsException
Method addObjectTypeChoice

Parameters:
index -
vObjectTypeChoice -
Throws:
java.lang.IndexOutOfBoundsException

enumerateObjectTypeChoice

public java.util.Enumeration enumerateObjectTypeChoice()
Method enumerateObjectTypeChoice

Returns:
Enumeration

getObjectTypeChoice

public ObjectTypeChoice getObjectTypeChoice(int index)
                                     throws java.lang.IndexOutOfBoundsException
Method getObjectTypeChoice

Parameters:
index -
Returns:
ObjectTypeChoice
Throws:
java.lang.IndexOutOfBoundsException

getObjectTypeChoice

public ObjectTypeChoice[] getObjectTypeChoice()
Method getObjectTypeChoice

Returns:
ObjectTypeChoice

getObjectTypeChoiceCount

public int getObjectTypeChoiceCount()
Method getObjectTypeChoiceCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllObjectTypeChoice

public void removeAllObjectTypeChoice()
Method removeAllObjectTypeChoice


removeObjectTypeChoice

public ObjectTypeChoice removeObjectTypeChoice(int index)
Method removeObjectTypeChoice

Parameters:
index -
Returns:
ObjectTypeChoice

setObjectTypeChoice

public void setObjectTypeChoice(int index,
                                ObjectTypeChoice vObjectTypeChoice)
                         throws java.lang.IndexOutOfBoundsException
Method setObjectTypeChoice

Parameters:
index -
vObjectTypeChoice -
Throws:
java.lang.IndexOutOfBoundsException

setObjectTypeChoice

public void setObjectTypeChoice(ObjectTypeChoice[] objectTypeChoiceArray)
Method setObjectTypeChoice

Parameters:
objectTypeChoiceArray -

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException