com.starteam
Class Folder.ExcludeFlags

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

public static final class Folder.ExcludeFlags
extends EnumeratedValue

Criteria used to exclude folders from the display

See Also:
Serialized Form

Field Summary
static Folder.ExcludeFlags[] ALL
          All legal ExcludeFlag values
static Folder.ExcludeFlags INHERIT
          Inherited folders are excluded
static Folder.ExcludeFlags LOCAL
          Local working folders are excluded
static Folder.ExcludeFlags NONE
          No folders are excluded
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if this object is identical to Object o
static Folder.ExcludeFlags fromID(int id)
          Gets the ExcludeFlags value corresponding to the given ID.
static Folder.ExcludeFlags fromValue(EnumeratedValue value)
          Gets the ExcludeFlags 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 ExcludeFlagsProperty.
 int hashCode()
          Returns a hashCode 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

NONE

public static final Folder.ExcludeFlags NONE
No folders are excluded


LOCAL

public static final Folder.ExcludeFlags LOCAL
Local working folders are excluded


INHERIT

public static final Folder.ExcludeFlags INHERIT
Inherited folders are excluded


ALL

public static final Folder.ExcludeFlags[] ALL
All legal ExcludeFlag values

Method Detail

getID

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

Returns:
The ID of this ExcludeFlags value.
See Also:
Folder.Type.ExcludeFlagsProperty.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 Folder.ExcludeFlags fromValue(EnumeratedValue value)
Gets the ExcludeFlags value corresponding to the given EnumeratedValue.

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

fromID

public static Folder.ExcludeFlags fromID(int id)
Gets the ExcludeFlags value corresponding to the given ID.

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

equals

public boolean equals(java.lang.Object o)
Returns true if this object is identical to Object o

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

hashCode

public int hashCode()
Returns a hashCode for this instance

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


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