Package mc.core.model.project
Class ProjectPrincipalBase
java.lang.Object
mc.core.model.project.ProjectPrincipalBase
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity
- Direct Known Subclasses:
ProjectPrincipal,ProjectTaskSwimlane
common abstract base class for generic
ProjectPrincipal and ProjectTaskSwimlane- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanif principal is an user this is the primary (first) deputy of this user.longgetId()getUser()inthashCode()booleanisUser()booleanvoidsetDeputies(Set<User> deputies) voidsetDeputyUser(User deputy) voidsetId(long id) voidsetPrincipal(Principal principal) toString()
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getPrincipal
-
setPrincipal
-
setDeputies
-
getDeputyUser
if principal is an user this is the primary (first) deputy of this user. if principal is a group this is the main responsible (first) user from group -
setDeputyUser
-
getUser
-
getUserGroup
-
isUser
public boolean isUser() -
isUserGroup
public boolean isUserGroup() -
equals
-
hashCode
public int hashCode() -
toString
-