Class OpenMetadataClassificationDef
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefElementHeader
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefLink
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefSummary
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDef
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataClassificationDef
OpenMetadataClassificationDef stores the properties for the definition of a type of classification.  Many of the properties
 are inherited from OpenMetadataTypeDef.  OpenMetadataClassificationDef adds a list of Entity Types that this Classification can be
 connected to and a boolean to indicate if this classification is propagatable.
- 
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDef
attributeDefinitions, beanClassName, createdBy, createTime, description, descriptionGUID, descriptionWiki, externalStandardTypeMappings, initialStatus, options, origin, superType, updatedBy, updateTime, validElementStatusListFields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefSummary
category, version, versionNameFields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefLink
guid, name, replacedByTypeGUID, replacedByTypeName, statusFields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION - 
Constructor Summary
ConstructorsConstructorDescriptionMinimal constructor sets up an empty OpenMetadataClassificationDef.Copy/clone constructor copies values from the supplied template.OpenMetadataClassificationDef(OpenMetadataTypeDefCategory category, String guid, String name, long version, String versionName) Typical constructor is passed the properties of the typedef's super class being constructed. - 
Method Summary
Modifier and TypeMethodDescriptionDelegate the process of cloning to the subclass.booleanValidate that an object is equal depending on their stored values.Return the list of identifiers for the types of entities that this type of Classification can be connected to.inthashCode()Return a hash code based on the values of this object.booleanReturn whether this classification should propagate to other entities if the relationship linking them allows classification propagation.voidsetPropagatable(boolean propagatable) Sets up whether this classification should propagate to other entities if the relationship linking them allows classification propagation.voidsetValidEntityDefs(List<OpenMetadataTypeDefLink> validEntityDefs) Set up the list of identifiers for the types of entities that this type of Classification can be connected to.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDef
getAttributeDefinitions, getBeanClassName, getCreatedBy, getCreateTime, getDescription, getDescriptionGUID, getDescriptionWiki, getExternalStandardTypeMappings, getInitialStatus, getOptions, getOrigin, getSuperType, getUpdatedBy, getUpdateTime, getValidElementStatusList, setAttributeDefinitions, setBeanClassName, setCreatedBy, setCreateTime, setDescription, setDescriptionGUID, setDescriptionWiki, setExternalStandardTypeMappings, setInitialStatus, setOptions, setOrigin, setSuperType, setUpdatedBy, setUpdateTime, setValidElementStatusListMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefSummary
getCategory, getVersion, getVersionName, setCategory, setVersion, setVersionNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataTypeDefLink
getGUID, getName, getReplacedByTypeGUID, getReplacedByTypeName, getStatus, setGUID, setName, setReplacedByTypeGUID, setReplacedByTypeName, setStatus 
- 
Constructor Details
- 
OpenMetadataClassificationDef
public OpenMetadataClassificationDef()Minimal constructor sets up an empty OpenMetadataClassificationDef. - 
OpenMetadataClassificationDef
public OpenMetadataClassificationDef(OpenMetadataTypeDefCategory category, String guid, String name, long version, String versionName) Typical constructor is passed the properties of the typedef's super class being constructed.- Parameters:
 category- category of this OpenMetadataTypeDefguid- unique id for the OpenMetadataTypeDefname- unique name for the OpenMetadataTypeDefversion- active version number for the OpenMetadataTypeDefversionName- name for active version of the OpenMetadataTypeDef
 - 
OpenMetadataClassificationDef
Copy/clone constructor copies values from the supplied template.- Parameters:
 template- template to copy
 
 - 
 - 
Method Details
- 
cloneFromSubclass
Delegate the process of cloning to the subclass.- Specified by:
 cloneFromSubclassin classOpenMetadataTypeDef- Returns:
 - subclass of OpenMetadataTypeDef
 
 - 
getValidEntityDefs
Return the list of identifiers for the types of entities that this type of Classification can be connected to.- Returns:
 - List of entity type identifiers
 
 - 
setValidEntityDefs
Set up the list of identifiers for the types of entities that this type of Classification can be connected to.- Parameters:
 validEntityDefs- List of entity type identifiers
 - 
isPropagatable
public boolean isPropagatable()Return whether this classification should propagate to other entities if the relationship linking them allows classification propagation.- Returns:
 - boolean flag
 
 - 
setPropagatable
public void setPropagatable(boolean propagatable) Sets up whether this classification should propagate to other entities if the relationship linking them allows classification propagation.- Parameters:
 propagatable- boolean flag
 - 
toString
Standard toString method.- Overrides:
 toStringin classOpenMetadataTypeDef- Returns:
 - JSON style description of variables.
 
 - 
equals
Validate that an object is equal depending on their stored values.- Overrides:
 equalsin classOpenMetadataTypeDef- Parameters:
 objectToCompare- object- Returns:
 - boolean result
 
 - 
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
 hashCodein classOpenMetadataTypeDef- Returns:
 - in hash code
 
 
 -