CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class TrackerChoiceOptionDto

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
All Implemented Interfaces:
BaseDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
ReadOnlyChoiceOptionDto

public class TrackerChoiceOptionDto
extends NamedDto

Wraps a tracker-item choice option.

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
static java.lang.String NULL_STATUS_NAME
           
 
Constructor Summary
TrackerChoiceOptionDto()
           
TrackerChoiceOptionDto(TrackerChoiceOptionDto option)
           
TrackerChoiceOptionDto(TrackerDto tracker, java.lang.Integer field, java.lang.Integer id, java.lang.String name, java.lang.Boolean visible, java.lang.Integer offset)
           
 
Method Summary
 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.Integer getLabelId()
           
 java.lang.Integer getOffset()
           
 TrackerDto getTracker()
           
 int hashCode()
           
 java.lang.Boolean isVisible()
           
 void setLabelId(java.lang.Integer labelId)
           
 void setOffset(java.lang.Integer offset)
           
 void setTracker(TrackerDto tracker)
           
 void setVisible(java.lang.Boolean visible)
           
 java.lang.String toString()
           
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName, setName
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
clone, compare, compareInteger, equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_STATUS_NAME

public static final java.lang.String NULL_STATUS_NAME
See Also:
Constant Field Values
Constructor Detail

TrackerChoiceOptionDto

public TrackerChoiceOptionDto()

TrackerChoiceOptionDto

public TrackerChoiceOptionDto(TrackerDto tracker,
                              java.lang.Integer field,
                              java.lang.Integer id,
                              java.lang.String name,
                              java.lang.Boolean visible,
                              java.lang.Integer offset)

TrackerChoiceOptionDto

public TrackerChoiceOptionDto(TrackerChoiceOptionDto option)
Method Detail

getTracker

public TrackerDto getTracker()

setTracker

public void setTracker(TrackerDto tracker)

getLabelId

public java.lang.Integer getLabelId()

setLabelId

public void setLabelId(java.lang.Integer labelId)

isVisible

public java.lang.Boolean isVisible()

setVisible

public void setVisible(java.lang.Boolean visible)

getOffset

public java.lang.Integer getOffset()

setOffset

public void setOffset(java.lang.Integer offset)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class NamedDto

hashCode

public int hashCode()
Overrides:
hashCode in class NamedDto

toString

public java.lang.String toString()
Overrides:
toString in class NamedDto

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

CodeBeamer 5.4.0.1-RC API

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