java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.NamedList

public class NamedList extends Object
NamedList described a list of users, or other named list. A named list can represent a security group, defining who has access to a specific resource, or a security role, defining who is performing a specific role.
  • Constructor Details

    • NamedList

      public NamedList()
      Default constructor
    • NamedList

      public NamedList(NamedList template)
      Copy constructor
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Return the display name for this list.
      Returns:
      string
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the display name for this list.
      Parameters:
      displayName - string
    • getDescription

      public String getDescription()
      Return the description of this list.
      Returns:
      string
    • setDescription

      public void setDescription(String description)
      Set up the description of this list.
      Parameters:
      description - string
    • getDistinguishedName

      public String getDistinguishedName()
      Return the distinguished name of the list.
      Returns:
      string name
    • setDistinguishedName

      public void setDistinguishedName(String distinguishedName)
      Set up the distinguished name of the list.
      Parameters:
      distinguishedName - string name
    • getUserMembers

      public List<String> getUserMembers()
      Return the list of members - typically this is the distinguished names of the members.
      Returns:
      list of names
    • setUserMembers

      public void setUserMembers(List<String> userMembers)
      Set up the list of user account members - typically this is the distinguished names of the members.
      Parameters:
      userMembers - list of names
    • getListMembers

      public List<String> getListMembers()
      Return the list of nested lists - typically this is the distinguished names of the members.
      Returns:
      list of names
    • setListMembers

      public void setListMembers(List<String> listMembers)
      Set up list of nested lists - typically this is the distinguished names of the members.
      Parameters:
      listMembers - list of names
    • getOtherProperties

      public Map<String,Object> getOtherProperties()
      Return any other properties that should be shared with security providers.
      Returns:
      property map
    • setOtherProperties

      public void setOtherProperties(Map<String,Object> otherProperties)
      Set up any other properties that should be shared with security providers.
      Parameters:
      otherProperties - property map
    • 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 Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class Object
      Returns:
      int