com.starteam
Class ViewMember.MyLock

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

public static final class ViewMember.MyLock
extends EnumeratedValue

The set of enumerations for a Locked View Member

See Also:
Serialized Form

Field Summary
static ViewMember.MyLock[] ALL
           
static ViewMember.MyLock EXCLUSIVELY_LOCKED_BY_ME
           
static ViewMember.MyLock NON_EXCLUSIVELY_LOCKED_BY_ME
           
static ViewMember.MyLock NOT_LOCKED_BY_ME
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this EnumeratedValue instance with another one.
static ViewMember.MyLock fromID(int id)
          Gets the MyLock value that corresponds to the given ID.
static ViewMember.MyLock fromValue(EnumeratedValue value)
          Gets the Status 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 MyLockProperty.
 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

NOT_LOCKED_BY_ME

public static final ViewMember.MyLock NOT_LOCKED_BY_ME

EXCLUSIVELY_LOCKED_BY_ME

public static final ViewMember.MyLock EXCLUSIVELY_LOCKED_BY_ME

NON_EXCLUSIVELY_LOCKED_BY_ME

public static final ViewMember.MyLock NON_EXCLUSIVELY_LOCKED_BY_ME

ALL

public static final ViewMember.MyLock[] ALL
Method Detail

getID

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

Returns:
The ID of this MyLock value.
See Also:
ViewMember.Type.MyLockProperty.NAME

getCode

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

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

fromID

public static ViewMember.MyLock fromID(int id)
Gets the MyLock value that corresponds to the given ID.

Parameters:
id - The unique ID of a myLock type.
Returns:
The MyLock value.
See Also:
ViewMember.MyLock.getID()

fromValue

public static ViewMember.MyLock fromValue(EnumeratedValue value)
Gets the Status value corresponding to the given EnumeratedValue.

Parameters:
value - One of the EnumeratedValues of a StatusProperty.
Returns:
The corresponding Status 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.