|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.dtsrpc.client.TreeNode
gov.nih.nci.dtsrpc.client.Concept
A Concept is the main terminology element.
| Constructor Summary | |
Concept()
Constructs a Concept object and initializes it. |
|
Concept(java.lang.String name,
int id,
java.lang.String code,
int namespaceId)
Constructor |
|
| Method Summary | |
void |
addAssociation(ConceptAssociation association)
Adds an Inverse ConceptAssocation |
void |
addAssociation(java.lang.String name,
java.lang.String value)
Adds a ConceptAssocation |
void |
addInverseAssociation(ConceptAssociation association)
Adds an Inverse ConceptAssocation |
void |
addInverseAssociation(java.lang.String name,
java.lang.String value)
Adds an Inverse ConceptAssocation |
void |
addInverseRole(Role role)
Adds an inverse Role. |
void |
addInverseRole(java.lang.String name,
java.lang.String value)
Adds the specific inverse role to the Concept. |
void |
addProperty(Property property)
Adds a Property |
void |
addProperty(java.lang.String name,
java.lang.String value)
Adds the specific property to the Concept. |
void |
addRole(Role role)
Adds a Role |
void |
addRole(java.lang.String name,
java.lang.String value)
Adds a Role |
java.util.Vector |
getAssociationCollection()
Gets assocations of the Concept. |
java.util.Vector |
getAssociations()
Gets assocations of the Concept. |
java.lang.String |
getCode()
Gets the code of the Concept. |
ConceptAssociation[] |
getFetchedConceptAssociations()
Gets fetched associations |
java.lang.String[] |
getFetchedConceptAssociationValues(java.lang.String associationName)
Gets fetched concept association values |
ConceptAssociation[] |
getFetchedInverseConceptAssociations()
Gets fetched associations |
java.lang.String[] |
getFetchedInverseConceptAssociationValues(java.lang.String associationName)
Gets fetched concept association values |
Role[] |
getFetchedinverseRoles()
Gets fetched inverse roles |
java.lang.String[] |
getFetchedinverseRoleValues(java.lang.String roleName)
Gets fetched inverse role values |
Property[] |
getFetchedProperties()
Gets fetched properties. |
java.lang.String[] |
getFetchedPropertyValues(java.lang.String propertyName)
Gets fetched property values |
Role[] |
getFetchedRoles()
Gets fetched roles |
java.lang.String[] |
getFetchedRoleValues(java.lang.String roleName)
Gets fetched concept associations |
java.lang.Boolean |
getHasChildren()
Gets the value of hasChildren. |
java.lang.Boolean |
getHasParents()
Gets the value of hasParents. |
int |
getId()
Gets the id of the Concept. |
java.util.Vector |
getInverseAssociationCollection()
Gets assocations of the Concept. |
java.util.Vector |
getInverseAssociations()
Gets assocations of the Concept. |
java.util.Vector |
getInverseRoleCollection()
Gets inverse roles of the Concept. |
java.util.Vector |
getInverseRoles()
Gets inverse roles of the Concept. |
java.lang.Boolean |
getIsRetired()
Gets the value of isRetired. |
java.lang.String |
getName()
Gets the name of the Concept. |
int |
getNamespaceId()
Gets the namespaceId of the Concept. |
java.util.Vector |
getProperties()
Gets properties of the Concept. |
java.util.Vector |
getPropertyCollection()
Gets properties of the Concept. |
java.util.Vector |
getRoleCollection()
Gets roles of the Concept. |
java.util.Vector |
getRoles()
Gets roles of the Concept. |
TreeNode |
getTreeNode()
Gets tree node. |
void |
setAssociationCollection(java.util.Vector associations)
Assigns value to associations. |
void |
setCode(java.lang.String code)
Assigns code value |
void |
setCode(TreeNode treenode)
Assigns tree node |
void |
setHasChildren(java.lang.Boolean hasChildren)
Sets a value to hasChildren. |
void |
setHasParents(java.lang.Boolean hasParents)
Sets a value to hasParents. |
void |
setId(int id)
Assigns id value |
void |
setInverseAssociationCollection(java.util.Vector associations)
Assigns value to inverseAssociations. |
void |
setInverseRoleCollection(java.util.Vector inverseroles)
Assigns value to inverseroles. |
void |
setIsRetired(java.lang.Boolean isRetired)
Sets a value to isRetired. |
void |
setName(java.lang.String name)
Assigns nameid value |
void |
setNamespaceId(int namespaceId)
Assigns namespaceIdid value |
void |
setPropertyCollection(java.util.Vector properties)
Assigns value to properties. |
void |
setRoleCollection(java.util.Vector roles)
Assigns value to roles. |
void |
setTreeNode(TreeNode treenode)
Assigns value to treenode. |
org.w3c.dom.Document |
toDOM()
Gets a XML Document representation of a concept object. |
java.lang.String |
toString()
Gets a String representation of the concept object. |
java.lang.String |
toXML()
Gets the XML representation of the concept object. |
| Methods inherited from class gov.nih.nci.dtsrpc.client.TreeNode |
addLink, getIsA, getLinks, getTraverseDown, setIsA, setLinks, setTraverseDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Concept()
public Concept(java.lang.String name,
int id,
java.lang.String code,
int namespaceId)
name - concept nameid - concept idcode - concept codenamespaceId - namespace id| Method Detail |
public void setCode(TreeNode treenode)
treenode - an instance of TreeNodepublic void setCode(java.lang.String code)
code - concept codepublic void setId(int id)
id - concept idpublic void setName(java.lang.String name)
setName in class TreeNodename - concept namepublic void setNamespaceId(int namespaceId)
namespaceId - namespace id
public void addProperty(java.lang.String name,
java.lang.String value)
name - the Property name.value - the Property value.public void addProperty(Property property)
property - a Property instance
public void addRole(java.lang.String name,
java.lang.String value)
name - the Role name.value - the Role value.public void addRole(Role role)
role - a Role instance
public void addAssociation(java.lang.String name,
java.lang.String value)
name - the ConceptAssocation name.value - the ConceptAssocation value.public void addAssociation(ConceptAssociation association)
association - a ConceptAssocation instance
public void addInverseAssociation(java.lang.String name,
java.lang.String value)
name - the ConceptAssocation name.value - the ConceptAssocation value.public void addInverseAssociation(ConceptAssociation association)
association - a ConceptAssocation instance
public void addInverseRole(java.lang.String name,
java.lang.String value)
name - the Role name.value - the Role value.public void addInverseRole(Role role)
role - an inverse Rolepublic void setRoleCollection(java.util.Vector roles)
roles - a vector of Role objectspublic void setPropertyCollection(java.util.Vector properties)
properties - a vector of Property objectspublic void setInverseRoleCollection(java.util.Vector inverseroles)
inverseroles - a vector of Role objectspublic void setAssociationCollection(java.util.Vector associations)
associations - a vector of Association objectspublic void setInverseAssociationCollection(java.util.Vector associations)
associations - a vector of Association objectspublic void setTreeNode(TreeNode treenode)
treenode - a TreeNode objectpublic void setHasParents(java.lang.Boolean hasParents)
hasParents - a Boolean value indicating whether the concept has any superconceptpublic void setHasChildren(java.lang.Boolean hasChildren)
hasChildren - a Boolean value indicating whether the concept has any subconceptpublic void setIsRetired(java.lang.Boolean isRetired)
isRetired - a Boolean value indicating whether the concept has been reetiredpublic java.lang.String getName()
getName in class TreeNodepublic int getId()
public java.lang.String getCode()
public int getNamespaceId()
public java.util.Vector getProperties()
public java.util.Vector getPropertyCollection()
public java.util.Vector getRoles()
public java.util.Vector getRoleCollection()
public java.util.Vector getAssociations()
public java.util.Vector getAssociationCollection()
public java.util.Vector getInverseAssociations()
public java.util.Vector getInverseAssociationCollection()
public java.util.Vector getInverseRoles()
public java.util.Vector getInverseRoleCollection()
public Property[] getFetchedProperties()
public java.lang.String[] getFetchedPropertyValues(java.lang.String propertyName)
propertyName - a specific property name
public Role[] getFetchedRoles()
public java.lang.String[] getFetchedRoleValues(java.lang.String roleName)
roleName - a specific role name
public Role[] getFetchedinverseRoles()
public java.lang.String[] getFetchedinverseRoleValues(java.lang.String roleName)
roleName - a specific role name
public ConceptAssociation[] getFetchedConceptAssociations()
public ConceptAssociation[] getFetchedInverseConceptAssociations()
public TreeNode getTreeNode()
public java.lang.String[] getFetchedConceptAssociationValues(java.lang.String associationName)
associationName - a specific ConceptAssociation name (i.e., ConceptAssociation type)
public java.lang.String[] getFetchedInverseConceptAssociationValues(java.lang.String associationName)
associationName - a specific ConceptAssociation name (i.e., ConceptAssociation type)
public java.lang.Boolean getHasParents()
public java.lang.Boolean getHasChildren()
public java.lang.Boolean getIsRetired()
public java.lang.String toXML()
public java.lang.String toString()
toString in class TreeNodepublic org.w3c.dom.Document toDOM()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||