public class ClassificationSchemeImpl extends RegistryEntryImpl implements ClassificationScheme
ClassificationScheme
.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
Constructor and Description |
---|
ClassificationSchemeImpl() |
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
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
public java.util.Collection<Concept> getChildrenConcepts()
getChildrenConcepts
in interface ClassificationScheme
public java.util.Collection<Concept> getDescendantConcepts()
getDescendantConcepts
in interface ClassificationScheme
public int getValueType()
getValueType
in interface ClassificationScheme
public boolean isExternal()
isExternal
in interface ClassificationScheme
true
if the ClassificationScheme is an external.public void setValueType(int valueType)
setValueType
in interface ClassificationScheme
valueType
- the value type for this object.public int getMajorVersion()
getMajorVersion
in interface Versionable
getMajorVersion
in class RegistryEntryImpl
public int getMinorVersion()
getMinorVersion
in interface Versionable
getMinorVersion
in class RegistryEntryImpl
public java.lang.String getUserVersion()
getUserVersion
in interface Versionable
getUserVersion
in class RegistryEntryImpl
public void setMajorVersion(int majorVersion)
setMajorVersion
in interface Versionable
setMajorVersion
in class RegistryEntryImpl
majorVersion
- the major revision number.public void setMinorVersion(int minorVersion)
setMinorVersion
in interface Versionable
setMinorVersion
in class RegistryEntryImpl
minorVersion
- the minor revision number.public void setUserVersion(java.lang.String userVersion)
setUserVersion
in interface Versionable
setUserVersion
in class RegistryEntryImpl
userVersion
- the user specified revision number.public boolean equals(java.lang.Object other)
equals
in class RegistryEntryImpl
public int hashCode()
hashCode
in class RegistryEntryImpl
public void setChildrenConcepts(java.util.Collection<Concept> concepts)
setChildrenConcepts
in interface ClassificationScheme
concepts
- the children Concepts.public void setDescendantConcepts(java.util.Collection<Concept> concepts)
concepts
- the descendant concepts.public void setExternal(boolean external)
external
- true
if the ClassificationScheme is external.