Class GCubeGroup
java.lang.Object
org.gcube.vomanagement.usermanagement.model.GCubeGroup
- All Implemented Interfaces:
Serializable
The Class GCubeGroup.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new g cube group.GCubeGroup(long groupId, long parentGroupId, String groupName, String description, String friendlyURL, long logoId, int userCount, List<GCubeGroup> children, GroupMembershipType membershipType) GCubeGroup(long groupId, long parentGroupId, String groupName, String description, String friendlyURL, long logoId, List<GCubeGroup> children) Instantiates a new g cube group.GCubeGroup(long groupId, long parentGroupId, String groupName, String description, String friendlyURL, long logoId, List<GCubeGroup> children, GroupMembershipType membershipType) Instantiates a new g cube group. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the children.Gets the description.Gets the friendly URL.longGets the group id.Gets the group name.longGets the logo id.Gets the membership type.getName()Deprecated.longGets the parent group id.intGets the user count.voidsetChildren(List<GCubeGroup> children) Sets the children.voidsetDescription(String description) Sets the description.voidsetFriendlyURL(String friendlyURL) Sets the friendly URL.voidsetGroupId(long groupId) Sets the group id.voidsetGroupName(String groupName) Sets the group name.voidsetLogoId(long logoId) Sets the logo id.voidsetMembershipType(GroupMembershipType membershipType) Sets the membership type.voidsetParentGroupId(long parentGroupId) Sets the parent group id.voidsetUserCount(int userCount) Sets the user count.toString()
-
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 idparentGroupId- the parent group idgroupName- the group namedescription- the descriptionfriendlyURL- the friendly URLlogoId- the logo idchildren- 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 idparentGroupId- the parent group idgroupName- the group namedescription- the descriptionfriendlyURL- the friendly URLlogoId- the logo idchildren- the childrenmembershipType- 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
Gets the group name.- Returns:
- the group name
-
getName
Deprecated.use getGroupName- Returns:
- the name
-
setGroupName
Sets the group name.- Parameters:
groupName- the new group name
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
getFriendlyURL
Gets the friendly URL.- Returns:
- the friendly URL
-
setFriendlyURL
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
Gets the children.- Returns:
- the children
-
setChildren
Sets the children.- Parameters:
children- the new children
-
getMembershipType
Gets the membership type.- Returns:
- the membership type
-
setMembershipType
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
-
equals
-