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

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.RegistryEntryImpl
              extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.ClassificationSchemeImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ClassificationScheme, ExtensibleObject, RegistryEntry, RegistryObject, Versionable

public class ClassificationSchemeImpl
extends RegistryEntryImpl
implements ClassificationScheme


Field Summary
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ClassificationScheme
VALUE_TYPE_EMBEDDED_PATH, VALUE_TYPE_NON_UNIQUE, VALUE_TYPE_UNIQUE
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
Constructor Summary
ClassificationSchemeImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection<Concept> getChildrenConcepts()
          Gets all immediate children Concepts.
 java.util.Collection<Concept> getDescendantConcepts()
          Gets all descendant Concepts.
 int getMajorVersion()
          Gets the major revision number for this version of the Versionable object.
 int getMinorVersion()
          Gets the minor revision number for this version of the Versionable object.
 java.lang.String getUserVersion()
          Gets the user-specified revision number for this version of the Versionable object.
 int getValueType()
          Gets the value type for this object.
 int hashCode()
           
 boolean isExternal()
          Determines whether this ClassificationScheme is an external ClassificationScheme or an internal ClassificationScheme.
 void setChildrenConcepts(java.util.Collection<Concept> concepts)
          Sets the children Concepts
 void setDescendantConcepts(java.util.Collection<Concept> concepts)
          Sets the descendant concepts
 void setExternal(boolean external)
          Sets if the ClassificationScheme is external
 void setMajorVersion(int majorVersion)
          Sets the major revision number for this version of the Versionable object.
 void setMinorVersion(int minorVersion)
          Sets the minor revision number for this version of the Versionable object.
 void setUserVersion(java.lang.String userVersion)
          Sets the user specified revision number for this version of the Versionable object.
 void setValueType(int valueType)
          Sets the value type for this object.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryEntryImpl
getExpiration, getStability, getStatus, setExpiration, setStability, setStatus
 
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.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStability
 
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

ClassificationSchemeImpl

public ClassificationSchemeImpl()
Method Detail

getChildrenConcepts

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

Specified by:
getChildrenConcepts in interface ClassificationScheme
Returns:
Collection

getDescendantConcepts

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

Specified by:
getDescendantConcepts in interface ClassificationScheme
Returns:
Collection

getValueType

public int getValueType()
Gets the value type for this object.

Specified by:
getValueType in interface ClassificationScheme
Returns:
int

isExternal

public boolean isExternal()
Determines whether this ClassificationScheme is an external ClassificationScheme or an internal ClassificationScheme.

Specified by:
isExternal in interface ClassificationScheme
Returns:
boolean

setValueType

public void setValueType(int valueType)
Sets the value type for this object.

Specified by:
setValueType in interface ClassificationScheme

getMajorVersion

public int getMajorVersion()
Gets the major revision number for this version of the Versionable object.

Specified by:
getMajorVersion in interface Versionable
Overrides:
getMajorVersion in class RegistryEntryImpl
Returns:
int

getMinorVersion

public int getMinorVersion()
Gets the minor revision number for this version of the Versionable object.

Specified by:
getMinorVersion in interface Versionable
Overrides:
getMinorVersion in class RegistryEntryImpl
Returns:
int

getUserVersion

public java.lang.String getUserVersion()
Gets the user-specified revision number for this version of the Versionable object.

Specified by:
getUserVersion in interface Versionable
Overrides:
getUserVersion in class RegistryEntryImpl
Returns:
String

setMajorVersion

public void setMajorVersion(int majorVersion)
Sets the major revision number for this version of the Versionable object.

Specified by:
setMajorVersion in interface Versionable
Overrides:
setMajorVersion in class RegistryEntryImpl

setMinorVersion

public void setMinorVersion(int minorVersion)
Sets the minor revision number for this version of the Versionable object.

Specified by:
setMinorVersion in interface Versionable
Overrides:
setMinorVersion in class RegistryEntryImpl

setUserVersion

public void setUserVersion(java.lang.String userVersion)
Sets the user specified revision number for this version of the Versionable object.

Specified by:
setUserVersion in interface Versionable
Overrides:
setUserVersion in class RegistryEntryImpl

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryEntryImpl

setChildrenConcepts

public void setChildrenConcepts(java.util.Collection<Concept> concepts)
Sets the children Concepts

Specified by:
setChildrenConcepts in interface ClassificationScheme

setDescendantConcepts

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

Parameters:
concepts -

setExternal

public void setExternal(boolean external)
Sets if the ClassificationScheme is external

Parameters:
external -