eu.etaxonomy.cdm.model.common
Class Group
java.lang.Object
eu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.Group
- All Implemented Interfaces:
- ICdmBase, Serializable, Cloneable
@Indexed(index="eu.etaxonomy.cdm.model.common.Group")
public class Group
- extends CdmBase
- See Also:
- Serialized Form
| Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
|
Constructor Summary |
protected |
Group()
|
| Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
addPropertyChangeListener, addPropertyChangeListener, clone, deproxy, equals, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid, toString |
name
@Field(index=UN_TOKENIZED)
protected String name
members
protected Set<User> members
grantedAuthorities
protected Set<org.springframework.security.core.GrantedAuthority> grantedAuthorities
Group
protected Group()
NewInstance
public static Group NewInstance()
NewInstance
public static Group NewInstance(String name)
getGrantedAuthorities
public Set<org.springframework.security.core.GrantedAuthority> getGrantedAuthorities()
addGrantedAuthority
public boolean addGrantedAuthority(org.springframework.security.core.GrantedAuthority grantedAuthority)
removeGrantedAuthority
public boolean removeGrantedAuthority(org.springframework.security.core.GrantedAuthority grantedAuthority)
setName
public void setName(String name)
getName
public String getName()
getMembers
public Set<User> getMembers()
addMember
public boolean addMember(User user)
removeMember
public boolean removeMember(User user)
clone
public Object clone()
- Clones this Group. This is a shortcut that enables to create
a new instance that differs only slightly from this group by
modifying only some of the attributes.
- Overrides:
clone in class CdmBase
- See Also:
TermBase.clone(),
Object.clone()
Copyright © 2007-2012 EDIT. All Rights Reserved.