com.starteam
Class DoubleProperty.WebCacheDoubleProperty

java.lang.Object
  extended by com.starteam.Property.WebCacheProperty
      extended by com.starteam.ScalarProperty.WebCacheScalarProperty
          extended by com.starteam.DoubleProperty.WebCacheDoubleProperty
Enclosing class:
DoubleProperty

public static class DoubleProperty.WebCacheDoubleProperty
extends ScalarProperty.WebCacheScalarProperty

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


Method Summary
 double getDefaultValue()
          Returns the default double value for this Property
 double getMaxValue()
          Returns the maximum double value for this Property or MAX_VALUE if none has been specified
 double getMinValue()
          Returns the minimum double value for this Property or MIN_VALUE if none has been specified
 boolean isRollupProperty()
          Returns true if this Double 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, double value)
          Creates a new query expression that tests this property.
 void setDefaultValue(double value)
          Sets the default double value for this Property
 void setMaxValue(double value)
          Sets the maximum double value for this Property
 void setMinValue(double value)
          Sets the minimum double 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 double getDefaultValue()
Returns the default double value for this Property

Returns:
the default double value

setDefaultValue

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

Parameters:
value - double

getMaxValue

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

Returns:
double

setMaxValue

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

Parameters:
value - double

getMinValue

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

Returns:
double

setMinValue

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

Parameters:
value - double

isRollupProperty

public boolean isRollupProperty()
Returns true if this Double 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 Double 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,
                                                double 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.