Class SecurityTagsProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class SecurityTagsProperties
    extends java.lang.Object
    implements java.io.Serializable
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.util.List<java.lang.String> getSecurityLabels()
      Return the list of security labels attached to the element.
      java.util.Map<java.lang.String,​java.lang.Object> getSecurityProperties()
      Return the security properties associated with the element.
      int hashCode()
      Create a hash code for this element type.
      void setSecurityLabels​(java.util.List<java.lang.String> securityLabels)
      Set up the list of security labels for the element.
      void setSecurityProperties​(java.util.Map<java.lang.String,​java.lang.Object> securityProperties)
      Set up the security properties associated with the element.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SecurityTagsProperties

        public SecurityTagsProperties()
        Default constructor
      • SecurityTagsProperties

        public SecurityTagsProperties​(SecurityTagsProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getSecurityLabels

        public java.util.List<java.lang.String> getSecurityLabels()
        Return the list of security labels attached to the element.
        Returns:
        list of label strings
      • setSecurityLabels

        public void setSecurityLabels​(java.util.List<java.lang.String> securityLabels)
        Set up the list of security labels for the element.
        Parameters:
        securityLabels - list of label strings
      • getSecurityProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getSecurityProperties()
        Return the security properties associated with the element. These are name-value pairs.
        Returns:
        map of properties
      • setSecurityProperties

        public void setSecurityProperties​(java.util.Map<java.lang.String,​java.lang.Object> securityProperties)
        Set up the security properties associated with the element. These are name-value pairs.
        Parameters:
        securityProperties - map of properties
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code