Class 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
    • 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 asset
        securityTags - - bean containing all of the properties
      • AssetSecurityTags

        public AssetSecurityTags​(AssetDescriptor parentAsset,
                                 AssetSecurityTags template)
        Copy/clone constructor.
        Parameters:
        parentAsset - descriptor for parent asset
        template - 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.
        Overrides:
        toString in class Object
        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:
        equals in class AssetPropertyBase
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison