CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class ReadOnlyChoiceOptionDto

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

public class ReadOnlyChoiceOptionDto
extends TrackerChoiceOptionDto
implements ReadOnlyDto

A special TrackerChoiceOptionDto 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.TrackerChoiceOptionDto
NULL_STATUS_NAME
 
Constructor Summary
ReadOnlyChoiceOptionDto(TrackerChoiceOptionDto choice)
          Create a read-only version of the specified TrackerChoiceOptionDto
 
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 setLabelId(java.lang.Integer labelId)
           
 void setName(java.lang.String name)
          Sets its (descriptive) name.
 void setOffset(java.lang.Integer offset)
           
 void setTracker(TrackerDto tracker)
           
 void setVisible(java.lang.Boolean visible)
           
 
Methods inherited from class com.intland.codebeamer.persistence.dto.TrackerChoiceOptionDto
compareTo, equals, getLabelId, getOffset, getTracker, hashCode, isVisible, toString
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName
 
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

ReadOnlyChoiceOptionDto

public ReadOnlyChoiceOptionDto(TrackerChoiceOptionDto choice)
Create a read-only version of the specified TrackerChoiceOptionDto

Parameters:
choice - is the TrackerChoiceOptionDto with the data
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

setLabelId

public void setLabelId(java.lang.Integer labelId)
Overrides:
setLabelId in class TrackerChoiceOptionDto

setOffset

public void setOffset(java.lang.Integer offset)
Overrides:
setOffset in class TrackerChoiceOptionDto

setTracker

public void setTracker(TrackerDto tracker)
Overrides:
setTracker in class TrackerChoiceOptionDto

setVisible

public void setVisible(java.lang.Boolean visible)
Overrides:
setVisible in class TrackerChoiceOptionDto

setName

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

Overrides:
setName in class NamedDto

setId

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

Overrides:
setId in class IdentifiableDto

CodeBeamer 5.4.0.1-RC API

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