com.starteam
Class ObjectProperty.WebCacheObjectProperty

java.lang.Object
  extended by com.starteam.Property.WebCacheProperty
      extended by com.starteam.ObjectProperty.WebCacheObjectProperty
Enclosing class:
ObjectProperty

public static class ObjectProperty.WebCacheObjectProperty
extends Property.WebCacheProperty

Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache.


Method Summary
 int getDefaultValue()
          Returns the default object-id (integer) value for this Property instance
 Type.WebCacheType getTypeOfValue()
          Gets the Type object representing the type of a property value.
 QueryPart.WebCacheQueryPart newQueryPart(QueryPart.Relation relation, int objectID)
          Creates a new query expression that tests this property.
 void setDefaultValue(int value)
          Sets the default object-id (integer) value for this Property instance
 
Methods inherited from class com.starteam.Property.WebCacheProperty
equals, getContext, getDisplayName, getDisplayNameTranslations, getDisplayValue, getGenericDefaultValue, getID, getName, getType, hashCode, isAdvanced, isCalculated, isClientCalculated, isDescriptor, isDirty, isDisabled, isEnabled, isGenericCalculated, isHeader, isItemProperty, isLegalValue, isPrimaryDescriptor, isQueryRelationSupported, isRequired, isRestricted, isRevisionIndependent, isServerCalculated, isSortByTextValueSupported, isStored, isSysDefined, isUserCustomized, isUserDefined, isUserModifiable, isViewSpecific, refresh, setDescriptor, setDisplayName, setDisplayNameTranslations, setEnabled, setGenericDefaultValue, setPrimaryDescriptor, setRequired, toXml, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultValue

public int getDefaultValue()
Returns the default object-id (integer) value for this Property instance

Returns:
int

setDefaultValue

public void setDefaultValue(int value)
Sets the default object-id (integer) value for this Property instance

Parameters:
value - int

getTypeOfValue

public Type.WebCacheType getTypeOfValue()
Gets the Type object representing the type of a property value.

Returns:
Type the Type object representing the type of a property value

newQueryPart

public QueryPart.WebCacheQueryPart newQueryPart(QueryPart.Relation relation,
                                                int objectID)
Creates a new query expression that tests this property.

Parameters:
relation - The query relation.
objectID - The object ID to be tested.
Returns:
A new query expression.


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