Class BwGroupEntry

java.lang.Object
org.bedework.calfacade.BwGroupEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BwAdminGroupEntry

public class BwGroupEntry extends Object implements Serializable
A table allowing us to retrieve group members which may themselves be groups.
Version:
1.0
Author:
Mike Douglass douglm@bedework.edu
See Also:
  • Constructor Details

    • BwGroupEntry

      public BwGroupEntry()
      Constructor
  • Method Details

    • setGrp

      public void setGrp(BwGroup val)
      Set the group
      Parameters:
      val - BwGroup
    • getGrp

      public BwGroup getGrp()
      Get the group
      Returns:
      BwGroup the group
    • setGroupId

      public void setGroupId(int val)
      Set the grp id
      Parameters:
      val - int grp id
    • getGroupId

      public int getGroupId()
      Get the grp id
      Returns:
      int the grp id
    • setMemberId

      public void setMemberId(int val)
      Set the member id
      Parameters:
      val - int member id
    • getMemberId

      public int getMemberId()
      Get the member id
      Returns:
      int the member id
    • setMemberIsGroup

      public void setMemberIsGroup(boolean val)
      Set the member is grp flag
      Parameters:
      val - boolean member is grp flag
    • getMemberIsGroup

      public boolean getMemberIsGroup()
      Get the member is grp flag
      Returns:
      boolean the member is grp flag
    • setMember

      public void setMember(BwPrincipal val)
      Set the member
      Parameters:
      val - BwPrincipal member
    • getMember

      public BwPrincipal getMember()
      Get the member
      Returns:
      BwPrincipal the member
    • compareTo

      public int compareTo(Object o)
      Compare this and an object
      Parameters:
      o - object to compare.
      Returns:
      int -1, 0, 1
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object