Class SecurityTagsProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.security.SecurityTagsProperties
SecurityTagsProperties 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.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSecurityTagsProperties(SecurityTagsProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the permissions for each access group.Return the list of security labels attached to the element.Return the security properties associated with the element.inthashCode()Create a hash code for this element type.voidsetAccessGroups(Map<String, List<String>> accessGroups) Set up the permissions for each access group.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.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
SecurityTagsProperties
public SecurityTagsProperties()Default constructor -
SecurityTagsProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
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 permissions for each access group.- Returns:
- access groups
-
setAccessGroups
Set up the permissions for each access group.- Parameters:
accessGroups- access groups
-
toString
Standard toString method.- Overrides:
toStringin classClassificationProperties- 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 classClassificationProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classClassificationProperties- Returns:
- int hash code
-