com.starteam
Class IntegerProperty.WebCacheIntegerProperty

java.lang.Object
  extended by com.starteam.Property.WebCacheProperty
      extended by com.starteam.ScalarProperty.WebCacheScalarProperty
          extended by com.starteam.IntegerProperty.WebCacheIntegerProperty
Enclosing class:
IntegerProperty

public static class IntegerProperty.WebCacheIntegerProperty
extends ScalarProperty.WebCacheScalarProperty

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


Method Summary
 int getDefaultValue()
          Returns the default integer value for this Property
 int getMaxValue()
          Returns the maximum integer value for this Property or MAX_VALUE if none has been specified
 int getMinValue()
          Returns the minimum integer value for this Property or MIN_VALUE if none has been specified
 boolean isRollupProperty()
          Returns true if this Integer Property is a rollup property The value of this property on a parent tree item would be the summation of the values of all its children This feature was introduced in the 14.0 server
 QueryPart.WebCacheQueryPart newQueryPart(QueryPart.Relation relation, int value)
          Creates a new query expression that tests this property.
 void setDefaultValue(int value)
          Sets the default integer value for this Property
 void setMaxValue(int value)
          Sets the maximum integer value for this Property
 void setMinValue(int value)
          Sets the minimum integer value for this Property
 void setRollupProperty(boolean enable)
          set this property to be a rollup property
 
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 integer value for this Property

Returns:
int the default integer value

setDefaultValue

public void setDefaultValue(int value)
Sets the default integer value for this Property

Parameters:
value - int the default integer value

getMaxValue

public int getMaxValue()
Returns the maximum integer value for this Property or MAX_VALUE if none has been specified

Returns:
int the maximum integer value

getMinValue

public int getMinValue()
Returns the minimum integer value for this Property or MIN_VALUE if none has been specified

Returns:
int the minimum integer value for this Property

setMinValue

public void setMinValue(int value)
Sets the minimum integer value for this Property

Parameters:
value - int the minimum integer value for this Property

setMaxValue

public void setMaxValue(int value)
Sets the maximum integer value for this Property

Parameters:
value - int the maximum integer value for this Property

isRollupProperty

public boolean isRollupProperty()
Returns true if this Integer Property is a rollup property The value of this property on a parent tree item would be the summation of the values of all its children This feature was introduced in the 14.0 server

Returns:
true if this Integer Property can be rolled up

setRollupProperty

public void setRollupProperty(boolean enable)
set this property to be a rollup property

Parameters:
enable - true to set this property to be a rollup property

newQueryPart

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

Parameters:
relation - The query relation.
value - The value to be tested.
Returns:
A new query expression.


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