Class MappingRoot.
addClassMapping
public void addClassMapping(int index,
ClassMapping vClassMapping)
throws java.lang.IndexOutOfBoundsException
addClassMapping
public void addClassMapping(ClassMapping vClassMapping)
throws java.lang.IndexOutOfBoundsException
addFieldHandlerDef
public void addFieldHandlerDef(int index,
FieldHandlerDef vFieldHandlerDef)
throws java.lang.IndexOutOfBoundsException
index
- vFieldHandlerDef
-
addFieldHandlerDef
public void addFieldHandlerDef(FieldHandlerDef vFieldHandlerDef)
throws java.lang.IndexOutOfBoundsException
addInclude
public void addInclude(int index,
Include vInclude)
throws java.lang.IndexOutOfBoundsException
addInclude
public void addInclude(Include vInclude)
throws java.lang.IndexOutOfBoundsException
addKeyGeneratorDef
public void addKeyGeneratorDef(int index,
KeyGeneratorDef vKeyGeneratorDef)
throws java.lang.IndexOutOfBoundsException
index
- vKeyGeneratorDef
-
addKeyGeneratorDef
public void addKeyGeneratorDef(KeyGeneratorDef vKeyGeneratorDef)
throws java.lang.IndexOutOfBoundsException
enumerateClassMapping
public java.util.Enumeration enumerateClassMapping()
Method enumerateClassMapping.
- an Enumeration over all possible elements of this
collection
enumerateFieldHandlerDef
public java.util.Enumeration enumerateFieldHandlerDef()
Method enumerateFieldHandlerDef.
- an Enumeration over all possible elements of this
collection
enumerateInclude
public java.util.Enumeration enumerateInclude()
Method enumerateInclude.
- an Enumeration over all possible elements of this
collection
enumerateKeyGeneratorDef
public java.util.Enumeration enumerateKeyGeneratorDef()
Method enumerateKeyGeneratorDef.
- an Enumeration over all possible elements of this
collection
getClassMapping
public ClassMapping[] getClassMapping()
Method getClassMapping.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
getClassMapping
public ClassMapping getClassMapping(int index)
throws java.lang.IndexOutOfBoundsException
Method getClassMapping.
- the value of the
org.exolab.castor.mapping.xml.ClassMapping at the given index
getClassMappingCount
public int getClassMappingCount()
Method getClassMappingCount.
- the size of this collection
getDescription
public java.lang.String getDescription()
Returns the value of field 'description'.
- the value of field 'Description'.
getFieldHandlerDef
public FieldHandlerDef[] getFieldHandlerDef()
Method getFieldHandlerDef.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
getFieldHandlerDef
public FieldHandlerDef getFieldHandlerDef(int index)
throws java.lang.IndexOutOfBoundsException
Method getFieldHandlerDef.
- the value of the
org.exolab.castor.mapping.xml.FieldHandlerDef at the given
index
getFieldHandlerDefCount
public int getFieldHandlerDefCount()
Method getFieldHandlerDefCount.
- the size of this collection
getInclude
public Include[] getInclude()
Method getInclude.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
getInclude
public Include getInclude(int index)
throws java.lang.IndexOutOfBoundsException
Method getInclude.
- the value of the
org.exolab.castor.mapping.xml.Include at the given index
getIncludeCount
public int getIncludeCount()
Method getIncludeCount.
- the size of this collection
getKeyGeneratorDef
public KeyGeneratorDef[] getKeyGeneratorDef()
Method getKeyGeneratorDef.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
getKeyGeneratorDef
public KeyGeneratorDef getKeyGeneratorDef(int index)
throws java.lang.IndexOutOfBoundsException
Method getKeyGeneratorDef.
- the value of the
org.exolab.castor.mapping.xml.KeyGeneratorDef at the given
index
getKeyGeneratorDefCount
public int getKeyGeneratorDefCount()
Method getKeyGeneratorDefCount.
- the size of this collection
isValid
public boolean isValid()
Method isValid.
- true if this object is valid according to the schema
iterateClassMapping
public java.util.Iterator iterateClassMapping()
Method iterateClassMapping.
- an Iterator over all possible elements in this
collection
iterateFieldHandlerDef
public java.util.Iterator iterateFieldHandlerDef()
Method iterateFieldHandlerDef.
- an Iterator over all possible elements in this
collection
iterateInclude
public java.util.Iterator iterateInclude()
Method iterateInclude.
- an Iterator over all possible elements in this
collection
iterateKeyGeneratorDef
public java.util.Iterator iterateKeyGeneratorDef()
Method iterateKeyGeneratorDef.
- an Iterator over all possible elements in this
collection
removeAllClassMapping
public void removeAllClassMapping()
removeAllFieldHandlerDef
public void removeAllFieldHandlerDef()
removeAllInclude
public void removeAllInclude()
removeAllKeyGeneratorDef
public void removeAllKeyGeneratorDef()
removeClassMapping
public boolean removeClassMapping(ClassMapping vClassMapping)
Method removeClassMapping.
- true if the object was removed from the collection.
removeClassMappingAt
public ClassMapping removeClassMappingAt(int index)
Method removeClassMappingAt.
- the element removed from the collection
removeFieldHandlerDef
public boolean removeFieldHandlerDef(FieldHandlerDef vFieldHandlerDef)
Method removeFieldHandlerDef.
- true if the object was removed from the collection.
removeFieldHandlerDefAt
public FieldHandlerDef removeFieldHandlerDefAt(int index)
Method removeFieldHandlerDefAt.
- the element removed from the collection
removeInclude
public boolean removeInclude(Include vInclude)
Method removeInclude.
- true if the object was removed from the collection.
removeIncludeAt
public Include removeIncludeAt(int index)
Method removeIncludeAt.
- the element removed from the collection
removeKeyGeneratorDef
public boolean removeKeyGeneratorDef(KeyGeneratorDef vKeyGeneratorDef)
Method removeKeyGeneratorDef.
- true if the object was removed from the collection.
removeKeyGeneratorDefAt
public KeyGeneratorDef removeKeyGeneratorDefAt(int index)
Method removeKeyGeneratorDefAt.
- the element removed from the collection
setClassMapping
public void setClassMapping(int index,
ClassMapping vClassMapping)
throws java.lang.IndexOutOfBoundsException
setClassMapping
public void setClassMapping(ClassMapping[] vClassMappingArray)
setDescription
public void setDescription(java.lang.String description)
Sets the value of field 'description'.
description
- the value of field 'description'.
setFieldHandlerDef
public void setFieldHandlerDef(int index,
FieldHandlerDef vFieldHandlerDef)
throws java.lang.IndexOutOfBoundsException
index
- vFieldHandlerDef
-
setFieldHandlerDef
public void setFieldHandlerDef(FieldHandlerDef[] vFieldHandlerDefArray)
setInclude
public void setInclude(int index,
Include vInclude)
throws java.lang.IndexOutOfBoundsException
setInclude
public void setInclude(Include[] vIncludeArray)
setKeyGeneratorDef
public void setKeyGeneratorDef(int index,
KeyGeneratorDef vKeyGeneratorDef)
throws java.lang.IndexOutOfBoundsException
index
- vKeyGeneratorDef
-
setKeyGeneratorDef
public void setKeyGeneratorDef(KeyGeneratorDef[] vKeyGeneratorDefArray)