CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class ReadOnlyGroupDto

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

public class ReadOnlyGroupDto
extends GroupDto
implements ReadOnlyDto

A special GroupDto 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.NamedDto
NamedDto.NameComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
IdentifiableDto.IdComparator
 
Field Summary
 
Fields inherited from class com.intland.codebeamer.persistence.dto.GroupDto
ACCOUNT_GROUP, UNSET_ID
 
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferenceHolderDto
Accessor
 
Constructor Summary
ReadOnlyGroupDto(GroupDto group)
          Create a read-only copy of the specified group
 
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 setId(java.lang.Integer id)
          Sets its unique identifier.
 void setName(java.lang.String name)
          Sets its (descriptive) name.
 void setObjectId(java.lang.Integer obj_id)
          Get the object id of the protected entity
 void setParentId(java.lang.Integer parentId)
          Set the id of the parent domain
 void setProjectId(java.lang.Integer pid)
          Set the id of the project where the protected entity belongs to
 void setReference(ReferenceDto reference)
          Set the reference to the protected entity
 void setTypeId(java.lang.Integer typeId)
          Set the type of the protected entity
 
Methods inherited from class com.intland.codebeamer.persistence.dto.GroupDto
equals, getObjectId, getParentId, getProjectId, getReference, getTypeId, hashCode
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, compareTo, 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

ReadOnlyGroupDto

public ReadOnlyGroupDto(GroupDto group)
Create a read-only copy of the specified group

Parameters:
group -
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 IdentifiableDto

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

setTypeId

public void setTypeId(java.lang.Integer typeId)
Description copied from class: GroupDto
Set the type of the protected entity

Overrides:
setTypeId in class GroupDto
Parameters:
typeId - of the protected entity

setObjectId

public void setObjectId(java.lang.Integer obj_id)
Description copied from class: GroupDto
Get the object id of the protected entity

Overrides:
setObjectId in class GroupDto
Parameters:
obj_id - of the protected entity, or null if not set

setProjectId

public void setProjectId(java.lang.Integer pid)
Description copied from class: GroupDto
Set the id of the project where the protected entity belongs to

Overrides:
setProjectId in class GroupDto
Parameters:
pid - of the project the protected entity belongs to, or null if entity is project independent

setParentId

public void setParentId(java.lang.Integer parentId)
Description copied from class: GroupDto
Set the id of the parent domain

Overrides:
setParentId in class GroupDto
Parameters:
parentId - is the id of the parent domain, or null if no parent exists

setReference

public void setReference(ReferenceDto reference)
Description copied from class: GroupDto
Set the reference to the protected entity

Overrides:
setReference in class GroupDto
Parameters:
reference - identifies the protected entity

CodeBeamer 5.4.0.1-RC API

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