com.starteam
Class Audit.EventID

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

public static final class Audit.EventID
extends EnumeratedValue

EventID of the Audit

See Also:
Serialized Form

Field Summary
static Audit.EventID ADDED
          The Added Event
static Audit.EventID[] ALL
          All legal Event values
static Audit.EventID BRANCHED
          The Branched Event
static Audit.EventID CHECKED_IN
          The Checked In Event
static Audit.EventID CHECKED_OUT
          The Checked Out Event
static Audit.EventID COMMENT_EDITED
          The Comment Edited Event
static Audit.EventID CREATED
          The Created event
static Audit.EventID DELETED
          The Deleted Event
static Audit.EventID ITEM_OVERWRITTEN
          The Item Overwritten Event
static Audit.EventID LOCK_BROKEN
          The Lock Broken Event
static Audit.EventID LOCKED
          The Locked Event
static Audit.EventID MODIFIED
          The Modified Event
static Audit.EventID MOVED_FROM
          The Moved From Event
static Audit.EventID MOVED_TO
          The Moved To Event
static Audit.EventID SHARED
          The Shared Event
static Audit.EventID UNLOCKED
          The Unlocked Event
static Audit.EventID VAULT_CONVERTED
          The Vault Converted Event
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this EnumeratedValue instance with another one.
static Audit.EventID 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 EventIDProperty.
 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

CREATED

public static final Audit.EventID CREATED
The Created event


MODIFIED

public static final Audit.EventID MODIFIED
The Modified Event


BRANCHED

public static final Audit.EventID BRANCHED
The Branched Event


DELETED

public static final Audit.EventID DELETED
The Deleted Event


MOVED_FROM

public static final Audit.EventID MOVED_FROM
The Moved From Event


MOVED_TO

public static final Audit.EventID MOVED_TO
The Moved To Event


SHARED

public static final Audit.EventID SHARED
The Shared Event


ADDED

public static final Audit.EventID ADDED
The Added Event


CHECKED_IN

public static final Audit.EventID CHECKED_IN
The Checked In Event


CHECKED_OUT

public static final Audit.EventID CHECKED_OUT
The Checked Out Event


LOCKED

public static final Audit.EventID LOCKED
The Locked Event


UNLOCKED

public static final Audit.EventID UNLOCKED
The Unlocked Event


LOCK_BROKEN

public static final Audit.EventID LOCK_BROKEN
The Lock Broken Event


VAULT_CONVERTED

public static final Audit.EventID VAULT_CONVERTED
The Vault Converted Event


ITEM_OVERWRITTEN

public static final Audit.EventID ITEM_OVERWRITTEN
The Item Overwritten Event


COMMENT_EDITED

public static final Audit.EventID COMMENT_EDITED
The Comment Edited Event


ALL

public static final Audit.EventID[] ALL
All legal Event values

Method Detail

getCode

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

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

getID

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

Returns:
The ID of this EventID value.
See Also:
Audit.Type.EventIDProperty.NAME

fromValue

public static Audit.EventID 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.