CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class RoleDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.base.IdentifiableDto
      extended by com.intland.codebeamer.persistence.dto.base.NamedDto
          extended by com.intland.codebeamer.persistence.dto.base.DescribeableDto
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
DescribeableDto.DescriptionComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
NamedDto.NameComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
IdentifiableDto.IdComparator
 
Nested classes/interfaces inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
ReferableDto.DescriptionComparator
 
Field Summary
static java.lang.String CUSTOMER
           
static java.lang.String DEVELOPER_EXTERN
           
static java.lang.String DEVELOPER_INTERN
           
static java.lang.String INTERWIKI_LINK_TYPE
           
static java.lang.String PROJECT_ADMIN
          Default project role names
static java.lang.String STAKEHOLDER
           
static java.lang.String SYSADMIN
          Default system group names
static java.lang.String USER
           
 
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
HEAD_VERSION, SECTION_DELIMITER, VERSION_DELIMITER
 
Constructor Summary
RoleDto()
           
RoleDto(java.lang.Integer id)
           
RoleDto(java.lang.Integer id, java.lang.String name)
           
RoleDto(RoleDto role)
           
 
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 com.intland.codebeamer.persistence.dto.base.DescribeableDto
compareByDescription, getDescription, getDescriptionFormat, setDescription, setDescriptionFormat
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName, setName, toString
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
compare, compareInteger, equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.