java.io.Serializable
public class MappingRoot
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
MappingRoot() |
Modifier and Type | Method | Description |
---|---|---|
void |
addClassMapping(int index,
ClassMapping vClassMapping) |
|
void |
addClassMapping(ClassMapping vClassMapping) |
|
void |
addFieldHandlerDef(int index,
FieldHandlerDef vFieldHandlerDef) |
|
void |
addFieldHandlerDef(FieldHandlerDef vFieldHandlerDef) |
|
void |
addInclude(int index,
Include vInclude) |
|
void |
addInclude(Include vInclude) |
|
void |
addKeyGeneratorDef(int index,
KeyGeneratorDef vKeyGeneratorDef) |
|
void |
addKeyGeneratorDef(KeyGeneratorDef vKeyGeneratorDef) |
|
java.util.Enumeration<? extends ClassMapping> |
enumerateClassMapping() |
Method enumerateClassMapping.
|
java.util.Enumeration<? extends FieldHandlerDef> |
enumerateFieldHandlerDef() |
Method enumerateFieldHandlerDef.
|
java.util.Enumeration<? extends Include> |
enumerateInclude() |
Method enumerateInclude.
|
java.util.Enumeration<? extends KeyGeneratorDef> |
enumerateKeyGeneratorDef() |
Method enumerateKeyGeneratorDef.
|
ClassMapping[] |
getClassMapping() |
Method getClassMapping.Returns the contents of the
collection in an Array.
|
ClassMapping |
getClassMapping(int index) |
Method getClassMapping.
|
int |
getClassMappingCount() |
Method getClassMappingCount.
|
java.lang.String |
getDescription() |
Returns the value of field 'description'.
|
FieldHandlerDef[] |
getFieldHandlerDef() |
Method getFieldHandlerDef.Returns the contents of the
collection in an Array.
|
FieldHandlerDef |
getFieldHandlerDef(int index) |
Method getFieldHandlerDef.
|
int |
getFieldHandlerDefCount() |
Method getFieldHandlerDefCount.
|
Include[] |
getInclude() |
Method getInclude.Returns the contents of the collection in
an Array.
|
Include |
getInclude(int index) |
Method getInclude.
|
int |
getIncludeCount() |
Method getIncludeCount.
|
KeyGeneratorDef[] |
getKeyGeneratorDef() |
Method getKeyGeneratorDef.Returns the contents of the
collection in an Array.
|
KeyGeneratorDef |
getKeyGeneratorDef(int index) |
Method getKeyGeneratorDef.
|
int |
getKeyGeneratorDefCount() |
Method getKeyGeneratorDefCount.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator<? extends ClassMapping> |
iterateClassMapping() |
Method iterateClassMapping.
|
java.util.Iterator<? extends FieldHandlerDef> |
iterateFieldHandlerDef() |
Method iterateFieldHandlerDef.
|
java.util.Iterator<? extends Include> |
iterateInclude() |
Method iterateInclude.
|
java.util.Iterator<? extends KeyGeneratorDef> |
iterateKeyGeneratorDef() |
Method iterateKeyGeneratorDef.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllClassMapping() |
|
void |
removeAllFieldHandlerDef() |
|
void |
removeAllInclude() |
|
void |
removeAllKeyGeneratorDef() |
|
boolean |
removeClassMapping(ClassMapping vClassMapping) |
Method removeClassMapping.
|
ClassMapping |
removeClassMappingAt(int index) |
Method removeClassMappingAt.
|
boolean |
removeFieldHandlerDef(FieldHandlerDef vFieldHandlerDef) |
Method removeFieldHandlerDef.
|
FieldHandlerDef |
removeFieldHandlerDefAt(int index) |
Method removeFieldHandlerDefAt.
|
boolean |
removeInclude(Include vInclude) |
Method removeInclude.
|
Include |
removeIncludeAt(int index) |
Method removeIncludeAt.
|
boolean |
removeKeyGeneratorDef(KeyGeneratorDef vKeyGeneratorDef) |
Method removeKeyGeneratorDef.
|
KeyGeneratorDef |
removeKeyGeneratorDefAt(int index) |
Method removeKeyGeneratorDefAt.
|
void |
setClassMapping(int index,
ClassMapping vClassMapping) |
|
void |
setClassMapping(ClassMapping[] vClassMappingArray) |
|
void |
setDescription(java.lang.String description) |
Sets the value of field 'description'.
|
void |
setFieldHandlerDef(int index,
FieldHandlerDef vFieldHandlerDef) |
|
void |
setFieldHandlerDef(FieldHandlerDef[] vFieldHandlerDefArray) |
|
void |
setInclude(int index,
Include vInclude) |
|
void |
setInclude(Include[] vIncludeArray) |
|
void |
setKeyGeneratorDef(int index,
KeyGeneratorDef vKeyGeneratorDef) |
|
void |
setKeyGeneratorDef(KeyGeneratorDef[] vKeyGeneratorDefArray) |
|
static MappingRoot |
unmarshal(java.io.Reader reader) |
Method unmarshal.
|
void |
validate() |
public void addClassMapping(ClassMapping vClassMapping) throws java.lang.IndexOutOfBoundsException
vClassMapping
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addClassMapping(int index, ClassMapping vClassMapping) throws java.lang.IndexOutOfBoundsException
index
- vClassMapping
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addFieldHandlerDef(FieldHandlerDef vFieldHandlerDef) throws java.lang.IndexOutOfBoundsException
vFieldHandlerDef
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addFieldHandlerDef(int index, FieldHandlerDef vFieldHandlerDef) throws java.lang.IndexOutOfBoundsException
index
- vFieldHandlerDef
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addInclude(Include vInclude) throws java.lang.IndexOutOfBoundsException
vInclude
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addInclude(int index, Include vInclude) throws java.lang.IndexOutOfBoundsException
index
- vInclude
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addKeyGeneratorDef(KeyGeneratorDef vKeyGeneratorDef) throws java.lang.IndexOutOfBoundsException
vKeyGeneratorDef
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addKeyGeneratorDef(int index, KeyGeneratorDef vKeyGeneratorDef) throws java.lang.IndexOutOfBoundsException
index
- vKeyGeneratorDef
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends ClassMapping> enumerateClassMapping()
public java.util.Enumeration<? extends FieldHandlerDef> enumerateFieldHandlerDef()
public java.util.Enumeration<? extends Include> enumerateInclude()
public java.util.Enumeration<? extends KeyGeneratorDef> enumerateKeyGeneratorDef()
public ClassMapping getClassMapping(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ClassMapping[] getClassMapping()
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.
public int getClassMappingCount()
public java.lang.String getDescription()
public FieldHandlerDef getFieldHandlerDef(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic FieldHandlerDef[] getFieldHandlerDef()
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.
public int getFieldHandlerDefCount()
public Include getInclude(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Include[] getInclude()
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.
public int getIncludeCount()
public KeyGeneratorDef getKeyGeneratorDef(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic KeyGeneratorDef[] getKeyGeneratorDef()
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.
public int getKeyGeneratorDefCount()
public boolean isValid()
public java.util.Iterator<? extends ClassMapping> iterateClassMapping()
public java.util.Iterator<? extends FieldHandlerDef> iterateFieldHandlerDef()
public java.util.Iterator<? extends Include> iterateInclude()
public java.util.Iterator<? extends KeyGeneratorDef> iterateKeyGeneratorDef()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllClassMapping()
public void removeAllFieldHandlerDef()
public void removeAllInclude()
public void removeAllKeyGeneratorDef()
public boolean removeClassMapping(ClassMapping vClassMapping)
vClassMapping
- public ClassMapping removeClassMappingAt(int index)
index
- public boolean removeFieldHandlerDef(FieldHandlerDef vFieldHandlerDef)
vFieldHandlerDef
- public FieldHandlerDef removeFieldHandlerDefAt(int index)
index
- public boolean removeInclude(Include vInclude)
vInclude
- public Include removeIncludeAt(int index)
index
- public boolean removeKeyGeneratorDef(KeyGeneratorDef vKeyGeneratorDef)
vKeyGeneratorDef
- public KeyGeneratorDef removeKeyGeneratorDefAt(int index)
index
- public void setClassMapping(int index, ClassMapping vClassMapping) throws java.lang.IndexOutOfBoundsException
index
- vClassMapping
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setClassMapping(ClassMapping[] vClassMappingArray)
vClassMappingArray
- public void setDescription(java.lang.String description)
description
- the value of field 'description'.public void setFieldHandlerDef(int index, FieldHandlerDef vFieldHandlerDef) throws java.lang.IndexOutOfBoundsException
index
- vFieldHandlerDef
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setFieldHandlerDef(FieldHandlerDef[] vFieldHandlerDefArray)
vFieldHandlerDefArray
- public void setInclude(int index, Include vInclude) throws java.lang.IndexOutOfBoundsException
index
- vInclude
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setInclude(Include[] vIncludeArray)
vIncludeArray
- public void setKeyGeneratorDef(int index, KeyGeneratorDef vKeyGeneratorDef) throws java.lang.IndexOutOfBoundsException
index
- vKeyGeneratorDef
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setKeyGeneratorDef(KeyGeneratorDef[] vKeyGeneratorDefArray)
vKeyGeneratorDefArray
- public static MappingRoot unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com