|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.valueDomains.ValueDomains
public class ValueDomains
A collection of value domain definitions.
Constructor Summary | |
---|---|
ValueDomains()
|
Method Summary | |
---|---|
void |
addValueDomainDefinition(int index,
ValueDomainDefinition vValueDomainDefinition)
|
void |
addValueDomainDefinition(ValueDomainDefinition vValueDomainDefinition)
|
java.util.Enumeration<ValueDomainDefinition> |
enumerateValueDomainDefinition()
Method enumerateValueDomainDefinition. |
Mappings |
getMappings()
Returns the value of field 'mappings'. |
ValueDomainDefinition[] |
getValueDomainDefinition()
Method getValueDomainDefinition.Returns the contents of the collection in an Array. |
ValueDomainDefinition |
getValueDomainDefinition(int index)
Method getValueDomainDefinition. |
int |
getValueDomainDefinitionCount()
Method getValueDomainDefinitionCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<ValueDomainDefinition> |
iterateValueDomainDefinition()
Method iterateValueDomainDefinition. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllValueDomainDefinition()
|
boolean |
removeValueDomainDefinition(ValueDomainDefinition vValueDomainDefinition)
Method removeValueDomainDefinition. |
ValueDomainDefinition |
removeValueDomainDefinitionAt(int index)
Method removeValueDomainDefinitionAt. |
void |
setMappings(Mappings mappings)
Sets the value of field 'mappings'. |
void |
setValueDomainDefinition(int index,
ValueDomainDefinition vValueDomainDefinition)
|
void |
setValueDomainDefinition(ValueDomainDefinition[] vValueDomainDefinitionArray)
|
static ValueDomains |
unmarshalValueDomains(java.io.Reader reader)
Method unmarshalValueDomains. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueDomains()
Method Detail |
---|
public void addValueDomainDefinition(ValueDomainDefinition vValueDomainDefinition) throws java.lang.IndexOutOfBoundsException
vValueDomainDefinition
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addValueDomainDefinition(int index, ValueDomainDefinition vValueDomainDefinition) throws java.lang.IndexOutOfBoundsException
index
- vValueDomainDefinition
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<ValueDomainDefinition> enumerateValueDomainDefinition()
public Mappings getMappings()
public ValueDomainDefinition getValueDomainDefinition(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ValueDomainDefinition[] getValueDomainDefinition()
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 getValueDomainDefinitionCount()
public boolean isValid()
public java.util.Iterator<ValueDomainDefinition> iterateValueDomainDefinition()
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 marshaling
org.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
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllValueDomainDefinition()
public boolean removeValueDomainDefinition(ValueDomainDefinition vValueDomainDefinition)
vValueDomainDefinition
-
public ValueDomainDefinition removeValueDomainDefinitionAt(int index)
index
-
public void setMappings(Mappings mappings)
mappings
- the value of field 'mappings'.public void setValueDomainDefinition(int index, ValueDomainDefinition vValueDomainDefinition) throws java.lang.IndexOutOfBoundsException
index
- vValueDomainDefinition
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setValueDomainDefinition(ValueDomainDefinition[] vValueDomainDefinitionArray)
vValueDomainDefinitionArray
- public static ValueDomains unmarshalValueDomains(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 marshaling
org.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
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |