com.starteam
Class Server.ProductCode

java.lang.Object
  extended by com.starteam.Server.ProductCode
Enclosing class:
Server

public static final class Server.ProductCode
extends java.lang.Object

This public final class defines constant values for the various StarTeam product codes.


Field Summary
static Server.ProductCode[] ALL
          All valid StarTeam product codes
static Server.ProductCode CUSTOMIZATION
          Customization.
static Server.ProductCode ELITE
          StarTeam "Elite" (Enterprise Advantage)
static Server.ProductCode ENTERPRISE
          The StarTeam "Enterprise" product.
static Server.ProductCode EXPRESS
          Express
static Server.ProductCode MPX
          MPX
static Server.ProductCode REQUIREMENTS
          Support for the "Requirement" component.
static Server.ProductCode STANDARD
          The "Standard" StarTeam product.
static Server.ProductCode STARDISK
          StarDisk
static Server.ProductCode TASKS
          Support for the "Task" component.
 
Method Summary
 boolean equals(java.lang.Object prdctCd)
          compares two product codes for equality
static Server.ProductCode fromID(int id)
          Gets the Product code value corresponding to the given ID.
 int getID()
          Returns a internal id of the Product code.
 int hashCode()
          Returns a hash code value for the Product code.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDARD

public static final Server.ProductCode STANDARD
The "Standard" StarTeam product.


ENTERPRISE

public static final Server.ProductCode ENTERPRISE
The StarTeam "Enterprise" product.


STARDISK

public static final Server.ProductCode STARDISK
StarDisk


CUSTOMIZATION

public static final Server.ProductCode CUSTOMIZATION
Customization. Allows users to add new properties or modify existing ones.


TASKS

public static final Server.ProductCode TASKS
Support for the "Task" component.


REQUIREMENTS

public static final Server.ProductCode REQUIREMENTS
Support for the "Requirement" component.


ELITE

public static final Server.ProductCode ELITE
StarTeam "Elite" (Enterprise Advantage)


MPX

public static final Server.ProductCode MPX
MPX


EXPRESS

public static final Server.ProductCode EXPRESS
Express


ALL

public static final Server.ProductCode[] ALL
All valid StarTeam product codes

Method Detail

getID

public int getID()
Returns a internal id of the Product code.


hashCode

public int hashCode()
Returns a hash code value for the Product code.

Overrides:
hashCode in class java.lang.Object
Returns:
a hast code for the Product code

equals

public boolean equals(java.lang.Object prdctCd)
compares two product codes for equality

Overrides:
equals in class java.lang.Object
Parameters:
prdctCd - the product code to compare
Returns:
true if the two product codes are considered equal

fromID

public static Server.ProductCode fromID(int id)
Gets the Product code value corresponding to the given ID.

Parameters:
id - The ID of an Product code value.
Returns:
The corresponding Product code value, or null.


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