Class ElementHeader
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
- Direct Known Subclasses:
ElementStub
ElementHeader provides the common identifier and type information for all properties objects
that link off of the asset and have a guid associated with them. This typically means it is
represented by an entity in the metadata repository.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by subclassesElementHeader(ElementControlHeader template) Copy/clone constructor.ElementHeader(ElementHeader template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the Anchors classificationReturn the CalculatedValue classification - only attached to a SchemaAttribute.Return the optional list of category classifications found on a collection entity that indicate how a collection is being used.Return any confidence assessment associated with this element.Return the level of confidentiality assigned to this element.Return whether this element is a consolidated duplication.Return the criticality assessment for this element.Return the DataAssetEncoding classification that describes the encoding used in the associated digital resource.Return the DataScope classifications - used to describe the scope of data stored in the associated digital resource.Return the DigitalResourceOrigin classification.Return whether this element is involved in duplicate processing.Return details of whether this element is identified as providing the implementation of one or more execution points.Return the governance expectations classification.Return the governance measurements classification.getGUID()Return the unique id for the properties object.Return the impact assessment for this element.Return whether this element has a known duplicate.Return the classifications associated with locations.Return the memento classification that shows that the element has been archived.Return the list of remaining classifications associated with the metadata element.Return the Ownership classification.Return whether this element (TabularColumn) is a primary key.Return the properties that are used to classify the style and purpose of the project.Return the optional list of category classifications found on a project entity that indicate how a collection is being used.Return any retention requirements.Return the TypeEmbeddedAttribute classification - only attached to a SchemaAttribute.Return the SecurityListMembership classification - only attached to a user identity entity.Return the SecurityTags classification - attached to any referenceable metadata element.Return whether this element has the Template classification that shows that the element is a template.Return the classification that indicates this element is part of a template.Return the UserAccountProfile classification - only attached to a secrets collection entity.Return the ZoneMembership classification.Return the ZoneMembershipProfile classification.inthashCode()Create a hash code for this element type.voidsetAnchor(ElementClassification anchor) Set up the Anchors classification.voidsetCalculatedValue(ElementClassification calculatedValue) Set the CalculatedValue classification - only attached to a SchemaAttribute.voidsetCollectionKinds(List<ElementClassification> collectionKinds) Set up the optional list of category classifications found on a collection entity that indicate how a collection is being used.voidsetConfidence(ElementClassification confidence) Set up any confidence assessment associated with this element.voidsetConfidentiality(ElementClassification confidentiality) Set up the level of confidentiality assigned to this element.voidsetConsolidateDuplicate(ElementClassification consolidateDuplicate) Set up whether this element is a consolidated duplication.voidsetCriticality(ElementClassification criticality) Set up the criticality assessment for this element.voidsetDataAssetEncoding(ElementClassification dataAssetEncoding) Set up the DataAssetEncoding classification that describes the encoding used in the associated digital resource.voidsetDataScope(ElementClassification dataScope) Set up the DataScope classifications - used to describe the scope of data stored in the associated digital resource.voidsetDigitalResourceOrigin(ElementClassification digitalResourceOrigin) Set up the DigitalResourceOrigin classification.voidsetDuplicateClassifications(List<ElementClassification> duplicateClassifications) Set up whether this element is involved in duplicate processing.voidsetExecutionPoints(List<ElementClassification> executionPoints) Set up details of whether this element is identified as providing the implementation of one or more execution points.voidsetGovernanceExpectations(ElementClassification governanceExpectations) Set up the governance expectations classification.voidsetGovernanceMeasurements(ElementClassification governanceMeasurements) Set up the governance measurements classification.voidSet up the guid for the element.voidsetImpact(ElementClassification impact) Set up the impact assessment for this element.voidsetKnownDuplicate(ElementClassification knownDuplicate) Set up whether this element has a known duplicate.voidsetLocationKinds(List<ElementClassification> locationKinds) Set up the classifications associated with locations.voidsetMemento(ElementClassification memento) Set up the memento classification that shows that the element has been archived.voidsetOtherClassifications(List<ElementClassification> otherClassifications) Set up the list of remaining classifications associated with this metadata element.voidsetOwnership(ElementClassification ownership) Set up the Ownership classification.voidsetPrimaryKey(ElementClassification primaryKey) Set up whether this element (TabularColumn) is a primary key.voidsetProjectClassification(ElementClassification projectClassification) Set up the properties that are used to classify the style and purpose of the project.voidsetProjectKinds(List<ElementClassification> projectKinds) Set up the optional list of category classifications found on a project entity that indicate how a collection is being used.voidsetRetention(ElementClassification retention) Set up any retention requirements.voidsetSchemaType(ElementClassification schemaType) Set the TypeEmbeddedAttribute classification - only attached to a SchemaAttribute.voidsetSecurityListMembership(ElementClassification securityListMembership) Set up the SecurityListMembership classification - only attached to a user identity entity.voidsetSecurityTags(ElementClassification securityTags) Set up the SecurityTags classification - attached to any referenceable metadata element.voidsetTemplate(ElementClassification template) Set up whether this element has the Template classification that shows that the element is a template.voidsetTemplateSubstitute(ElementClassification templateSubstitute) Set up the template substitute classification.voidsetUserAccountProfile(ElementClassification userAccountProfile) Set up the UserAccountProfile classification - only attached to a secrets collection entity.voidsetZoneMembership(ElementClassification zoneMembership) Set up the ZoneMembership classification.voidsetZoneMembershipProfile(ElementClassification zoneMembershipProfile) Set up the ZoneMembershipProfile classification.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
ElementHeader
public ElementHeader()Default constructor used by subclasses -
ElementHeader
Copy/clone constructor.- Parameters:
template- element to copy
-
ElementHeader
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Details
-
getGUID
Return the unique id for the properties object. Null means no guid is assigned.- Returns:
- String unique id
-
setGUID
Set up the guid for the element.- Parameters:
guid- String unique identifier
-
getAnchor
Return the Anchors classification- Returns:
- classification
-
setAnchor
Set up the Anchors classification.- Parameters:
anchor- classification
-
getZoneMembership
Return the ZoneMembership classification.- Returns:
- classification
-
setZoneMembership
Set up the ZoneMembership classification.- Parameters:
zoneMembership- classification
-
getZoneMembershipProfile
Return the ZoneMembershipProfile classification.- Returns:
- classification
-
setZoneMembershipProfile
Set up the ZoneMembershipProfile classification.- Parameters:
zoneMembershipProfile- classification
-
getImpact
Return the impact assessment for this element.- Returns:
- classification
-
setImpact
Set up the impact assessment for this element.- Parameters:
impact- classification
-
getCriticality
Return the criticality assessment for this element.- Returns:
- classification
-
setCriticality
Set up the criticality assessment for this element.- Parameters:
criticality- classification
-
getConfidentiality
Return the level of confidentiality assigned to this element.- Returns:
- classification
-
setConfidentiality
Set up the level of confidentiality assigned to this element.- Parameters:
confidentiality- classification
-
getConfidence
Return any confidence assessment associated with this element.- Returns:
- classification
-
setConfidence
Set up any confidence assessment associated with this element.- Parameters:
confidence- classification
-
getRetention
Return any retention requirements.- Returns:
- classification
-
setRetention
Set up any retention requirements.- Parameters:
retention- classification
-
getGovernanceExpectations
Return the governance expectations classification.- Returns:
- classification
-
setGovernanceExpectations
Set up the governance expectations classification.- Parameters:
governanceExpectations- classifications
-
getGovernanceMeasurements
Return the governance measurements classification.- Returns:
- classification
-
setGovernanceMeasurements
Set up the governance measurements classification.- Parameters:
governanceMeasurements- classification
-
getExecutionPoints
Return details of whether this element is identified as providing the implementation of one or more execution points.- Returns:
- list
-
setExecutionPoints
Set up details of whether this element is identified as providing the implementation of one or more execution points.- Parameters:
executionPoints- list
-
getDigitalResourceOrigin
Return the DigitalResourceOrigin classification.- Returns:
- classification
-
setDigitalResourceOrigin
Set up the DigitalResourceOrigin classification.- Parameters:
digitalResourceOrigin- classification
-
getOwnership
Return the Ownership classification.- Returns:
- classification
-
setOwnership
Set up the Ownership classification.- Parameters:
ownership- classification
-
getMemento
Return the memento classification that shows that the element has been archived.- Returns:
- classification
-
setMemento
Set up the memento classification that shows that the element has been archived.- Parameters:
memento- classification
-
getTemplate
Return whether this element has the Template classification that shows that the element is a template.- Returns:
- classification
-
setTemplate
Set up whether this element has the Template classification that shows that the element is a template.- Parameters:
template- classification
-
getTemplateSubstitute
Return the classification that indicates this element is part of a template. It links to an element via the SourcedFrom relationship that the template logically links to using a significant relationship. The template substitute removes confusion that would occur if the template linked directly to this element using the significant relationship type.- Returns:
- classification
-
setTemplateSubstitute
Set up the template substitute classification.- Parameters:
templateSubstitute- classification
-
getDuplicateClassifications
Return whether this element is involved in duplicate processing.- Returns:
- list
-
setDuplicateClassifications
Set up whether this element is involved in duplicate processing.- Parameters:
duplicateClassifications- list
-
getSchemaType
Return the TypeEmbeddedAttribute classification - only attached to a SchemaAttribute.- Returns:
- classification
-
setSchemaType
Set the TypeEmbeddedAttribute classification - only attached to a SchemaAttribute.- Parameters:
schemaType- classification
-
getDataScope
Return the DataScope classifications - used to describe the scope of data stored in the associated digital resource.- Returns:
- classification
-
setDataScope
Set up the DataScope classifications - used to describe the scope of data stored in the associated digital resource.- Parameters:
dataScope- classification
-
getDataAssetEncoding
Return the DataAssetEncoding classification that describes the encoding used in the associated digital resource.- Returns:
- classification
-
setDataAssetEncoding
Set up the DataAssetEncoding classification that describes the encoding used in the associated digital resource.- Parameters:
dataAssetEncoding- classification
-
getCalculatedValue
Return the CalculatedValue classification - only attached to a SchemaAttribute.- Returns:
- classification
-
setCalculatedValue
Set the CalculatedValue classification - only attached to a SchemaAttribute.- Parameters:
calculatedValue- classification
-
getPrimaryKey
Return whether this element (TabularColumn) is a primary key.- Returns:
- classification
-
setPrimaryKey
Set up whether this element (TabularColumn) is a primary key.- Parameters:
primaryKey- classification
-
getSecurityTags
Return the SecurityTags classification - attached to any referenceable metadata element.- Returns:
- classification
-
setSecurityTags
Set up the SecurityTags classification - attached to any referenceable metadata element.- Parameters:
securityTags- classification
-
getSecurityListMembership
Return the SecurityListMembership classification - only attached to a user identity entity.- Returns:
- classification
-
setSecurityListMembership
Set up the SecurityListMembership classification - only attached to a user identity entity.- Parameters:
securityListMembership- classification
-
getUserAccountProfile
Return the UserAccountProfile classification - only attached to a secrets collection entity.- Returns:
- classification
-
setUserAccountProfile
Set up the UserAccountProfile classification - only attached to a secrets collection entity.- Parameters:
userAccountProfile- classification
-
getKnownDuplicate
Return whether this element has a known duplicate.- Returns:
- classification
-
setKnownDuplicate
Set up whether this element has a known duplicate.- Parameters:
knownDuplicate- classification
-
getConsolidateDuplicate
Return whether this element is a consolidated duplication.- Returns:
- classification
-
setConsolidateDuplicate
Set up whether this element is a consolidated duplication.- Parameters:
consolidateDuplicate- classification
-
getProjectClassification
Return the properties that are used to classify the style and purpose of the project.- Returns:
- classification
-
setProjectClassification
Set up the properties that are used to classify the style and purpose of the project.- Parameters:
projectClassification- classification
-
getCollectionKinds
Return the optional list of category classifications found on a collection entity that indicate how a collection is being used.- Returns:
- list of classifications
-
setCollectionKinds
Set up the optional list of category classifications found on a collection entity that indicate how a collection is being used.- Parameters:
collectionKinds- list of classifications
-
getLocationKinds
Return the classifications associated with locations.- Returns:
- list of classifications
-
setLocationKinds
Set up the classifications associated with locations.- Parameters:
locationKinds- list of classifications
-
getProjectKinds
Return the optional list of category classifications found on a project entity that indicate how a collection is being used.- Returns:
- list of classifications
-
setProjectKinds
Set up the optional list of category classifications found on a project entity that indicate how a collection is being used.- Parameters:
projectKinds- list of classifications
-
getOtherClassifications
Return the list of remaining classifications associated with the metadata element.- Returns:
- Classifications list of classifications
-
setOtherClassifications
Set up the list of remaining classifications associated with this metadata element.- Parameters:
otherClassifications- list of classifications
-
toString
Standard toString method.- Overrides:
toStringin classElementControlHeader- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classElementControlHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classElementControlHeader- Returns:
- int hash code
-