com.starteam
Class LongIntegerProperty.WebCacheLongIntegerProperty

java.lang.Object
  extended by com.starteam.Property.WebCacheProperty
      extended by com.starteam.ScalarProperty.WebCacheScalarProperty
          extended by com.starteam.LongIntegerProperty.WebCacheLongIntegerProperty
Enclosing class:
LongIntegerProperty

public static class LongIntegerProperty.WebCacheLongIntegerProperty
extends ScalarProperty.WebCacheScalarProperty

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


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

Returns:
long

setDefaultValue

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

Parameters:
value - long

getMaxValue

public long 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 long 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

setMaxValue

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

Parameters:
value - long

setMinValue

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

Parameters:
value - long

isRollupProperty

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