com.starteam
Class ChangeRequest.Platform

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

public static final class ChangeRequest.Platform
extends EnumeratedValue

The platform on which the need for this request was discovered.

See Also:
ChangeRequest.Type.PlatformProperty, ChangeRequest.Type.PropertyCollection.PLATFORM, Serialized Form

Field Summary
static ChangeRequest.Platform[] ALL
           
static ChangeRequest.Platform ALL_PLATFORMS
          All platforms.
static ChangeRequest.Platform MAC_OS
          MacOS.
static ChangeRequest.Platform OTHER
          Other.
static ChangeRequest.Platform UNIX
          Unix.
static ChangeRequest.Platform WINDOWS_2000
          Windows 2000.
static ChangeRequest.Platform WINDOWS_2003
          Windows 2003.
static ChangeRequest.Platform WINDOWS_2008
          Windows 2008.
static ChangeRequest.Platform WINDOWS_95
          Windows 95.
static ChangeRequest.Platform WINDOWS_98
          Windows 98.
static ChangeRequest.Platform WINDOWS_NT
          Windows NT.
static ChangeRequest.Platform WINDOWS_VISTA
          Windows Vista.
static ChangeRequest.Platform WINDOWS_XP
          Windows XP.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this EnumeratedValue instance with another one.
static ChangeRequest.Platform fromID(int id)
          Gets the Platform value corresponding to the given ID.
static ChangeRequest.Platform fromValue(EnumeratedValue value)
          Gets the Platform 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 PlatformProperty.
 int hashCode()
          returns a unique hash 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

ALL_PLATFORMS

public static final ChangeRequest.Platform ALL_PLATFORMS
All platforms.


WINDOWS_95

public static final ChangeRequest.Platform WINDOWS_95
Windows 95.


WINDOWS_98

public static final ChangeRequest.Platform WINDOWS_98
Windows 98.


WINDOWS_NT

public static final ChangeRequest.Platform WINDOWS_NT
Windows NT.


MAC_OS

public static final ChangeRequest.Platform MAC_OS
MacOS.


UNIX

public static final ChangeRequest.Platform UNIX
Unix.


OTHER

public static final ChangeRequest.Platform OTHER
Other.


WINDOWS_2000

public static final ChangeRequest.Platform WINDOWS_2000
Windows 2000.


WINDOWS_XP

public static final ChangeRequest.Platform WINDOWS_XP
Windows XP.


WINDOWS_2003

public static final ChangeRequest.Platform WINDOWS_2003
Windows 2003.


WINDOWS_VISTA

public static final ChangeRequest.Platform WINDOWS_VISTA
Windows Vista.


WINDOWS_2008

public static final ChangeRequest.Platform WINDOWS_2008
Windows 2008.


ALL

public static final ChangeRequest.Platform[] ALL
Method Detail

getID

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

Returns:
The ID of this Platform value.

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 ChangeRequest.Platform fromValue(EnumeratedValue value)
Gets the Platform value corresponding to the given EnumeratedValue.

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

fromID

public static ChangeRequest.Platform fromID(int id)
Gets the Platform value corresponding to the given ID.

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

equals

public boolean equals(java.lang.Object o)
Description copied from class: EnumeratedValue
Compares this EnumeratedValue instance with another one. Returns true if their properties match, false otherwise

Overrides:
equals in class EnumeratedValue
Parameters:
o - The other EnumeratedValue instance
Returns:
boolean true if the two EnumeratedValues are equals

hashCode

public int hashCode()
Description copied from class: EnumeratedValue
returns a unique hash for this instance

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


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