Class AssetSecurityTags
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetSecurityTags
-
- All Implemented Interfaces:
Serializable
public class AssetSecurityTags extends AssetPropertyBase
Meaning is a cut-down summary of a glossary term to aid the asset consumer in understanding the content of an asset.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
parentAsset
-
-
Constructor Summary
Constructors Constructor Description AssetSecurityTags(AssetDescriptor parentAsset, AssetSecurityTags template)Copy/clone constructor.AssetSecurityTags(AssetDescriptor parentAsset, SecurityTags securityTags)Bean constructorAssetSecurityTags(SecurityTags securityTags)Bean 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.protected SecurityTagsgetSecurityTags()Return the bean containing all of the propertiesinthashCode()Hash of propertiesStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
getParentAsset, getParentAssetName, getParentAssetTypeName
-
-
-
-
Constructor Detail
-
AssetSecurityTags
public AssetSecurityTags(SecurityTags securityTags)
Bean constructor- Parameters:
securityTags- - bean containing all of the properties
-
AssetSecurityTags
public AssetSecurityTags(AssetDescriptor parentAsset, SecurityTags securityTags)
Bean constructor- Parameters:
parentAsset- descriptor for parent assetsecurityTags- - bean containing all of the properties
-
AssetSecurityTags
public AssetSecurityTags(AssetDescriptor parentAsset, AssetSecurityTags template)
Copy/clone constructor.- Parameters:
parentAsset- descriptor for parent assettemplate- element to copy
-
-
Method Detail
-
getSecurityTags
protected SecurityTags getSecurityTags()
Return the bean containing all of the properties- Returns:
- bean
-
getSecurityLabels
public List<String> getSecurityLabels()
Return the list of security labels attached to the element.- Returns:
- 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
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classAssetPropertyBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classAssetPropertyBase- Returns:
- int
-
-