Class SecurityTagsProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SecurityTagsProperties
SecurityTagsProperties provides a structure for passing information about the security tags that should be
attached to an asset or one of its fields.
-
Constructor Summary
ConstructorDescriptionDefault constructorSecurityTagsProperties
(SecurityTagsProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the map from operation to list of security groups.Return the list of security labels that should be attached to this element.Return the security properties that should be attached to this element.int
hashCode()
Return hash code for this objectvoid
setAccessGroups
(Map<String, List<String>> accessGroups) Set up the map from operation to list of security groups.void
setSecurityLabels
(List<String> securityLabels) Set up the list of security labels that should be attached to this element.void
setSecurityProperties
(Map<String, Object> securityProperties) Set up the security properties that should be attached to this element.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.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 that should be attached to this element.- Returns:
- list of strings
-
setSecurityLabels
Set up the list of security labels that should be attached to this element.- Parameters:
securityLabels
- list of strings
-
getSecurityProperties
Return the security properties that should be attached to this element.- Returns:
- map of property values
-
setSecurityProperties
Set up the security properties that should be attached to this element.- Parameters:
securityProperties
- map of property values
-
getAccessGroups
Return the map from operation to list of security groups.- Returns:
- map
-
setAccessGroups
Set up the map from operation to list of security groups.- Parameters:
accessGroups
- map
-
toString
JSON-style toString.- Overrides:
toString
in classClassificationProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int hash code
-