com.intland.codebeamer.persistence.dto
Class RoleDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.RoleDto
- All Implemented Interfaces:
- BaseDto, ReferableDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- ReadOnlyRoleDto
public class RoleDto
- extends DescribeableDto
- implements ReferableDto
The definition of a (project) role
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object obj)
Caution: NamedDto compareTo violates the rule that a.equals(b)
is equivalent to a.compareTo(b) == 0 , because only the names are compared |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDetails()
|
java.lang.String |
getIconUrl()
Returns the URL of the (small) icon image that represents
this DTO type. |
java.lang.String |
getInterwikiLink()
Returns the interwiki link that points to the web page
where this DTO is managed. |
java.lang.String |
getShortDescription()
Returns the short description that represent this
entity in the user interface. |
java.lang.String |
getUrlLink()
Returns the local URL that points to the web page
where this DTO is managed. |
int |
hashCode()
|
boolean |
isLinked()
|
void |
setDetails(java.lang.String details)
|
void |
setLinked(boolean v)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SYSADMIN
public static final java.lang.String SYSADMIN
- Default system group names
- See Also:
- Constant Field Values
USER
public static final java.lang.String USER
- See Also:
- Constant Field Values
PROJECT_ADMIN
public static final java.lang.String PROJECT_ADMIN
- Default project role names
- See Also:
- Constant Field Values
DEVELOPER_INTERN
public static final java.lang.String DEVELOPER_INTERN
- See Also:
- Constant Field Values
DEVELOPER_EXTERN
public static final java.lang.String DEVELOPER_EXTERN
- See Also:
- Constant Field Values
STAKEHOLDER
public static final java.lang.String STAKEHOLDER
- See Also:
- Constant Field Values
CUSTOMER
public static final java.lang.String CUSTOMER
- See Also:
- Constant Field Values
INTERWIKI_LINK_TYPE
public static final java.lang.String INTERWIKI_LINK_TYPE
- See Also:
- Constant Field Values
RoleDto
public RoleDto()
RoleDto
public RoleDto(java.lang.Integer id)
RoleDto
public RoleDto(java.lang.Integer id,
java.lang.String name)
RoleDto
public RoleDto(RoleDto role)
getDetails
public java.lang.String getDetails()
setDetails
public void setDetails(java.lang.String details)
isLinked
public boolean isLinked()
setLinked
public void setLinked(boolean v)
clone
public java.lang.Object clone()
- Overrides:
clone
in class IdentifiableDto
compareTo
public int compareTo(java.lang.Object obj)
- Description copied from class:
NamedDto
- Caution: NamedDto compareTo violates the rule that
a.equals(b)
is equivalent to a.compareTo(b) == 0
, because only the names are compared
- Specified by:
compareTo
in interface java.lang.Comparable
- Overrides:
compareTo
in class NamedDto
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class NamedDto
hashCode
public int hashCode()
- Overrides:
hashCode
in class NamedDto
getIconUrl
public java.lang.String getIconUrl()
- Description copied from interface:
ReferableDto
- Returns the URL of the (small) icon image that represents
this DTO type.
- Specified by:
getIconUrl
in interface ReferableDto
getInterwikiLink
public java.lang.String getInterwikiLink()
- Description copied from interface:
ReferableDto
- Returns the interwiki link that points to the web page
where this DTO is managed.
- Specified by:
getInterwikiLink
in interface ReferableDto
getShortDescription
public java.lang.String getShortDescription()
- Description copied from interface:
ReferableDto
- Returns the short description that represent this
entity in the user interface.
This normally delegates to another getter, like
ProjectDto.getName()
or
TrackerItemDto.getSummary()
.
- Specified by:
getShortDescription
in interface ReferableDto
getUrlLink
public java.lang.String getUrlLink()
- Description copied from interface:
ReferableDto
- Returns the local URL that points to the web page
where this DTO is managed.
- Specified by:
getUrlLink
in interface ReferableDto
Copyright © 2006-2009 Intland Software. All rights reserved.