com.starteam
Class LongIntegerProperty

java.lang.Object
  extended by com.starteam.Property
      extended by com.starteam.ScalarProperty
          extended by com.starteam.LongIntegerProperty
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
File.Type.SizeProperty, File.Type.SyncSizeProperty, File.Type.WorkingFileSizeProperty, LiveObject.Type.GlobalIDProperty

public class LongIntegerProperty
extends ScalarProperty

This class represents a property whose value is a Long Integer.


Nested Class Summary
static class LongIntegerProperty.WebCacheLongIntegerProperty
          Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache.
 
Nested classes/interfaces inherited from class com.starteam.ScalarProperty
ScalarProperty.WebCacheScalarProperty
 
Nested classes/interfaces inherited from class com.starteam.Property
Property.MetaData, Property.WebCacheProperty
 
Field Summary
static long MAX_VALUE
          The maximum long value 92233720368547775807
static long MIN_VALUE
          The minimum long value -9223372036854775808
 
Method Summary
 long getDefaultValue()
          Returns the default long integer value for this Property
 java.lang.String getDisplayValue(java.lang.Object value)
          Converts the given property value to a string suitable for display.
 java.lang.Object getGenericMaxValue()
          Gets the maximum allowable value of this property.
 java.lang.Object getGenericMinValue()
          Gets the minimum allowable value of this property.
 long getMaxValue()
          Returns the maximum long integer value for this Property or MAX_VALUE if none has been specified
 long getMinValue()
          Returns the minimum long integer value for this Property or MIN_VALUE if none has been specified
 boolean isRollupProperty()
          Returns true if this Long 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 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.ScalarProperty
setGenericMaxValue, setGenericMinValue
 
Methods inherited from class com.starteam.Property
areValuesEqual, copy, equals, getDebugString, getDependentProperties, getDisplayName, getDisplayNameTranslations, getGenericDefaultValue, getID, getName, getServer, getType, hashCode, isAdvanced, isCalculated, isClientCalculated, isDescriptor, isDirty, isDisabled, isEnabled, isEqualTo, isGenericCalculated, isHeader, isItemProperty, isLegalValue, isNew, isPrimaryDescriptor, isQueryRelationSupported, isRequired, isRestricted, isRevisionIndependent, isServerCalculated, isSortByTextValueSupported, isStored, isSysDefined, isUserCustomized, isUserDefined, isUserModifiable, isViewSpecific, resolveAllDependencies, setDescriptor, setDisplayName, setDisplayNameTranslations, setEnabled, setGenericDefaultValue, setPrimaryDescriptor, setRequired, toString, toXml, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_VALUE

public static final long MIN_VALUE
The minimum long value -9223372036854775808

See Also:
Constant Field Values

MAX_VALUE

public static final long MAX_VALUE
The maximum long value 92233720368547775807

See Also:
Constant Field Values
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

getMinValue

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

Returns:
long

setMinValue

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

Parameters:
value - long

getMaxValue

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

Returns:
long

setMaxValue

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

Parameters:
value - long

getGenericMinValue

public java.lang.Object getGenericMinValue()
Gets the minimum allowable value of this property.

Overrides:
getGenericMinValue in class ScalarProperty
Returns:
The minimum allowable value of this property.
See Also:
IntegerProperty.getMinValue(), DoubleProperty.getMinValue(), DateProperty.getMinValue(), DateTimeProperty.getMinValue(), LongIntegerProperty.getMinValue(), TimeSpanProperty.getMinValue()

getGenericMaxValue

public java.lang.Object getGenericMaxValue()
Gets the maximum allowable value of this property.

Overrides:
getGenericMaxValue in class ScalarProperty
Returns:
The maximum allowable value of this property.
See Also:
IntegerProperty.getMaxValue(), DoubleProperty.getMaxValue(), DateProperty.getMaxValue(), DateTimeProperty.getMaxValue(), LongIntegerProperty.getMaxValue(), TimeSpanProperty.getMaxValue()

isRollupProperty

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

getDisplayValue

public java.lang.String getDisplayValue(java.lang.Object value)
Converts the given property value to a string suitable for display.

Specified by:
getDisplayValue in class Property
Parameters:
value - A legal value for this property.
Returns:
A string representation of the value


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