com.mrami.libre.ClassGenerator.input
Class CGentityClassType

java.lang.Object
  extended bycom.mrami.libre.ClassGenerator.input.CGentityClassType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CGentityClass

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

A type for elements describing entity classes. Entities know no logic, they may only hold data

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

Constructor Summary
CGentityClassType()
           
 
Method Summary
 void addCGfield(CGfield vCGfield)
          Method addCGfield
 void addCGfield(int index, CGfield vCGfield)
          Method addCGfield
 void addCGuses(CGuses vCGuses)
          Method addCGuses
 void addCGuses(int index, CGuses vCGuses)
          Method addCGuses
 void deleteAbstract()
          Method deleteAbstract
 void deleteDeletable()
          Method deleteDeletable
 void deleteUnique()
          Method deleteUnique
 java.util.Enumeration enumerateCGfield()
          Method enumerateCGfield
 java.util.Enumeration enumerateCGuses()
          Method enumerateCGuses
 boolean getAbstract()
          Returns the value of field 'abstract'.
 CGdefault getCGdefault()
          Returns the value of field 'CGdefault'.
 java.lang.String getCGdocumentation()
          Returns the value of field 'CGdocumentation'.
 CGfield[] getCGfield()
          Method getCGfield
 CGfield getCGfield(int index)
          Method getCGfield
 int getCGfieldCount()
          Method getCGfieldCount
 CGuses[] getCGuses()
          Method getCGuses
 CGuses getCGuses(int index)
          Method getCGuses
 int getCGusesCount()
          Method getCGusesCount
 boolean getDeletable()
          Returns the value of field 'deletable'.
 java.lang.String getDescription()
          Returns the value of field 'description'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getParent()
          Returns the value of field 'parent'.
 boolean getUnique()
          Returns the value of field 'unique'.
 boolean hasAbstract()
          Method hasAbstract
 boolean hasDeletable()
          Method hasDeletable
 boolean hasUnique()
          Method hasUnique
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllCGfield()
          Method removeAllCGfield
 void removeAllCGuses()
          Method removeAllCGuses
 CGfield removeCGfield(int index)
          Method removeCGfield
 CGuses removeCGuses(int index)
          Method removeCGuses
 void setAbstract(boolean _abstract)
          Sets the value of field 'abstract'.
 void setCGdefault(CGdefault CGdefault)
          Sets the value of field 'CGdefault'.
 void setCGdocumentation(java.lang.String CGdocumentation)
          Sets the value of field 'CGdocumentation'.
 void setCGfield(CGfield[] CGfieldArray)
          Method setCGfield
 void setCGfield(int index, CGfield vCGfield)
          Method setCGfield
 void setCGuses(CGuses[] CGusesArray)
          Method setCGuses
 void setCGuses(int index, CGuses vCGuses)
          Method setCGuses
 void setDeletable(boolean deletable)
          Sets the value of field 'deletable'.
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setParent(java.lang.String parent)
          Sets the value of field 'parent'.
 void setUnique(boolean unique)
          Sets the value of field 'unique'.
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

CGentityClassType

public CGentityClassType()
Method Detail

addCGfield

public void addCGfield(CGfield vCGfield)
                throws java.lang.IndexOutOfBoundsException
Method addCGfield

Parameters:
vCGfield -
Throws:
java.lang.IndexOutOfBoundsException

addCGfield

public void addCGfield(int index,
                       CGfield vCGfield)
                throws java.lang.IndexOutOfBoundsException
Method addCGfield

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

addCGuses

public void addCGuses(CGuses vCGuses)
               throws java.lang.IndexOutOfBoundsException
Method addCGuses

Parameters:
vCGuses -
Throws:
java.lang.IndexOutOfBoundsException

addCGuses

public void addCGuses(int index,
                      CGuses vCGuses)
               throws java.lang.IndexOutOfBoundsException
Method addCGuses

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

deleteAbstract

public void deleteAbstract()
Method deleteAbstract


deleteDeletable

public void deleteDeletable()
Method deleteDeletable


deleteUnique

public void deleteUnique()
Method deleteUnique


enumerateCGfield

public java.util.Enumeration enumerateCGfield()
Method enumerateCGfield

Returns:
Enumeration

enumerateCGuses

public java.util.Enumeration enumerateCGuses()
Method enumerateCGuses

Returns:
Enumeration

getAbstract

public boolean getAbstract()
Returns the value of field 'abstract'.

Returns:
boolean

getCGdefault

public CGdefault getCGdefault()
Returns the value of field 'CGdefault'.

Returns:
CGdefault

getCGdocumentation

public java.lang.String getCGdocumentation()
Returns the value of field 'CGdocumentation'.

Returns:
String

getCGfield

public CGfield getCGfield(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getCGfield

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

getCGfield

public CGfield[] getCGfield()
Method getCGfield

Returns:
CGfield

getCGfieldCount

public int getCGfieldCount()
Method getCGfieldCount

Returns:
int

getCGuses

public CGuses getCGuses(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getCGuses

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

getCGuses

public CGuses[] getCGuses()
Method getCGuses

Returns:
CGuses

getCGusesCount

public int getCGusesCount()
Method getCGusesCount

Returns:
int

getDeletable

public boolean getDeletable()
Returns the value of field 'deletable'.

Returns:
boolean

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

getParent

public java.lang.String getParent()
Returns the value of field 'parent'.

Returns:
String

getUnique

public boolean getUnique()
Returns the value of field 'unique'.

Returns:
boolean

hasAbstract

public boolean hasAbstract()
Method hasAbstract

Returns:
boolean

hasDeletable

public boolean hasDeletable()
Method hasDeletable

Returns:
boolean

hasUnique

public boolean hasUnique()
Method hasUnique

Returns:
boolean

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

removeAllCGfield

public void removeAllCGfield()
Method removeAllCGfield


removeAllCGuses

public void removeAllCGuses()
Method removeAllCGuses


removeCGfield

public CGfield removeCGfield(int index)
Method removeCGfield

Parameters:
index -
Returns:
CGfield

removeCGuses

public CGuses removeCGuses(int index)
Method removeCGuses

Parameters:
index -
Returns:
CGuses

setAbstract

public void setAbstract(boolean _abstract)
Sets the value of field 'abstract'.

Parameters:
_abstract -

setCGdefault

public void setCGdefault(CGdefault CGdefault)
Sets the value of field 'CGdefault'.

Parameters:
CGdefault - the value of field 'CGdefault'.

setCGdocumentation

public void setCGdocumentation(java.lang.String CGdocumentation)
Sets the value of field 'CGdocumentation'.

Parameters:
CGdocumentation - the value of field 'CGdocumentation'.

setCGfield

public void setCGfield(int index,
                       CGfield vCGfield)
                throws java.lang.IndexOutOfBoundsException
Method setCGfield

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

setCGfield

public void setCGfield(CGfield[] CGfieldArray)
Method setCGfield

Parameters:
CGfieldArray -

setCGuses

public void setCGuses(int index,
                      CGuses vCGuses)
               throws java.lang.IndexOutOfBoundsException
Method setCGuses

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

setCGuses

public void setCGuses(CGuses[] CGusesArray)
Method setCGuses

Parameters:
CGusesArray -

setDeletable

public void setDeletable(boolean deletable)
Sets the value of field 'deletable'.

Parameters:
deletable - the value of field 'deletable'.

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setParent

public void setParent(java.lang.String parent)
Sets the value of field 'parent'.

Parameters:
parent - the value of field 'parent'.

setUnique

public void setUnique(boolean unique)
Sets the value of field 'unique'.

Parameters:
unique - the value of field 'unique'.

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