public class ObjectProperty extends Property
isItemProperty
Modifier and Type | Class and Description |
---|---|
static class |
ObjectProperty.WebCacheObjectProperty
Base accessor for cached SDK objects encapsulating the statefulness of
objects obtained from the artifact cache.
|
Property.MetaData, Property.WebCacheProperty
Modifier and Type | Field and Description |
---|---|
static int |
VALUE_NOT_SET
VALUE_NOT_SET
|
Modifier and Type | Method and Description |
---|---|
int |
getDefaultValue()
Returns the default object-id (integer) value for this Property instance
|
java.lang.String |
getDisplayValue(java.lang.Object value)
Converts the given property value to a string suitable for display.
|
Type |
getTypeOfValue()
Gets the Type object representing the type of a property value.
|
boolean |
isQueryRelationSupported(QueryPart.Relation operator)
Returns true if this property supports the given query operator(s)
|
QueryPart |
newQueryPart(QueryPart.Relation relation,
int objectID)
Creates a new query expression that tests this property.
|
void |
setDefaultValue(int value)
Sets the default object-id (integer) value for this Property instance
|
areValuesEqual, copy, equals, fromXml, getDebugString, getDependentProperties, getDisplayName, getDisplayNameTranslations, getGenericDefaultValue, getID, getName, getServer, getType, hashCode, isAdvanced, isCalculated, isClientCalculated, isDescriptor, isDirty, isDisabled, isEnabled, isEqualTo, isGenericCalculated, isHeader, isItemProperty, isLegalValue, isNew, isPrimaryDescriptor, isRequired, isRestricted, isRevisionIndependent, isServerCalculated, isSortByTextValueSupported, isStored, isSysDefined, isUserCustomized, isUserDefined, isUserModifiable, isViewSpecific, resolveAllDependencies, setDescriptor, setDisplayName, setDisplayNameTranslations, setEnabled, setGenericDefaultValue, setPrimaryDescriptor, setRequired, toString, toXml, update
public static final int VALUE_NOT_SET
public boolean isQueryRelationSupported(QueryPart.Relation operator)
isQueryRelationSupported
in class Property
operator
- a Query relationpublic int getDefaultValue()
public void setDefaultValue(int value)
value
- intpublic Type getTypeOfValue()
public QueryPart newQueryPart(QueryPart.Relation relation, int objectID)
relation
- The query relation.objectID
- The object ID to be tested.public java.lang.String getDisplayValue(java.lang.Object value)
getDisplayValue
in class Property
value
- A legal value for this property.StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.