public class ClassificationDef extends TypeDef
createdBy, createTime, description, descriptionGUID, externalStandardMappings, initialStatus, options, origin, propertiesDefinition, superType, updatedBy, updateTime, validInstanceStatusListcategory, version, versionNameguid, name, replacedByTypeGUID, replacedByTypeName, statusCURRENT_TYPE_DEF_HEADER_VERSION| Constructor and Description |
|---|
ClassificationDef()
Minimal constructor sets up an empty ClassificationDef.
|
ClassificationDef(ClassificationDef template)
Copy/clone constructor copies values from the supplied template.
|
ClassificationDef(TypeDefCategory category,
String guid,
String name,
long version,
String versionName)
Typical constructor is passed the properties of the typedef's super class being constructed.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDef |
cloneFromSubclass()
Delegate the process of cloning to the subclass.
|
boolean |
equals(Object objectToCompare)
Verify that supplied object has the same properties.
|
List<TypeDefLink> |
getValidEntityDefs()
Return the list of identifiers for the types of entities that this type of Classification can be connected to.
|
boolean |
isPropagatable()
Return whether this classification should propagate to other entities if the relationship linking them
allows classification propagation.
|
void |
setPropagatable(boolean propagatable)
Sets up whether this classification should propagate to other entities if the relationship linking them
allows classification propagation.
|
void |
setValidEntityDefs(List<TypeDefLink> validEntityDefs)
Set up the list of identifiers for the types of entities that this type of Classification can be connected to.
|
String |
toString()
Standard toString method.
|
getCreatedBy, getCreateTime, getDescription, getDescriptionGUID, getExternalStandardMappings, getInitialStatus, getOptions, getOrigin, getPropertiesDefinition, getSuperType, getUpdatedBy, getUpdateTime, getValidInstanceStatusList, hashCode, setCreatedBy, setCreateTime, setDescription, setDescriptionGUID, setExternalStandardMappings, setInitialStatus, setOptions, setOrigin, setPropertiesDefinition, setSuperType, setUpdatedBy, setUpdateTime, setValidInstanceStatusListgetCategory, getVersion, getVersionName, setCategory, setVersion, setVersionNamegetGUID, getName, getReplacedByTypeGUID, getReplacedByTypeName, getStatus, setGUID, setName, setReplacedByTypeGUID, setReplacedByTypeName, setStatusgetHeaderVersion, setHeaderVersionpublic ClassificationDef()
public ClassificationDef(TypeDefCategory category, String guid, String name, long version, String versionName)
category - category of this TypeDefguid - unique id for the TypeDefname - unique name for the TypeDefversion - active version number for the TypeDefversionName - name for active version of the TypeDefpublic ClassificationDef(ClassificationDef template)
template - template to copypublic TypeDef cloneFromSubclass()
cloneFromSubclass in class TypeDefpublic List<TypeDefLink> getValidEntityDefs()
public void setValidEntityDefs(List<TypeDefLink> validEntityDefs)
validEntityDefs - List of entity type identifierspublic boolean isPropagatable()
public void setPropagatable(boolean propagatable)
propagatable - boolean flagpublic String toString()
Copyright © 2018–2020 ODPi. All rights reserved.