com.starteam
Class Project.Methodology

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

public static final class Project.Methodology
extends EnumeratedValue

Defines the development methodology property of the Project. This property is new to 12.5+ servers

See Also:
Serialized Form

Field Summary
static Project.Methodology AGILE
          Defines the agile development methodology for the project.
static Project.Methodology[] ALL
          All of the supported development methodology types for a project.
static Project.Methodology KANBAN
          Defines the kanban development methodology for the project.
static Project.Methodology MIGRATION
          Defines the migration development methodology for the project.
static Project.Methodology WATERFALL
          Defines the waterfall development methodology for the project.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares the given methodology instance with this one
static Project.Methodology fromID(int id)
          returns a methodology object corresponding to the given integer ID
static Project.Methodology fromValue(EnumeratedValue value)
          Gets the development methodology 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 MethodologyProperty.
 int hashCode()
          returns a hashCode for this methodology 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

AGILE

public static final Project.Methodology AGILE
Defines the agile development methodology for the project.


KANBAN

public static final Project.Methodology KANBAN
Defines the kanban development methodology for the project.


WATERFALL

public static final Project.Methodology WATERFALL
Defines the waterfall development methodology for the project.


MIGRATION

public static final Project.Methodology MIGRATION
Defines the migration development methodology for the project.


ALL

public static final Project.Methodology[] ALL
All of the supported development methodology types for a project.

Method Detail

getID

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

Returns:
The ID of this Methodology value.
See Also:
Project.Type.MethodologyProperty.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 Project.Methodology fromValue(EnumeratedValue value)
Gets the development methodology value corresponding to the given EnumeratedValue.

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

fromID

public static Project.Methodology fromID(int id)
returns a methodology object corresponding to the given integer ID

Parameters:
id - the id of the Methodology to look for
Returns:
the equivalent Status

equals

public boolean equals(java.lang.Object o)
Compares the given methodology instance with this one

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

hashCode

public int hashCode()
returns a hashCode for this methodology instance

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


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