|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.Property
com.starteam.EnumeratedProperty
com.starteam.BooleanProperty
public class BooleanProperty
A Boolean property is a Property whose value may be either True or False
| Nested Class Summary | |
|---|---|
static class |
BooleanProperty.WebCacheBooleanProperty
Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache. |
| Nested classes/interfaces inherited from class com.starteam.EnumeratedProperty |
|---|
EnumeratedProperty.WebCacheEnumeratedProperty |
| Nested classes/interfaces inherited from class com.starteam.Property |
|---|
Property.MetaData, Property.WebCacheProperty |
| Field Summary | |
|---|---|
static java.lang.String |
FALSE_INTERNAL_NAME
The internal name used for the "false" EnumeratedValue. |
static java.lang.String |
TRUE_INTERNAL_NAME
The internal name used for the "true" EnumeratedValue. |
| Fields inherited from class com.starteam.EnumeratedProperty |
|---|
VALUE_NOT_SET |
| Method Summary | |
|---|---|
EnumeratedValue |
findValue(int enumCode)
Finds an existing EnumeratedValue by code. |
boolean |
getDefaultValue()
Gets the default value of this property, as a boolean value. |
EnumeratedValue |
getFalseValue()
Gets the enumerated value that is used to represent false |
EnumeratedValue |
getTrueValue()
Gets the enumerated value that is used as the preferred true value for new object revisions. |
QueryPart |
newQueryPart(boolean value)
Constructs a query expression that tests a boolean property value. |
void |
setDefaultValue(boolean flag)
Sets the default value of this property, as a boolean value. |
void |
setFalseValue(EnumeratedValue falseValue)
Sets the enumerated value that is used to represent false The EnumeratedValue parameter instance must belong to the set of EnumeratedValue's of this BooleanProperty instance |
void |
setTrueValue(EnumeratedValue trueValue)
Sets the enumerated value that is used as the preferred true value for new object revisions. |
| Methods inherited from class com.starteam.EnumeratedProperty |
|---|
copy, createValue, findValue, getAllValues, getDefaultValues, getDisplayValue, getEnumDisplayName, getSortedValues, getValues, isEqualTo, isHierarchicalEnumeration, isMultiSelectable, isQueryRelationSupported, isStatusProperty, newQueryPart, newQueryPart, newQueryPart, setDefaultValues, setStatusProperty, setValues, toBooleanProperty, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FALSE_INTERNAL_NAME
EnumeratedValue.getInternalName(),
BooleanProperty.getFalseValue(),
Constant Field Valuespublic static final java.lang.String TRUE_INTERNAL_NAME
EnumeratedValue.getInternalName(),
BooleanProperty.getTrueValue(),
Constant Field Values| Method Detail |
|---|
public EnumeratedValue getFalseValue()
public void setFalseValue(EnumeratedValue falseValue)
falseValue - EnumeratedValuepublic EnumeratedValue getTrueValue()
public void setTrueValue(EnumeratedValue trueValue)
trueValue - EnumeratedValuepublic QueryPart newQueryPart(boolean value)
value - false to construct a query expression that returns true when
tested against the current false value of this property; true
to construct a query expression that returns true when tested
against any value other than the current false value of this
property.
public boolean getDefaultValue()
public void setDefaultValue(boolean flag)
flag - The default value of this property, as a boolean value.public EnumeratedValue findValue(int enumCode)
findValue in class EnumeratedPropertyenumCode - the code
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||