Class VootPerson

java.lang.Object
edu.internet2.middleware.grouperVoot.beans.VootPerson

public class VootPerson extends Object
VOOT person bean that gets transformed to json.
  • Constructor Details

    • VootPerson

      public VootPerson()
      Default constructor.
    • VootPerson

      public VootPerson(Subject subject)
      Contructor that builds a VOOT person from a Grouper subject.
      Parameters:
      subject - the groupser subject.
  • Method Details

    • equals

      public boolean equals(Object otherVootPerson)
      Method to check if an object is equal to the current object.
      Overrides:
      equals in class Object
      Parameters:
      otherVootPerson - the other object to check
    • getVoot_membership_role

      public String getVoot_membership_role()
      Get the voot membership role (being "manager", "admin" or "member").
      Returns:
      the voot membership role
    • setVoot_membership_role

      public void setVoot_membership_role(String voot_membership_role1)
      Set the voot membership role (being "manager", "admin" or "member").
      Parameters:
      voot_membership_role1 - the voot membership role
    • getId

      public String getId()
      Get the person id, e.g. jsmith
      Returns:
      the person id, e.g. jsmith
    • setId

      public void setId(String id1)
      Set the person id, e.g. jsmith
      Parameters:
      id1 - the the person id, e.g. jsmith
    • getDisplayName

      public String getDisplayName()
      Get the display name, e.g. John Smith
      Returns:
      the display name, e.g. John Smith
    • setDisplayName

      public void setDisplayName(String displayName1)
      Set the display name, e.g. John Smith
      Parameters:
      displayName1 - the display name, e.g. John Smith
    • getEmails

      public VootEmail[] getEmails()
      Get email addresses e.g. jsmith@school.edu, johns@company.com
      Returns:
      the email addresses.
    • setEmails

      public void setEmails(VootEmail[] emails1)
      Set email addresses e.g. jsmith@school.edu, johns@company.com
      Parameters:
      emails1 - the email addresses.