public class TeamStateDescription extends Object implements ITeamStateDescription
ITeamStateDescription.
This class may be subclassed by clients.
| Constructor and Description |
|---|
TeamStateDescription(int state)
Create a description with the given state.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Return whether this state description is equal the to given object.
|
int |
getDirection()
Return the portion of the state flags that represent the direction
associated with the element for which this description was generated.
|
int |
getKind()
Return the portion of the state flags that represent the kind associated
with the element for which this description was generated.
|
Object |
getProperty(String property)
Return the value associated with the given property.
|
String[] |
getPropertyNames()
Return the properties names for all decorated properties associated with
the element for which this description was generated.
|
int |
getStateFlags()
Return the synchronization state flags for the element for which this
state description was generated.
|
void |
setProperty(String property,
Object value)
Set the given property to the given value
|
public TeamStateDescription(int state)
state - the statepublic int getStateFlags()
ITeamStateDescriptionstateMask used when obtaining this
description is returned.getStateFlags in interface ITeamStateDescriptionIDiff,
IThreeWayDiff,
IResourceDiffpublic int getKind()
ITeamStateDescriptionIDiff.getKind() for a description of what this value represents.getKind in interface ITeamStateDescriptionpublic int getDirection()
ITeamStateDescriptionIThreeWayDiff.getDirection() for a description of what this value
represents.getDirection in interface ITeamStateDescriptionpublic String[] getPropertyNames()
ITeamStateDescriptiongetPropertyNames in interface ITeamStateDescriptionpublic Object getProperty(String property)
ITeamStateDescriptionnull
is returned if the property has no value.getProperty in interface ITeamStateDescriptionproperty - the propertynullpublic void setProperty(String property, Object value)
property - the propertyvalue - the valuepublic boolean equals(Object obj)
ITeamStateDescriptionequals in interface ITeamStateDescriptionequals in class Objectobj - the objectGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.