ie.deri.wsmx.mediation.flora
Class ConceptTree

java.lang.Object
  extended byie.deri.wsmx.mediation.flora.ConceptTree

public class ConceptTree
extends java.lang.Object


Constructor Summary
ConceptTree(AttributeDefinition attr)
           
ConceptTree(java.lang.String conceptName)
           
ConceptTree(java.lang.String conceptName, java.lang.String attributeName)
           
ConceptTree(java.lang.String conceptName, java.lang.String attributeName, java.lang.String instanceName)
           
 
Method Summary
 void addAttributeVariable(AttributeVariable av)
           
 void addConceptTree(ConceptTree ct)
           
 java.lang.String getAttributeName()
           
 java.util.Vector getAttributes()
          returns a vector of AttributeVariable
 AttributeVariable getAttributeVariable(AttributeDefinition attr)
           
 java.lang.String getConceptName()
           
 java.lang.String getInstanceName()
           
 java.util.Vector getSubConcepts()
          returns a vector of ConceptTree
 ConceptTree getSubTree(AttributeDefinition attr)
           
 ConceptTree getSubTree(java.lang.String subConceptName, java.lang.String attributeName)
           
 boolean isLinkedToAttribute()
           
 void setAttributeName(java.lang.String string)
           
 void setConceptName(java.lang.String string)
           
 void setInstanceName(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConceptTree

public ConceptTree(java.lang.String conceptName)

ConceptTree

public ConceptTree(java.lang.String conceptName,
                   java.lang.String attributeName)

ConceptTree

public ConceptTree(AttributeDefinition attr)

ConceptTree

public ConceptTree(java.lang.String conceptName,
                   java.lang.String attributeName,
                   java.lang.String instanceName)
Method Detail

getSubTree

public ConceptTree getSubTree(java.lang.String subConceptName,
                              java.lang.String attributeName)

getSubTree

public ConceptTree getSubTree(AttributeDefinition attr)

getAttributeVariable

public AttributeVariable getAttributeVariable(AttributeDefinition attr)

isLinkedToAttribute

public boolean isLinkedToAttribute()

getAttributes

public java.util.Vector getAttributes()
returns a vector of AttributeVariable

Returns:

getSubConcepts

public java.util.Vector getSubConcepts()
returns a vector of ConceptTree

Returns:

addAttributeVariable

public void addAttributeVariable(AttributeVariable av)

addConceptTree

public void addConceptTree(ConceptTree ct)

getConceptName

public java.lang.String getConceptName()
Returns:

setConceptName

public void setConceptName(java.lang.String string)
Parameters:
string -

getAttributeName

public java.lang.String getAttributeName()
Returns:

setAttributeName

public void setAttributeName(java.lang.String string)
Parameters:
string -

getInstanceName

public java.lang.String getInstanceName()
Returns:

setInstanceName

public void setInstanceName(java.lang.String string)
Parameters:
string -