|
|||||||||
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.naming.URIMap
org.LexGrid.naming.SupportedHierarchy
public class SupportedHierarchy
A list of associations that can be browsed hierarchically.
Constructor Summary | |
---|---|
SupportedHierarchy()
|
|
SupportedHierarchy(java.lang.String defaultValue)
|
Method Summary | |
---|---|
void |
addAssociationNames(int index,
java.lang.String vAssociationNames)
|
void |
addAssociationNames(java.lang.String vAssociationNames)
|
java.util.Enumeration<? extends java.lang.String> |
enumerateAssociationNames()
Method enumerateAssociationNames. |
java.lang.String[] |
getAssociationNames()
Method getAssociationNames.Returns the contents of the collection in an Array. |
java.lang.String |
getAssociationNames(int index)
Method getAssociationNames. |
java.util.List<java.lang.String> |
getAssociationNamesAsReference()
Method getAssociationNamesAsReference.Returns a reference to '_associationNamesList'. |
int |
getAssociationNamesCount()
Method getAssociationNamesCount. |
java.lang.String |
getContent()
Returns the value of field 'content'. |
java.lang.Boolean |
getIsForwardNavigable()
Returns the value of field 'isForwardNavigable'. |
java.lang.String |
getRootCode()
Returns the value of field 'rootCode'. |
java.lang.Boolean |
isIsForwardNavigable()
Returns the value of field 'isForwardNavigable'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends java.lang.String> |
iterateAssociationNames()
Method iterateAssociationNames. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAssociationNames()
|
boolean |
removeAssociationNames(java.lang.String vAssociationNames)
Method removeAssociationNames. |
java.lang.String |
removeAssociationNamesAt(int index)
Method removeAssociationNamesAt. |
void |
setAssociationNames(int index,
java.lang.String vAssociationNames)
|
void |
setAssociationNames(java.util.List<java.lang.String> vAssociationNamesList)
Sets the value of '_associationNamesList' by copying the given Vector. |
void |
setAssociationNames(java.lang.String[] vAssociationNamesArray)
|
void |
setAssociationNamesAsReference(java.util.List<java.lang.String> associationNamesList)
Deprecated. |
void |
setContent(java.lang.String content)
Sets the value of field 'content'. |
void |
setIsForwardNavigable(java.lang.Boolean isForwardNavigable)
Sets the value of field 'isForwardNavigable'. |
void |
setRootCode(java.lang.String rootCode)
Sets the value of field 'rootCode'. |
static SupportedHierarchy |
unmarshalSupportedHierarchy(java.io.Reader reader)
Method unmarshalSupportedHierarchy. |
void |
validate()
|
Methods inherited from class org.LexGrid.naming.URIMap |
---|
getLocalId, getUri, setLocalId, setUri, unmarshalURIMap |
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 SupportedHierarchy()
public SupportedHierarchy(java.lang.String defaultValue)
Method Detail |
---|
public void addAssociationNames(java.lang.String vAssociationNames) throws java.lang.IndexOutOfBoundsException
vAssociationNames
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociationNames(int index, java.lang.String vAssociationNames) throws java.lang.IndexOutOfBoundsException
index
- vAssociationNames
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends java.lang.String> enumerateAssociationNames()
public java.lang.String getAssociationNames(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getAssociationNames()
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<java.lang.String> getAssociationNamesAsReference()
public int getAssociationNamesCount()
public java.lang.String getContent()
getContent
in class URIMap
public java.lang.Boolean getIsForwardNavigable()
public java.lang.String getRootCode()
public java.lang.Boolean isIsForwardNavigable()
public boolean isValid()
isValid
in class URIMap
public java.util.Iterator<? extends java.lang.String> iterateAssociationNames()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class URIMap
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
marshal
in class URIMap
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 removeAllAssociationNames()
public boolean removeAssociationNames(java.lang.String vAssociationNames)
vAssociationNames
-
public java.lang.String removeAssociationNamesAt(int index)
index
-
public void setAssociationNames(int index, java.lang.String vAssociationNames) throws java.lang.IndexOutOfBoundsException
index
- vAssociationNames
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociationNames(java.lang.String[] vAssociationNamesArray)
vAssociationNamesArray
- public void setAssociationNames(java.util.List<java.lang.String> vAssociationNamesList)
vAssociationNamesList
- the Vector to copy.public void setAssociationNamesAsReference(java.util.List<java.lang.String> associationNamesList)
associationNamesList
- the Vector to set.public void setContent(java.lang.String content)
setContent
in class URIMap
content
- the value of field 'content'.public void setIsForwardNavigable(java.lang.Boolean isForwardNavigable)
isForwardNavigable
- the value of field
'isForwardNavigable'.public void setRootCode(java.lang.String rootCode)
rootCode
- the value of field 'rootCode'.public static SupportedHierarchy unmarshalSupportedHierarchy(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
validate
in class URIMap
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 |