CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class ReadOnlyRoleDto

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
                  extended by com.intland.codebeamer.persistence.dto.ReadOnlyRoleDto
All Implemented Interfaces:
BaseDto, ReadOnlyDto, ReferableDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class ReadOnlyRoleDto
extends RoleDto
implements ReadOnlyDto

A special RoleDto that doesn't allow to change it's attributes All attempts to invoke a property setter method will throw an UnsupportedOperationException

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
 
Fields inherited from class com.intland.codebeamer.persistence.dto.RoleDto
CUSTOMER, DEVELOPER_EXTERN, DEVELOPER_INTERN, INTERWIKI_LINK_TYPE, PROJECT_ADMIN, STAKEHOLDER, SYSADMIN, USER
 
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
HEAD_VERSION, SECTION_DELIMITER, VERSION_DELIMITER
 
Constructor Summary
ReadOnlyRoleDto(RoleDto role)
          Create a read-only version of the specified role
 
Method Summary
 java.lang.Object clone()
          Create a writable copy of this ReadOnlyDto Caution: The semantics are different than the standard Object.clone() method, because the returned object's class is typically different from the ReadOnlyDtos's class
 void setDescription(java.lang.String description)
          Set the description text
 void setDetails(java.lang.String details)
           
 void setId(java.lang.Integer id)
          Sets its unique identifier.
 void setLinked(boolean v)
           
 void setName(java.lang.String name)
          Sets its (descriptive) name.
 
Methods inherited from class com.intland.codebeamer.persistence.dto.RoleDto
compareTo, equals, getDetails, getIconUrl, getInterwikiLink, getShortDescription, getUrlLink, hashCode, isLinked
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
compareByDescription, getDescription, getDescriptionFormat, setDescriptionFormat
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName, toString
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
compare, compareInteger, equals, getId, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadOnlyRoleDto

public ReadOnlyRoleDto(RoleDto role)
Create a read-only version of the specified role

Parameters:
role -
Method Detail

clone

public java.lang.Object clone()
Description copied from interface: ReadOnlyDto
Create a writable copy of this ReadOnlyDto Caution: The semantics are different than the standard Object.clone() method, because the returned object's class is typically different from the ReadOnlyDtos's class

Specified by:
clone in interface ReadOnlyDto
Overrides:
clone in class RoleDto

setId

public void setId(java.lang.Integer id)
Description copied from class: IdentifiableDto
Sets its unique identifier.

Overrides:
setId in class IdentifiableDto

setName

public void setName(java.lang.String name)
Description copied from class: NamedDto
Sets its (descriptive) name.

Overrides:
setName in class NamedDto

setDescription

public void setDescription(java.lang.String description)
Description copied from class: DescribeableDto
Set the description text

Overrides:
setDescription in class DescribeableDto
Parameters:
description - the description text

setDetails

public void setDetails(java.lang.String details)
Overrides:
setDetails in class RoleDto

setLinked

public void setLinked(boolean v)
Overrides:
setLinked in class RoleDto

CodeBeamer 5.4.0.1-RC API

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