Class GrouperObjectProvisionerWrapper

java.lang.Object
edu.internet2.middleware.grouper.app.graph.GrouperObjectProvisionerWrapper
All Implemented Interfaces:
GrouperId, GrouperObject

public class GrouperObjectProvisionerWrapper extends Object implements GrouperObject
  • Constructor Details

    • GrouperObjectProvisionerWrapper

      public GrouperObjectProvisionerWrapper(String id)
      Creates a dummy provisioner object as a GrouperObject implementation so that it can be used as the contents of a GraphNode. The name, id, and displayName all return the same string.
      Parameters:
      id - The
  • Method Details

    • matchesLowerSearchStrings

      public boolean matchesLowerSearchStrings(Set<String> filterStrings)
      see if this object matches the filter strings
      Specified by:
      matchesLowerSearchStrings in interface GrouperObject
      Parameters:
      filterStrings -
      Returns:
      true if matches
    • getName

      public String getName()
      returns the id as a name
      Specified by:
      getName in interface GrouperObject
      Returns:
      the id of this object
    • getDescription

      public String getDescription()
      description of object, not implemented so returns blank string
      Specified by:
      getDescription in interface GrouperObject
      Returns:
      description
    • getDisplayName

      public String getDisplayName()
      returns the id as the displayName
      Specified by:
      getDisplayName in interface GrouperObject
      Returns:
      id of the object
    • getParentStem

      public Stem getParentStem()
      gets stem this is in, not implemented
      Specified by:
      getParentStem in interface GrouperObject
      Returns:
      the stem
    • getId

      public String getId()
      id of object
      Specified by:
      getId in interface GrouperId
      Returns:
      id
    • equals

      public boolean equals(Object obj)
      Compares two provisioners and considers them equal if they have the same id
      Overrides:
      equals in class Object
      Parameters:
      obj - provisioner to compare
      Returns:
    • hashCode

      public int hashCode()
      Computes the hash code based on the id field
      Overrides:
      hashCode in class Object
      Returns:
      object hash code
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: