com.starteam
Class Story.EstimatedPoints

java.lang.Object
  extended by com.starteam.EnumeratedValue
      extended by com.starteam.Story.EstimatedPoints
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Story

public static final class Story.EstimatedPoints
extends EnumeratedValue

The Estimated Points of this story

See Also:
Serialized Form

Field Summary
static Story.EstimatedPoints[] ALL
          All legal estimated point values
static Story.EstimatedPoints EIGHT
          "8" Points
static Story.EstimatedPoints FIVE
          "5" Points
static Story.EstimatedPoints FORTY
          "40" Points
static Story.EstimatedPoints ONE
          "1" Point
static Story.EstimatedPoints ONE_HUNDRED
          "100" Points
static Story.EstimatedPoints THIRTEEN
          "13" Points
static Story.EstimatedPoints THREE
          "3" Points
static Story.EstimatedPoints TWENTY_ONE
          "21" Points
static Story.EstimatedPoints TWO
          "2" Points
static Story.EstimatedPoints ZERO
          "0" Points
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this object with the Object o
static Story.EstimatedPoints fromID(int id)
          Gets the EstimatedPoints value corresponding to the given ID.
static Story.EstimatedPoints fromValue(EnumeratedValue value)
          Gets the EstimatedPoints value corresponding to the given EnumeratedValue.
 int getCode()
          Return the enum code for this object.
 int getID()
          The ID of the corresponding EnumeratedValue, as defined in EstimatedPointsProperty.
 int hashCode()
          returns a hashCode for this instance
 
Methods inherited from class com.starteam.EnumeratedValue
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayName, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

public static final Story.EstimatedPoints ZERO
"0" Points


ONE

public static final Story.EstimatedPoints ONE
"1" Point


TWO

public static final Story.EstimatedPoints TWO
"2" Points


THREE

public static final Story.EstimatedPoints THREE
"3" Points


FIVE

public static final Story.EstimatedPoints FIVE
"5" Points


EIGHT

public static final Story.EstimatedPoints EIGHT
"8" Points


THIRTEEN

public static final Story.EstimatedPoints THIRTEEN
"13" Points


TWENTY_ONE

public static final Story.EstimatedPoints TWENTY_ONE
"21" Points


FORTY

public static final Story.EstimatedPoints FORTY
"40" Points


ONE_HUNDRED

public static final Story.EstimatedPoints ONE_HUNDRED
"100" Points


ALL

public static final Story.EstimatedPoints[] ALL
All legal estimated point values

Method Detail

getID

public int getID()
The ID of the corresponding EnumeratedValue, as defined in EstimatedPointsProperty.

Returns:
The ID of this EstimatedPoints value.
See Also:
Story.Type.EstimatedPointsProperty.NAME

getCode

public int getCode()
Return the enum code for this object.

Overrides:
getCode in class EnumeratedValue
Returns:
the enum code for this object.

fromValue

public static Story.EstimatedPoints fromValue(EnumeratedValue value)
Gets the EstimatedPoints value corresponding to the given EnumeratedValue.

Parameters:
value - One of the EnumeratedValues of a EstimatedPointsProperty.
Returns:
The corresponding EstimatedPoints value, or null.

fromID

public static Story.EstimatedPoints fromID(int id)
Gets the EstimatedPoints value corresponding to the given ID.

Parameters:
id - A EstimatedPoints ID.
Returns:
The corresponding EstimatedPoints value, or null.

equals

public boolean equals(java.lang.Object o)
Compares this object with the Object o

Overrides:
equals in class EnumeratedValue
Parameters:
o - the Object to compare for equality
Returns:
true if the two objects are identical

hashCode

public int hashCode()
returns a hashCode for this instance

Overrides:
hashCode in class EnumeratedValue
Returns:
a hashCode for this instance


StarTeam SDK 13.0, Build 31
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.