This type gathers the needed information to
generate a Java Class
from a binding file. Options such as generating
the equals method,
using wrapper classes for primitives or using
bound properties can
be defined via that element. When defined
locally the options override
the values defined in the castor.properties
file.
addImplements
public void addImplements(int index,
java.lang.String vImplements)
throws java.lang.IndexOutOfBoundsException
addImplements
public void addImplements(java.lang.String vImplements)
throws java.lang.IndexOutOfBoundsException
deleteAbstract
public void deleteAbstract()
deleteBound
public void deleteBound()
deleteEquals
public void deleteEquals()
deleteFinal
public void deleteFinal()
enumerateImplements
public java.util.Enumeration enumerateImplements()
getAbstract
public boolean getAbstract()
Returns the value of field 'abstract'.
- the value of field 'abstract'.
getBound
public boolean getBound()
Returns the value of field 'bound'.
- the value of field 'bound'.
getEquals
public boolean getEquals()
Returns the value of field 'equals'.
- the value of field 'equals'.
getExtends
public java.lang.String getExtends()
Returns the value of field 'extends'.
- the value of field 'extends'.
getFinal
public boolean getFinal()
Returns the value of field 'final'.
- the value of field 'final'.
getImplements
public java.lang.String[] getImplements()
getImplements
public java.lang.String getImplements(int index)
throws java.lang.IndexOutOfBoundsException
getImplementsCount
public int getImplementsCount()
getName
public java.lang.String getName()
Returns the value of field 'name'.
- the value of field 'name'.
getPackage
public java.lang.String getPackage()
Returns the value of field 'package'.
- the value of field 'package'.
hasAbstract
public boolean hasAbstract()
hasBound
public boolean hasBound()
hasEquals
public boolean hasEquals()
hasFinal
public boolean hasFinal()
isValid
public boolean isValid()
removeAllImplements
public void removeAllImplements()
removeImplements
public java.lang.String removeImplements(int index)
setAbstract
public void setAbstract(boolean _abstract)
Sets the value of field 'abstract'.
setBound
public void setBound(boolean bound)
Sets the value of field 'bound'.
bound
- the value of field 'bound'.
setEquals
public void setEquals(boolean equals)
Sets the value of field 'equals'.
equals
- the value of field 'equals'.
setExtends
public void setExtends(java.lang.String _extends)
Sets the value of field 'extends'.
setFinal
public void setFinal(boolean _final)
Sets the value of field 'final'.
setImplements
public void setImplements(int index,
java.lang.String vImplements)
throws java.lang.IndexOutOfBoundsException
setImplements
public void setImplements(java.lang.String[] _implementsArray)
setName
public void setName(java.lang.String name)
Sets the value of field 'name'.
name
- the value of field 'name'.
setPackage
public void setPackage(java.lang.String _package)
Sets the value of field 'package'.