public class PickListDefinitions extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
PickListDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
addPickListDefinition(int index,
PickListDefinition vPickListDefinition) |
void |
addPickListDefinition(PickListDefinition vPickListDefinition) |
java.util.Enumeration<? extends PickListDefinition> |
enumeratePickListDefinition()
Method enumeratePickListDefinition.
|
Mappings |
getMappings()
Returns the value of field 'mappings'.
|
PickListDefinition[] |
getPickListDefinition()
Method getPickListDefinition.Returns the contents of the
collection in an Array.
|
PickListDefinition |
getPickListDefinition(int index)
Method getPickListDefinition.
|
java.util.List<PickListDefinition> |
getPickListDefinitionAsReference()
Method getPickListDefinitionAsReference.Returns a reference
to '_pickListDefinitionList'.
|
int |
getPickListDefinitionCount()
Method getPickListDefinitionCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends PickListDefinition> |
iteratePickListDefinition()
Method iteratePickListDefinition.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllPickListDefinition() |
boolean |
removePickListDefinition(PickListDefinition vPickListDefinition)
Method removePickListDefinition.
|
PickListDefinition |
removePickListDefinitionAt(int index)
Method removePickListDefinitionAt.
|
void |
setMappings(Mappings mappings)
Sets the value of field 'mappings'.
|
void |
setPickListDefinition(int index,
PickListDefinition vPickListDefinition) |
void |
setPickListDefinition(java.util.List<PickListDefinition> vPickListDefinitionList)
Sets the value of '_pickListDefinitionList' by copying the
given Vector.
|
void |
setPickListDefinition(PickListDefinition[] vPickListDefinitionArray) |
void |
setPickListDefinitionAsReference(java.util.List<PickListDefinition> pickListDefinitionList)
Deprecated.
|
static PickListDefinitions |
unmarshalPickListDefinitions(java.io.Reader reader)
Method unmarshalPickListDefinitions.
|
void |
validate() |
getParent, setParent
public void addPickListDefinition(PickListDefinition vPickListDefinition) throws java.lang.IndexOutOfBoundsException
vPickListDefinition
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPickListDefinition(int index, PickListDefinition vPickListDefinition) throws java.lang.IndexOutOfBoundsException
index
- vPickListDefinition
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends PickListDefinition> enumeratePickListDefinition()
public Mappings getMappings()
public PickListDefinition getPickListDefinition(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic PickListDefinition[] getPickListDefinition()
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 java.util.List<PickListDefinition> getPickListDefinitionAsReference()
public int getPickListDefinitionCount()
public boolean isValid()
public java.util.Iterator<? extends PickListDefinition> iteratePickListDefinition()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllPickListDefinition()
public boolean removePickListDefinition(PickListDefinition vPickListDefinition)
vPickListDefinition
- public PickListDefinition removePickListDefinitionAt(int index)
index
- public void setMappings(Mappings mappings)
mappings
- the value of field 'mappings'.public void setPickListDefinition(int index, PickListDefinition vPickListDefinition) throws java.lang.IndexOutOfBoundsException
index
- vPickListDefinition
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPickListDefinition(PickListDefinition[] vPickListDefinitionArray)
vPickListDefinitionArray
- public void setPickListDefinition(java.util.List<PickListDefinition> vPickListDefinitionList)
vPickListDefinitionList
- the Vector to copy.public void setPickListDefinitionAsReference(java.util.List<PickListDefinition> pickListDefinitionList)
pickListDefinitionList
- the Vector to set.public static PickListDefinitions unmarshalPickListDefinitions(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema