com.intland.codebeamer.persistence.dto
Class ReadOnlyChoiceOptionDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.TrackerChoiceOptionDto
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
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ReadOnlyChoiceOptionDto
public ReadOnlyChoiceOptionDto(TrackerChoiceOptionDto choice)
- Create a read-only version of the specified TrackerChoiceOptionDto
- Parameters:
choice
- is the TrackerChoiceOptionDto with the data
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
Copyright © 2006-2009 Intland Software. All rights reserved.