com.starteam
Class TimeSpanProperty.WebCacheTimeSpanProperty

java.lang.Object
  extended by com.starteam.Property.WebCacheProperty
      extended by com.starteam.ScalarProperty.WebCacheScalarProperty
          extended by com.starteam.TimeSpanProperty.WebCacheTimeSpanProperty
Enclosing class:
TimeSpanProperty

public static class TimeSpanProperty.WebCacheTimeSpanProperty
extends ScalarProperty.WebCacheScalarProperty

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


Method Summary
 TimeSpan getDefaultValue()
          Returns the default TimeSpan value for this Property
 TimeSpan getMaxValue()
          Returns the maximum TimeSpan value for this Property or MAX_VALUE if none has been specified
 TimeSpan getMinValue()
          Returns the minimum TimeSpan value for this Property or MIN_VALUE if none has been specified
 TimeSpan getUnits()
          returns the unit of measurement for this TimeSpan property
 QueryPart.WebCacheQueryPart newQueryPart(QueryPart.Relation relation, TimeSpan value)
          Creates a new query expression that tests this property.
 void setDefaultValue(TimeSpan value)
          Sets the default TimeSpan value for this Property
 void setMaxValue(TimeSpan value)
          Sets the maximum TimeSpan value for this Property
 void setMinValue(TimeSpan value)
          Sets the minimum TimeSpan value for this Property
 void setUnits(TimeSpan units)
          sets the unit of measurement for this TimeSpan 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 TimeSpan getDefaultValue()
Returns the default TimeSpan value for this Property

Returns:
TimeSpan

setDefaultValue

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

Parameters:
value - TimeSpan

getMinValue

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

Returns:
TimeSpan

setMinValue

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

Parameters:
value - TimeSpan

getMaxValue

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

Returns:
TimeSpan

setMaxValue

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

Parameters:
value - TimeSpan

getUnits

public TimeSpan getUnits()
returns the unit of measurement for this TimeSpan property

Returns:
TimeSpan

setUnits

public void setUnits(TimeSpan units)
sets the unit of measurement for this TimeSpan property

Parameters:
units - TimeSpan

newQueryPart

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

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


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