com.starteam.viewcomparemerge
Class MergeActionProperty
java.lang.Object
com.starteam.Property
com.starteam.EnumeratedProperty
com.starteam.viewcomparemerge.ViewCompareMergeProperty
com.starteam.viewcomparemerge.MergeActionProperty
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- DefaultActionProperty
public class MergeActionProperty
- extends ViewCompareMergeProperty
Client-calculated property whose value is the current action of the
ItemDifference associated with this item.
For an item that has no associated ItemDifference, or that is not owned by
the MergePreview of a View Compare/Merge session, the value of the
MergeActionProperty is always VALUE_NOT_SET (or the null EnumeratedValue).
- See Also:
DefaultActionProperty,
MergePreview,
Session,
EnumeratedProperty,
EnumeratedProperty.VALUE_NOT_SET
|
Field Summary |
static int |
ID
The internal ID of this property. |
static java.lang.String |
NAME
The internal name of this property. |
| Methods inherited from class com.starteam.EnumeratedProperty |
copy, createValue, findValue, findValue, getAllValues, getDefaultValues, getDisplayValue, getEnumDisplayName, getSortedValues, getValues, isEqualTo, isHierarchicalEnumeration, isMultiSelectable, isQueryRelationSupported, isStatusProperty, newQueryPart, newQueryPart, newQueryPart, setDefaultValues, setStatusProperty, setValues, toBooleanProperty, update |
| Methods inherited from class com.starteam.Property |
areValuesEqual, equals, getDebugString, getDependentProperties, getDisplayName, getDisplayNameTranslations, getGenericDefaultValue, getID, getName, getServer, getType, hashCode, isAdvanced, isCalculated, isClientCalculated, isDescriptor, isDirty, isDisabled, isEnabled, isGenericCalculated, isHeader, isItemProperty, isLegalValue, isNew, isPrimaryDescriptor, isRequired, isRestricted, isRevisionIndependent, isServerCalculated, isSortByTextValueSupported, isStored, isSysDefined, isUserCustomized, isUserDefined, isUserModifiable, isViewSpecific, resolveAllDependencies, setDescriptor, setDisplayName, setDisplayNameTranslations, setEnabled, setGenericDefaultValue, setPrimaryDescriptor, setRequired, toString, toXml |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- The internal name of this property.
- See Also:
- Constant Field Values
ID
public static final int ID
- The internal ID of this property.
- See Also:
- Constant Field Values
MergeActionProperty
public MergeActionProperty(Type type)
- Creates a new MergeActionProperty.
- Parameters:
type - The associated Type.
fromMergeAction
public EnumeratedValue fromMergeAction(MergeAction action)
- Gets the EnumeratedValue corresponding to a given MergeAction.
- Parameters:
action - A MergeAction.
- Returns:
- The corresponding EnumeratedValue.
- See Also:
MergeAction
toMergeAction
public static MergeAction toMergeAction(EnumeratedValue value)
- Gets the MergeAction corresponding to a given EnumeratedValue.
- Parameters:
value - An EnumeratedValue.
- Returns:
- The corresponding MergeAction.
- See Also:
DifferenceType
StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.