|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mayo.edu.lgModel.LexGridBase
org.LexGrid.valueSets.ValueSetDefinitions
public class ValueSetDefinitions
A collection of value set definitions.
Constructor Summary | |
---|---|
ValueSetDefinitions()
|
Method Summary | |
---|---|
void |
addValueSetDefinition(int index,
ValueSetDefinition vValueSetDefinition)
|
void |
addValueSetDefinition(ValueSetDefinition vValueSetDefinition)
|
java.util.Enumeration<? extends ValueSetDefinition> |
enumerateValueSetDefinition()
Method enumerateValueSetDefinition. |
Mappings |
getMappings()
Returns the value of field 'mappings'. |
ValueSetDefinition[] |
getValueSetDefinition()
Method getValueSetDefinition.Returns the contents of the collection in an Array. |
ValueSetDefinition |
getValueSetDefinition(int index)
Method getValueSetDefinition. |
java.util.List<ValueSetDefinition> |
getValueSetDefinitionAsReference()
Method getValueSetDefinitionAsReference.Returns a reference to '_valueSetDefinitionList'. |
int |
getValueSetDefinitionCount()
Method getValueSetDefinitionCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends ValueSetDefinition> |
iterateValueSetDefinition()
Method iterateValueSetDefinition. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllValueSetDefinition()
|
boolean |
removeValueSetDefinition(ValueSetDefinition vValueSetDefinition)
Method removeValueSetDefinition. |
ValueSetDefinition |
removeValueSetDefinitionAt(int index)
Method removeValueSetDefinitionAt. |
void |
setMappings(Mappings mappings)
Sets the value of field 'mappings'. |
void |
setValueSetDefinition(int index,
ValueSetDefinition vValueSetDefinition)
|
void |
setValueSetDefinition(java.util.List<ValueSetDefinition> vValueSetDefinitionList)
Sets the value of '_valueSetDefinitionList' by copying the given Vector. |
void |
setValueSetDefinition(ValueSetDefinition[] vValueSetDefinitionArray)
|
void |
setValueSetDefinitionAsReference(java.util.List<ValueSetDefinition> valueSetDefinitionList)
Deprecated. |
static ValueSetDefinitions |
unmarshalValueSetDefinitions(java.io.Reader reader)
Method unmarshalValueSetDefinitions. |
void |
validate()
|
Methods inherited from class org.mayo.edu.lgModel.LexGridBase |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueSetDefinitions()
Method Detail |
---|
public void addValueSetDefinition(ValueSetDefinition vValueSetDefinition) throws java.lang.IndexOutOfBoundsException
vValueSetDefinition
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addValueSetDefinition(int index, ValueSetDefinition vValueSetDefinition) throws java.lang.IndexOutOfBoundsException
index
- vValueSetDefinition
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends ValueSetDefinition> enumerateValueSetDefinition()
public Mappings getMappings()
public ValueSetDefinition getValueSetDefinition(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ValueSetDefinition[] getValueSetDefinition()
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<ValueSetDefinition> getValueSetDefinitionAsReference()
public int getValueSetDefinitionCount()
public boolean isValid()
public java.util.Iterator<? extends ValueSetDefinition> iterateValueSetDefinition()
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 removeAllValueSetDefinition()
public boolean removeValueSetDefinition(ValueSetDefinition vValueSetDefinition)
vValueSetDefinition
-
public ValueSetDefinition removeValueSetDefinitionAt(int index)
index
-
public void setMappings(Mappings mappings)
mappings
- the value of field 'mappings'.public void setValueSetDefinition(int index, ValueSetDefinition vValueSetDefinition) throws java.lang.IndexOutOfBoundsException
index
- vValueSetDefinition
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setValueSetDefinition(ValueSetDefinition[] vValueSetDefinitionArray)
vValueSetDefinitionArray
- public void setValueSetDefinition(java.util.List<ValueSetDefinition> vValueSetDefinitionList)
vValueSetDefinitionList
- the Vector to copy.public void setValueSetDefinitionAsReference(java.util.List<ValueSetDefinition> valueSetDefinitionList)
valueSetDefinitionList
- the Vector to set.public static ValueSetDefinitions unmarshalValueSetDefinitions(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 |