|
|||||||||
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.naming.URIMap
org.LexGrid.REST.naming.SupportedHierarchy
public class SupportedHierarchy
A list of associations that can be browsed hierarchically.
Constructor Summary | |
---|---|
SupportedHierarchy()
|
Method Summary | |
---|---|
void |
addAssociationName(AssociationName vAssociationName)
|
void |
addAssociationName(int index,
AssociationName vAssociationName)
|
java.util.Enumeration<? extends AssociationName> |
enumerateAssociationName()
Method enumerateAssociationName. |
AssociationName[] |
getAssociationName()
Method getAssociationName.Returns the contents of the collection in an Array. |
AssociationName |
getAssociationName(int index)
Method getAssociationName. |
java.util.List<AssociationName> |
getAssociationNameAsReference()
Method getAssociationNameAsReference.Returns a reference to '_associationNameList'. |
int |
getAssociationNameCount()
Method getAssociationNameCount. |
java.lang.Boolean |
getIsForwardNavigable()
Returns the value of field 'isForwardNavigable'. |
EntityCode |
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 AssociationName> |
iterateAssociationName()
Method iterateAssociationName. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAssociationName()
|
boolean |
removeAssociationName(AssociationName vAssociationName)
Method removeAssociationName. |
AssociationName |
removeAssociationNameAt(int index)
Method removeAssociationNameAt. |
void |
setAssociationName(AssociationName[] vAssociationNameArray)
|
void |
setAssociationName(int index,
AssociationName vAssociationName)
|
void |
setAssociationName(java.util.List<AssociationName> vAssociationNameList)
Sets the value of '_associationNameList' by copying the given Vector. |
void |
setAssociationNameAsReference(java.util.List<AssociationName> associationNameList)
Deprecated. |
void |
setIsForwardNavigable(java.lang.Boolean isForwardNavigable)
Sets the value of field 'isForwardNavigable'. |
void |
setRootCode(EntityCode rootCode)
Sets the value of field 'rootCode'. |
static SupportedHierarchy |
unmarshalSupportedHierarchy(java.io.Reader reader)
Method unmarshalSupportedHierarchy. |
void |
validate()
|
Methods inherited from class org.LexGrid.REST.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()
Method Detail |
---|
public void addAssociationName(AssociationName vAssociationName) throws java.lang.IndexOutOfBoundsException
vAssociationName
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociationName(int index, AssociationName vAssociationName) throws java.lang.IndexOutOfBoundsException
index
- vAssociationName
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends AssociationName> enumerateAssociationName()
public AssociationName getAssociationName(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationName[] getAssociationName()
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<AssociationName> getAssociationNameAsReference()
public int getAssociationNameCount()
public java.lang.Boolean getIsForwardNavigable()
public EntityCode getRootCode()
public java.lang.Boolean isIsForwardNavigable()
public boolean isValid()
isValid
in class URIMap
public java.util.Iterator<? extends AssociationName> iterateAssociationName()
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 removeAllAssociationName()
public boolean removeAssociationName(AssociationName vAssociationName)
vAssociationName
-
public AssociationName removeAssociationNameAt(int index)
index
-
public void setAssociationName(int index, AssociationName vAssociationName) throws java.lang.IndexOutOfBoundsException
index
- vAssociationName
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociationName(AssociationName[] vAssociationNameArray)
vAssociationNameArray
- public void setAssociationName(java.util.List<AssociationName> vAssociationNameList)
vAssociationNameList
- the Vector to copy.public void setAssociationNameAsReference(java.util.List<AssociationName> associationNameList)
associationNameList
- the Vector to set.public void setIsForwardNavigable(java.lang.Boolean isForwardNavigable)
isForwardNavigable
- the value of field
'isForwardNavigable'.public void setRootCode(EntityCode 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 |