public class LCAwareClassificationSchemeImpl extends LCAwareRegistryEntryImpl implements LCAwareClassificationScheme
LCAwareClassificationScheme
.VALUE_TYPE_EMBEDDED_PATH, VALUE_TYPE_NON_UNIQUE, VALUE_TYPE_UNIQUE
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
Constructor and Description |
---|
LCAwareClassificationSchemeImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
getExpiration, getStability, getStatus, setExpiration, setStability, setStatus
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
approveStateChange, findLCModel, getLCState, rejectStateChange, setBeanPool, setLCState, setRegistryProvider
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
getExpiration, getStability, getStatus, setExpiration, setStability
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
getDescription, getKey, getName, setDescription, setName
getSlots, setSlots
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks
approveStateChange, findLCModel, getLCState, rejectStateChange, setLCState
public java.util.Collection<Concept> getChildrenConcepts()
getChildrenConcepts
in interface ClassificationScheme
getChildrenConcepts
in interface LCAwareClassificationScheme
public java.util.Collection<Concept> getDescendantConcepts()
getDescendantConcepts
in interface ClassificationScheme
getDescendantConcepts
in interface LCAwareClassificationScheme
public int getValueType()
getValueType
in interface ClassificationScheme
getValueType
in interface LCAwareClassificationScheme
public boolean isExternal()
isExternal
in interface ClassificationScheme
isExternal
in interface LCAwareClassificationScheme
true
if this classification scheme is external and
false
otherwisepublic void setValueType(int valueType)
setValueType
in interface ClassificationScheme
setValueType
in interface LCAwareClassificationScheme
valueType
- The value type to setpublic int getMajorVersion()
getMajorVersion
in interface Versionable
getMajorVersion
in class LCAwareRegistryEntryImpl
public int getMinorVersion()
getMinorVersion
in interface Versionable
getMinorVersion
in class LCAwareRegistryEntryImpl
public java.lang.String getUserVersion()
getUserVersion
in interface Versionable
getUserVersion
in class LCAwareRegistryEntryImpl
public void setMajorVersion(int majorVersion)
setMajorVersion
in interface Versionable
setMajorVersion
in class LCAwareRegistryEntryImpl
majorVersion
- the major revision number.public void setMinorVersion(int minorVersion)
setMinorVersion
in interface Versionable
setMinorVersion
in class LCAwareRegistryEntryImpl
minorVersion
- the minor revision number.public void setUserVersion(java.lang.String userVersion)
setUserVersion
in interface Versionable
setUserVersion
in class LCAwareRegistryEntryImpl
userVersion
- the user specified revision number.public boolean equals(java.lang.Object other)
equals
in class LCAwareRegistryEntryImpl
public int hashCode()
hashCode
in class LCAwareRegistryEntryImpl
public void setChildrenConcepts(java.util.Collection<Concept> concepts)
setChildrenConcepts
in interface ClassificationScheme
setChildrenConcepts
in interface LCAwareClassificationScheme
concepts
- The Collection
of immediate children concepts for this conceptpublic void setDescendantConcepts(java.util.Collection<Concept> concepts)
concepts
- The descendant concepts as a Collection
of Concept
spublic void setExternal(boolean external)
external
- If true
, the classification scheme will be deemed external