|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.Property
com.starteam.ScalarProperty
com.starteam.LongIntegerProperty
public class LongIntegerProperty
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 java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long MIN_VALUE
public static final long MAX_VALUE
| Method Detail |
|---|
public long getDefaultValue()
public void setDefaultValue(long value)
value - longpublic long getMinValue()
public void setMinValue(long value)
value - longpublic long getMaxValue()
public void setMaxValue(long value)
value - longpublic java.lang.Object getGenericMinValue()
getGenericMinValue in class ScalarPropertyIntegerProperty.getMinValue(),
DoubleProperty.getMinValue(),
DateProperty.getMinValue(),
DateTimeProperty.getMinValue(),
LongIntegerProperty.getMinValue(),
TimeSpanProperty.getMinValue()public java.lang.Object getGenericMaxValue()
getGenericMaxValue in class ScalarPropertyIntegerProperty.getMaxValue(),
DoubleProperty.getMaxValue(),
DateProperty.getMaxValue(),
DateTimeProperty.getMaxValue(),
LongIntegerProperty.getMaxValue(),
TimeSpanProperty.getMaxValue()public boolean isRollupProperty()
public void setRollupProperty(boolean enable)
enable - true to set this property to be a rollup property
public QueryPart newQueryPart(QueryPart.Relation relation,
long value)
relation - The query relation.value - The value to be tested.
public java.lang.String getDisplayValue(java.lang.Object value)
getDisplayValue in class Propertyvalue - A legal value for this property.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||