Package de.dlr.proseo.usermgr.rest.model
Class RestGroup
java.lang.Object
de.dlr.proseo.usermgr.rest.model.RestGroup
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe authorities granted to this user group (filtered by mission)protected StringThe (unique) name of the group, consisting of the mission code, a hyphen ("-") and the actual group nameprotected LongThe persistent id of user group(package private) static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the authorities.@NotNull StringReturns the groupname.getId()Returns the id.inthashCode()voidsetAuthorities(List<String> authorities) Set the authorities.voidsetGroupname(String groupname) Set the groupname.voidSet the id.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
id
The persistent id of user group -
groupname
The (unique) name of the group, consisting of the mission code, a hyphen ("-") and the actual group name -
authorities
The authorities granted to this user group (filtered by mission)
-
-
Constructor Details
-
RestGroup
public RestGroup()Creates a new RestGroup. -
RestGroup
Creates a new RestGroup.
-
-
Method Details
-
getId
Returns the id.- Returns:
- id
-
setId
Set the id.- Parameters:
id- the new id
-
getGroupname
Returns the groupname.- Returns:
- groupname
-
setGroupname
Set the groupname.- Parameters:
groupname- the new groupname
-
getAuthorities
Returns the authorities.- Returns:
- authorities
-
setAuthorities
Set the authorities.- Parameters:
authorities- the new authorities
-
hashCode
public int hashCode() -
equals
-
toString
-