|
|||||||||
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.REST.valueSets.ValueDomainDirectory
public class ValueDomainDirectory
A directory of value domains known to the service
Constructor Summary | |
---|---|
ValueDomainDirectory()
|
Method Summary | |
---|---|
void |
addEntry(int index,
ValueDomainDirectoryEntry vEntry)
|
void |
addEntry(ValueDomainDirectoryEntry vEntry)
|
java.util.Enumeration<? extends ValueDomainDirectoryEntry> |
enumerateEntry()
Method enumerateEntry. |
Continuation |
getContinuation()
Returns the value of field 'continuation'. |
ValueDomainDirectoryEntry[] |
getEntry()
Method getEntry.Returns the contents of the collection in an Array. |
ValueDomainDirectoryEntry |
getEntry(int index)
Method getEntry. |
java.util.List<ValueDomainDirectoryEntry> |
getEntryAsReference()
Method getEntryAsReference.Returns a reference to '_entryList'. |
int |
getEntryCount()
Method getEntryCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends ValueDomainDirectoryEntry> |
iterateEntry()
Method iterateEntry. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllEntry()
|
boolean |
removeEntry(ValueDomainDirectoryEntry vEntry)
Method removeEntry. |
ValueDomainDirectoryEntry |
removeEntryAt(int index)
Method removeEntryAt. |
void |
setContinuation(Continuation continuation)
Sets the value of field 'continuation'. |
void |
setEntry(int index,
ValueDomainDirectoryEntry vEntry)
|
void |
setEntry(java.util.List<ValueDomainDirectoryEntry> vEntryList)
Sets the value of '_entryList' by copying the given Vector. |
void |
setEntry(ValueDomainDirectoryEntry[] vEntryArray)
|
void |
setEntryAsReference(java.util.List<ValueDomainDirectoryEntry> entryList)
Deprecated. |
static ValueDomainDirectory |
unmarshalValueDomainDirectory(java.io.Reader reader)
Method unmarshalValueDomainDirectory. |
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 ValueDomainDirectory()
Method Detail |
---|
public void addEntry(ValueDomainDirectoryEntry vEntry) throws java.lang.IndexOutOfBoundsException
vEntry
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEntry(int index, ValueDomainDirectoryEntry vEntry) throws java.lang.IndexOutOfBoundsException
index
- vEntry
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends ValueDomainDirectoryEntry> enumerateEntry()
public Continuation getContinuation()
public ValueDomainDirectoryEntry getEntry(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ValueDomainDirectoryEntry[] getEntry()
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<ValueDomainDirectoryEntry> getEntryAsReference()
public int getEntryCount()
public boolean isValid()
public java.util.Iterator<? extends ValueDomainDirectoryEntry> iterateEntry()
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 removeAllEntry()
public boolean removeEntry(ValueDomainDirectoryEntry vEntry)
vEntry
-
public ValueDomainDirectoryEntry removeEntryAt(int index)
index
-
public void setContinuation(Continuation continuation)
continuation
- the value of field 'continuation'.public void setEntry(int index, ValueDomainDirectoryEntry vEntry) throws java.lang.IndexOutOfBoundsException
index
- vEntry
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEntry(ValueDomainDirectoryEntry[] vEntryArray)
vEntryArray
- public void setEntry(java.util.List<ValueDomainDirectoryEntry> vEntryList)
vEntryList
- the Vector to copy.public void setEntryAsReference(java.util.List<ValueDomainDirectoryEntry> entryList)
entryList
- the Vector to set.public static ValueDomainDirectory unmarshalValueDomainDirectory(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 |