|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.DataModel.Core.CodedNodeReference
public class CodedNodeReference
A reference to an entity in the coding scheme by code, optionally qualified by namespace and type.
Constructor Summary | |
---|---|
CodedNodeReference()
|
Method Summary | |
---|---|
void |
addEntityType(int index,
java.lang.String vEntityType)
|
void |
addEntityType(java.lang.String vEntityType)
|
java.util.Enumeration<java.lang.String> |
enumerateEntityType()
Method enumerateEntityType. |
java.lang.String |
getCode()
Returns the value of field 'code'. |
java.lang.String |
getCodeNamespace()
Returns the value of field 'codeNamespace'. |
java.lang.String |
getCodingSchemeName()
Returns the value of field 'codingSchemeName'. |
java.lang.String[] |
getEntityType()
Method getEntityType.Returns the contents of the collection in an Array. |
java.lang.String |
getEntityType(int index)
Method getEntityType. |
int |
getEntityTypeCount()
Method getEntityTypeCount. |
java.util.Iterator<java.lang.String> |
iterateEntityType()
Method iterateEntityType. |
void |
removeAllEntityType()
|
boolean |
removeEntityType(java.lang.String vEntityType)
Method removeEntityType. |
java.lang.String |
removeEntityTypeAt(int index)
Method removeEntityTypeAt. |
void |
setCode(java.lang.String code)
Sets the value of field 'code'. |
void |
setCodeNamespace(java.lang.String codeNamespace)
Sets the value of field 'codeNamespace'. |
void |
setCodingSchemeName(java.lang.String codingSchemeName)
Sets the value of field 'codingSchemeName'. |
void |
setEntityType(int index,
java.lang.String vEntityType)
|
void |
setEntityType(java.lang.String[] vEntityTypeArray)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodedNodeReference()
Method Detail |
---|
public void addEntityType(java.lang.String vEntityType) throws java.lang.IndexOutOfBoundsException
vEntityType
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEntityType(int index, java.lang.String vEntityType) throws java.lang.IndexOutOfBoundsException
index
- vEntityType
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<java.lang.String> enumerateEntityType()
public java.lang.String getCode()
public java.lang.String getCodeNamespace()
public java.lang.String getCodingSchemeName()
public java.lang.String getEntityType(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getEntityType()
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 getEntityTypeCount()
public java.util.Iterator<java.lang.String> iterateEntityType()
public void removeAllEntityType()
public boolean removeEntityType(java.lang.String vEntityType)
vEntityType
-
public java.lang.String removeEntityTypeAt(int index)
index
-
public void setCode(java.lang.String code)
code
- the value of field 'code'.public void setCodeNamespace(java.lang.String codeNamespace)
codeNamespace
- the value of field 'codeNamespace'.public void setCodingSchemeName(java.lang.String codingSchemeName)
codingSchemeName
- the value of field 'codingSchemeName'public void setEntityType(int index, java.lang.String vEntityType) throws java.lang.IndexOutOfBoundsException
index
- vEntityType
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEntityType(java.lang.String[] vEntityTypeArray)
vEntityTypeArray
-
|
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 |