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()
Method enumerateImplements.
- an Enumeration over all possible elements of this
collection
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()
Method getImplements.Returns the contents of the collection
in an Array.
Note: Just in case the collection contents
are changing in another thread, we pass a 0-length Array of
the correct type into the API call. This way we
know
that the Array returned is of exactly the correct length.
- this collection as an Array
getImplements
public java.lang.String getImplements(int index)
throws java.lang.IndexOutOfBoundsException
Method getImplements.
- the value of the java.lang.String at the given index
getImplementsCount
public int getImplementsCount()
Method getImplementsCount.
- the size of this collection
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()
Method hasAbstract.
- true if at least one Abstract has been added
hasBound
public boolean hasBound()
Method hasBound.
- true if at least one Bound has been added
hasEquals
public boolean hasEquals()
Method hasEquals.
- true if at least one Equals has been added
hasFinal
public boolean hasFinal()
Method hasFinal.
- true if at least one Final has been added
isAbstract
public boolean isAbstract()
Returns the value of field 'abstract'.
- the value of field 'Abstract'.
isBound
public boolean isBound()
Returns the value of field 'bound'.
- the value of field 'Bound'.
isEquals
public boolean isEquals()
Returns the value of field 'equals'.
- the value of field 'Equals'.
isFinal
public boolean isFinal()
Returns the value of field 'final'.
- the value of field 'Final'.
isValid
public boolean isValid()
Method isValid.
- true if this object is valid according to the schema
iterateImplements
public java.util.Iterator iterateImplements()
Method iterateImplements.
- an Iterator over all possible elements in this
collection
removeAllImplements
public void removeAllImplements()
removeImplements
public boolean removeImplements(java.lang.String vImplements)
Method removeImplements.
- true if the object was removed from the collection.
removeImplementsAt
public java.lang.String removeImplementsAt(int index)
Method removeImplementsAt.
- the element removed from the collection
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[] vImplementsArray)
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'.