java.lang.Object
org.gcube.vomanagement.usermanagement.model.GCubeGroup
All Implemented Interfaces:
Serializable

public class GCubeGroup extends Object implements Serializable
The Class GCubeGroup.
See Also:
  • Constructor Details

    • GCubeGroup

      public GCubeGroup()
      Instantiates a new g cube group.
    • GCubeGroup

      public GCubeGroup(long groupId, long parentGroupId, String groupName, String description, String friendlyURL, long logoId, List<GCubeGroup> children)
      Instantiates a new g cube group.
      Parameters:
      groupId - the group id
      parentGroupId - the parent group id
      groupName - the group name
      description - the description
      friendlyURL - the friendly URL
      logoId - the logo id
      children - the children
    • GCubeGroup

      public GCubeGroup(long groupId, long parentGroupId, String groupName, String description, String friendlyURL, long logoId, List<GCubeGroup> children, GroupMembershipType membershipType)
      Instantiates a new g cube group.
      Parameters:
      groupId - the group id
      parentGroupId - the parent group id
      groupName - the group name
      description - the description
      friendlyURL - the friendly URL
      logoId - the logo id
      children - the children
      membershipType - the membership type
    • GCubeGroup

      public GCubeGroup(long groupId, long parentGroupId, String groupName, String description, String friendlyURL, long logoId, int userCount, List<GCubeGroup> children, GroupMembershipType membershipType)
      Parameters:
      groupId -
      parentGroupId -
      groupName -
      description -
      friendlyURL -
      logoId -
      userCount -
      children -
      membershipType -
  • Method Details

    • getGroupId

      public long getGroupId()
      Gets the group id.
      Returns:
      the group id
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group id.
      Parameters:
      groupId - the new group id
    • getParentGroupId

      public long getParentGroupId()
      Gets the parent group id.
      Returns:
      the parent group id
    • setParentGroupId

      public void setParentGroupId(long parentGroupId)
      Sets the parent group id.
      Parameters:
      parentGroupId - the new parent group id
    • getGroupName

      public String getGroupName()
      Gets the group name.
      Returns:
      the group name
    • getName

      @Deprecated public String getName()
      Deprecated.
      use getGroupName
      Returns:
      the name
    • setGroupName

      public void setGroupName(String groupName)
      Sets the group name.
      Parameters:
      groupName - the new group name
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the new description
    • getFriendlyURL

      public String getFriendlyURL()
      Gets the friendly URL.
      Returns:
      the friendly URL
    • setFriendlyURL

      public void setFriendlyURL(String friendlyURL)
      Sets the friendly URL.
      Parameters:
      friendlyURL - the new friendly URL
    • getLogoId

      public long getLogoId()
      Gets the logo id.
      Returns:
      the logo id
    • setLogoId

      public void setLogoId(long logoId)
      Sets the logo id.
      Parameters:
      logoId - the new logo id
    • getChildren

      public List<GCubeGroup> getChildren()
      Gets the children.
      Returns:
      the children
    • setChildren

      public void setChildren(List<GCubeGroup> children)
      Sets the children.
      Parameters:
      children - the new children
    • getMembershipType

      public GroupMembershipType getMembershipType()
      Gets the membership type.
      Returns:
      the membership type
    • setMembershipType

      public void setMembershipType(GroupMembershipType membershipType)
      Sets the membership type.
      Parameters:
      membershipType - the new membership type
    • getUserCount

      public int getUserCount()
      Gets the user count.
      Returns:
      the user count
    • setUserCount

      public void setUserCount(int userCount)
      Sets the user count.
      Parameters:
      userCount - the new user count
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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