Class Referenceable
java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.Referenceable
- Direct Known Subclasses:
Asset
,Connection
,Glossary
Referenceable is a set of properties that describes an open metadata referencable object. A referenceable is an open metadata
type that has enough significance to be awarded a unique qualified name.
This bean is designed to convey the important properties needed to make a security decision relating to this object
-
Constructor Summary
ConstructorDescriptionDefault constructorReferenceable
(Referenceable template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the map of operations to access groups.Return a copy of the additional properties.Return the classification that defines how confident a user should be in the quality of the contents of this referenceable are.Return the classification that defines how confidential the contents of this referenceable are.Return the classification that defines how critical this referenceable is to the business.Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.getGUID()
Return the unique identifier for this object.Return the classification that defines the impact of this referenceable to the business.getOwner()
Returns the name of the owner for this asset.Return the property name of the identifier that is representing the owner.int
Return the type of owner stored in the owner property.Return the type name of the element representing the owner.Returns the stored qualified name property for the metadata entity.Return the classification that defines when this referenceable will be archived and then permanently deleted.Return the list of security labels attached to the element.Return the security properties associated with the element.Return the status for the bean.Return the unique identifier for this object's type.Return the unique name of this object's type.int
hashCode()
Return hash code based on properties.void
setAccessGroups
(Map<String, List<String>> accessGroups) Set up the map of operations to access groups.void
setAdditionalProperties
(Map<String, String> additionalProperties) Set up additional properties.void
setConfidence
(ConfidenceGovernanceClassification confidence) Set up the classification that defines how confident a user should be in the quality of the contents of this referenceable are.void
setConfidentiality
(ConfidentialityGovernanceClassification confidentiality) Set up the classification that defines how confidential the contents of this referenceable are.void
setCriticality
(CriticalityGovernanceClassification criticality) Set up the classification that defines how critical this referenceable is to the business.void
setExtendedProperties
(Map<String, Object> extendedProperties) Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.void
Set up the unique identifier for this object.void
Set up the classification that defines the impact of this referenceable to the business.void
Set up the name of the owner for this asset.void
setOwnerPropertyName
(String ownerPropertyName) Set up the property name of the identifier that is representing the owner.void
setOwnerType
(int ownerType) Set up the owner type for this asset.void
setOwnerTypeName
(String ownerTypeName) Set up the type name of the element representing the owner.void
setQualifiedName
(String qualifiedName) Set up the fully qualified name.void
setRetention
(RetentionGovernanceClassification retention) Set up the classification that defines when this referenceable will be archived and then permanently deleted.void
setSecurityLabels
(List<String> securityLabels) Set up the list of security labels for the element.void
setSecurityProperties
(Map<String, Object> securityProperties) Set up the security properties associated with the element.void
setStatus
(ReferenceableStatus status) Set up the status for the bean.void
setTypeGUID
(String typeGUID) Set up the unique identifier for this object's type.void
setTypeName
(String typeName) Set up the unique name of this object's type.toString()
Standard toString method.
-
Constructor Details
-
Referenceable
public Referenceable()Default constructor -
Referenceable
Copy/clone constructor. Retrieve values from the supplied template- Parameters:
template
- element to copy
-
-
Method Details
-
getTypeGUID
Return the unique identifier for this object's type.- Returns:
- string guid
-
setTypeGUID
Set up the unique identifier for this object's type.- Parameters:
typeGUID
- string guid
-
getTypeName
Return the unique name of this object's type.- Returns:
- string name
-
getStatus
Return the status for the bean.- Returns:
- enum value
-
setStatus
Set up the status for the bean.- Parameters:
status
- enum value
-
getGUID
Return the unique identifier for this object.- Returns:
- string guid
-
setGUID
Set up the unique identifier for this object.- Parameters:
guid
- string guid
-
setTypeName
Set up the unique name of this object's type.- Parameters:
typeName
- string name
-
setQualifiedName
Set up the fully qualified name.- Parameters:
qualifiedName
- String name
-
getQualifiedName
Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.- Returns:
- qualifiedName
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties
- Additional properties object
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
getOwner
Returns the name of the owner for this asset.- Returns:
- owner String
-
setOwner
Set up the name of the owner for this asset.- Parameters:
owner
- String name
-
getOwnerType
public int getOwnerType()Return the type of owner stored in the owner property.- Returns:
- AssetOwnerType enum
-
setOwnerType
public void setOwnerType(int ownerType) Set up the owner type for this asset.- Parameters:
ownerType
- AssetOwnerType enum
-
getOwnerTypeName
Return the type name of the element representing the owner.- Returns:
- name
-
setOwnerTypeName
Set up the type name of the element representing the owner.- Parameters:
ownerTypeName
- name
-
getOwnerPropertyName
Return the property name of the identifier that is representing the owner.- Returns:
- name
-
setOwnerPropertyName
Set up the property name of the identifier that is representing the owner.- Parameters:
ownerPropertyName
- name
-
getExtendedProperties
Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.- Returns:
- property map
-
setExtendedProperties
Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.- Parameters:
extendedProperties
- property map
-
getSecurityLabels
Return the list of security labels attached to the element.- Returns:
- list of label strings
-
setSecurityLabels
Set up the list of security labels for the element.- Parameters:
securityLabels
- list of label strings
-
getSecurityProperties
Return the security properties associated with the element. These are name-value pairs.- Returns:
- map of properties
-
setSecurityProperties
Set up the security properties associated with the element. These are name-value pairs.- Parameters:
securityProperties
- map of properties
-
getAccessGroups
Return the map of operations to access groups.- Returns:
- map from string to list of strings
-
setAccessGroups
Set up the map of operations to access groups.- Parameters:
accessGroups
- map from string to list of strings
-
getConfidentiality
Return the classification that defines how confidential the contents of this referenceable are.- Returns:
- confidentiality classification properties
-
setConfidentiality
Set up the classification that defines how confidential the contents of this referenceable are.- Parameters:
confidentiality
- confidentiality classification properties
-
getConfidence
Return the classification that defines how confident a user should be in the quality of the contents of this referenceable are.- Returns:
- confidence classification properties
-
setConfidence
Set up the classification that defines how confident a user should be in the quality of the contents of this referenceable are.- Parameters:
confidence
- confidence classification properties
-
getCriticality
Return the classification that defines how critical this referenceable is to the business.- Returns:
- criticality classification properties
-
setCriticality
Set up the classification that defines how critical this referenceable is to the business.- Parameters:
criticality
- criticality classification properties
-
getImpact
Return the classification that defines the impact of this referenceable to the business.- Returns:
- criticality classification properties
-
setImpact
Set up the classification that defines the impact of this referenceable to the business.- Parameters:
impact
- impact classification properties
-
getRetention
Return the classification that defines when this referenceable will be archived and then permanently deleted.- Returns:
- retention classification properties
-
setRetention
Set up the classification that defines when this referenceable will be archived and then permanently deleted.- Parameters:
retention
- retention classification properties
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-