com.softwareag.centrasite.appl.framework.beans.standard.impl
Class ConceptImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
          extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.ConceptImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, Concept, ExtensibleObject, RegistryObject

public class ConceptImpl
extends RegistryObjectImpl
implements Concept


Constructor Summary
ConceptImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection<Concept> getChildrenConcepts()
          Gets all immediate children Concepts.
 ClassificationScheme getClassificationScheme()
          Gets the ClassificationScheme that this Concept is a descendent of.
 java.util.Collection<Concept> getDescendantConcepts()
          Gets all descendant Concepts.
 RegistryBean getParent()
          Gets the parent Concept or ClassificationScheme for this object
 Concept getParentConcept()
          Gets the parent Concept or null if parent is a ClassificationScheme.
 java.lang.String getPath()
          Gets the canonical path representation for this Concept.
 java.lang.String getValue()
          Gets the value (usually a code in a taxonomy) associated with this Concept.
 int hashCode()
           
 void setChildrenConcepts(java.util.Collection<Concept> childrenConcepts)
          Sets immediate children Concepts.
 void setClassificationScheme(ClassificationScheme classificationScheme)
          Sets the ClassificationScheme for this Concept
 void setDescendantConcepts(java.util.Collection<Concept> descendantConcepts)
          Sets the descendant Concepts
 void setParent(RegistryBean parent)
          Sets the parent of this Concept
 void setParentConcept(Concept parentConcept)
          Sets the Parent Concept for this Concept
 void setPath(java.lang.String path)
          Sets the canonical path representation for this Concept.
 void setValue(java.lang.String value)
          Sets the value (usually a taxonomy value) associated with this Concept.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ExtensibleObject
getSlots, setSlots
 

Constructor Detail

ConceptImpl

public ConceptImpl()
Method Detail

getParent

public RegistryBean getParent()
Gets the parent Concept or ClassificationScheme for this object

Specified by:
getParent in interface Concept
Returns:
RegistryBean

setParent

public void setParent(RegistryBean parent)
Sets the parent of this Concept

Parameters:
parent -

getParentConcept

public Concept getParentConcept()
Gets the parent Concept or null if parent is a ClassificationScheme.

Specified by:
getParentConcept in interface Concept
Returns:
Concept

setParentConcept

public void setParentConcept(Concept parentConcept)
Sets the Parent Concept for this Concept

Parameters:
parentConcept -

getPath

public java.lang.String getPath()
Gets the canonical path representation for this Concept.

Specified by:
getPath in interface Concept
Returns:
String

setPath

public void setPath(java.lang.String path)
Sets the canonical path representation for this Concept.

Parameters:
path -

getChildrenConcepts

public java.util.Collection<Concept> getChildrenConcepts()
Gets all immediate children Concepts.

Specified by:
getChildrenConcepts in interface Concept
Returns:
Collection

setChildrenConcepts

public void setChildrenConcepts(java.util.Collection<Concept> childrenConcepts)
Sets immediate children Concepts.

Specified by:
setChildrenConcepts in interface Concept

getClassificationScheme

public ClassificationScheme getClassificationScheme()
Gets the ClassificationScheme that this Concept is a descendent of.

Specified by:
getClassificationScheme in interface Concept
Returns:
ClassificationScheme

setClassificationScheme

public void setClassificationScheme(ClassificationScheme classificationScheme)
Sets the ClassificationScheme for this Concept

Parameters:
classificationScheme -

getDescendantConcepts

public java.util.Collection<Concept> getDescendantConcepts()
Gets all descendant Concepts.

Specified by:
getDescendantConcepts in interface Concept
Returns:
Collection

setDescendantConcepts

public void setDescendantConcepts(java.util.Collection<Concept> descendantConcepts)
Sets the descendant Concepts

Parameters:
descendantConcepts -

getValue

public java.lang.String getValue()
Gets the value (usually a code in a taxonomy) associated with this Concept.

Specified by:
getValue in interface Concept
Returns:
String

setValue

public void setValue(java.lang.String value)
Sets the value (usually a taxonomy value) associated with this Concept.

Specified by:
setValue in interface Concept

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class RegistryObjectImpl

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl