Class SecurityTags
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.SecurityTags
-
- All Implemented Interfaces:
Serializable
public class SecurityTags extends ElementClassificationHeader
SecurityTags holds the list of labels and properties used by a security enforcement engine to control access and visibility to the contents of the real-world object described by the Referenceable.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description SecurityTags()Default constructorSecurityTags(SecurityTags template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<String>getSecurityLabels()Return the list of security labels attached to the element.Map<String,Object>getSecurityProperties()Return the security properties associated with the element.inthashCode()Create a hash code for this element type.voidsetSecurityLabels(List<String> securityLabels)Set up the list of security labels for the element.voidsetSecurityProperties(Map<String,Object> securityProperties)Set up the security properties associated with the element.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
getClassificationOrigin, getClassificationOriginGUID, getClassificationTypeDescription, getClassificationTypeId, getClassificationTypeVersion, setClassificationOrigin, setClassificationOriginGUID, setClassificationTypeDescription, setClassificationTypeId, setClassificationTypeVersion
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getElementCreatedBy, getElementCreateTime, getElementLicense, getElementMaintainedBy, getElementMetadataCollectionId, getElementMetadataCollectionName, getElementOrigin, getElementSourceServer, getElementUpdatedBy, getElementUpdateTime, getElementVersion, getMappingProperties, getStatus, setElementCreatedBy, setElementCreateTime, setElementLicense, setElementMaintainedBy, setElementMetadataCollectionId, setElementMetadataCollectionName, setElementOrigin, setElementSourceServer, setElementUpdatedBy, setElementUpdateTime, setElementVersion, setMappingProperties, setStatus
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
SecurityTags
public SecurityTags()
Default constructor
-
SecurityTags
public SecurityTags(SecurityTags template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getSecurityLabels
public List<String> getSecurityLabels()
Return the list of security labels attached to the element.- Returns:
- list of label strings
-
setSecurityLabels
public void setSecurityLabels(List<String> securityLabels)
Set up the list of security labels for the element.- Parameters:
securityLabels- list of label strings
-
getSecurityProperties
public Map<String,Object> getSecurityProperties()
Return the security properties associated with the element. These are name-value pairs.- Returns:
- map of properties
-
setSecurityProperties
public void setSecurityProperties(Map<String,Object> securityProperties)
Set up the security properties associated with the element. These are name-value pairs.- Parameters:
securityProperties- map of properties
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classElementClassificationHeader- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classElementClassificationHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classElementClassificationHeader- Returns:
- int hash code
-
-