com.mrami.libre.ClassGenerator.input
Class CGmanagerClassType

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

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

A type for elements describing manager classes. They hold a minimum of information (usually none, or only state) and know only logic

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

Constructor Summary
CGmanagerClassType()
           
 
Method Summary
 void addCGmethod(CGmethod vCGmethod)
          Method addCGmethod
 void addCGmethod(int index, CGmethod vCGmethod)
          Method addCGmethod
 java.util.Enumeration enumerateCGmethod()
          Method enumerateCGmethod
 java.lang.String getCGdocumentation()
          Returns the value of field 'CGdocumentation'.
 CGmethod[] getCGmethod()
          Method getCGmethod
 CGmethod getCGmethod(int index)
          Method getCGmethod
 int getCGmethodCount()
          Method getCGmethodCount
 java.lang.String getName()
          Returns the value of field 'name'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllCGmethod()
          Method removeAllCGmethod
 CGmethod removeCGmethod(int index)
          Method removeCGmethod
 void setCGdocumentation(java.lang.String CGdocumentation)
          Sets the value of field 'CGdocumentation'.
 void setCGmethod(CGmethod[] CGmethodArray)
          Method setCGmethod
 void setCGmethod(int index, CGmethod vCGmethod)
          Method setCGmethod
 void setName(java.lang.String name)
          Sets the value of field 'name'.
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

CGmanagerClassType

public CGmanagerClassType()
Method Detail

addCGmethod

public void addCGmethod(CGmethod vCGmethod)
                 throws java.lang.IndexOutOfBoundsException
Method addCGmethod

Parameters:
vCGmethod -
Throws:
java.lang.IndexOutOfBoundsException

addCGmethod

public void addCGmethod(int index,
                        CGmethod vCGmethod)
                 throws java.lang.IndexOutOfBoundsException
Method addCGmethod

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

enumerateCGmethod

public java.util.Enumeration enumerateCGmethod()
Method enumerateCGmethod

Returns:
Enumeration

getCGdocumentation

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

Returns:
String

getCGmethod

public CGmethod getCGmethod(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getCGmethod

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

getCGmethod

public CGmethod[] getCGmethod()
Method getCGmethod

Returns:
CGmethod

getCGmethodCount

public int getCGmethodCount()
Method getCGmethodCount

Returns:
int

getName

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

Returns:
String

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

removeAllCGmethod

public void removeAllCGmethod()
Method removeAllCGmethod


removeCGmethod

public CGmethod removeCGmethod(int index)
Method removeCGmethod

Parameters:
index -
Returns:
CGmethod

setCGdocumentation

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

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

setCGmethod

public void setCGmethod(int index,
                        CGmethod vCGmethod)
                 throws java.lang.IndexOutOfBoundsException
Method setCGmethod

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

setCGmethod

public void setCGmethod(CGmethod[] CGmethodArray)
Method setCGmethod

Parameters:
CGmethodArray -

setName

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

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

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