com.softwareag.centrasite.appl.framework.lcm.beans.impl
Class LCAwareClassificationSchemeImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.lcm.beans.LCAwareDynamicRegistryBean
          extended by com.softwareag.centrasite.appl.framework.lcm.beans.impl.LCAwareRegistryObjectImpl
              extended by com.softwareag.centrasite.appl.framework.lcm.beans.impl.LCAwareRegistryEntryImpl
                  extended by com.softwareag.centrasite.appl.framework.lcm.beans.impl.LCAwareClassificationSchemeImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ClassificationScheme, ExtensibleObject, RegistryEntry, RegistryObject, Versionable, LCAwareClassificationScheme, LCAwareRegistryEntry, LCAwareRegistryObject, LifeCycleAware

public class LCAwareClassificationSchemeImpl
extends LCAwareRegistryEntryImpl
implements LCAwareClassificationScheme


Field Summary
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.lcm.beans.LCAwareClassificationScheme
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
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.lcm.beans.LCAwareRegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
Constructor Summary
LCAwareClassificationSchemeImpl()
           
 
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.lcm.beans.impl.LCAwareRegistryEntryImpl
getExpiration, getStability, getStatus, setExpiration, setStability, setStatus
 
Methods inherited from class com.softwareag.centrasite.appl.framework.lcm.beans.impl.LCAwareRegistryObjectImpl
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.lcm.beans.LCAwareDynamicRegistryBean
approveStateChange, findLCModel, getLCState, rejectStateChange, setBeanPool, setLCState, setRegistryProvider
 
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
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.lcm.beans.LCAwareRegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.lcm.beans.LifeCycleAware
approveStateChange, findLCModel, getLCState, rejectStateChange, setLCState
 

Constructor Detail

LCAwareClassificationSchemeImpl

public LCAwareClassificationSchemeImpl()
Method Detail

getChildrenConcepts

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

Specified by:
getChildrenConcepts in interface ClassificationScheme
Specified by:
getChildrenConcepts in interface LCAwareClassificationScheme
Returns:
Collection

getDescendantConcepts

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

Specified by:
getDescendantConcepts in interface ClassificationScheme
Specified by:
getDescendantConcepts in interface LCAwareClassificationScheme
Returns:
Collection

getValueType

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

Specified by:
getValueType in interface ClassificationScheme
Specified by:
getValueType in interface LCAwareClassificationScheme
Returns:
int

isExternal

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

Specified by:
isExternal in interface ClassificationScheme
Specified by:
isExternal in interface LCAwareClassificationScheme
Returns:
boolean

setValueType

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

Specified by:
setValueType in interface ClassificationScheme
Specified by:
setValueType in interface LCAwareClassificationScheme

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 LCAwareRegistryEntryImpl
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 LCAwareRegistryEntryImpl
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 LCAwareRegistryEntryImpl
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 LCAwareRegistryEntryImpl

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 LCAwareRegistryEntryImpl

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 LCAwareRegistryEntryImpl

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class LCAwareRegistryEntryImpl

setChildrenConcepts

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

Specified by:
setChildrenConcepts in interface ClassificationScheme
Specified by:
setChildrenConcepts in interface LCAwareClassificationScheme

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 -