|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.Property
com.starteam.ContentProperty
public class ContentProperty
This class represents a property whose value is arbitrary content.
| Nested Class Summary | |
|---|---|
static class |
ContentProperty.WebCacheContentProperty
Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache. |
| Nested classes/interfaces inherited from class com.starteam.Property |
|---|
Property.MetaData, Property.WebCacheProperty |
| Method Summary | |
|---|---|
Property |
copy()
Creates a copy of this property object. |
Content |
getDefaultValue()
Returns the default Content value for this Property. |
java.lang.String |
getDisplayValue(java.lang.Object value)
Converts the given property value to a string suitable for display. |
boolean |
hasDisplayValue()
Returns true if this property has meaningful display values that may be included, for example, in an item table. |
boolean |
isEqualTo(Property property)
Compares two ContentProperty objects. |
boolean |
isQueryRelationSupported(QueryPart.Relation operator)
Determines whether or not the given query operator is supported by this property. |
void |
setDefaultValue(Content value)
Sets the default Content value for this Property. |
Content |
toContent(java.lang.Object value)
Converts a property value to the type that is exposed by default to client applications. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Content getDefaultValue()
public void setDefaultValue(Content value)
value - the default Content valuepublic Property copy()
The copied property will have the same parent Type as the original property. The Type object is not copied.
copy in class PropertyContentProperty.isEqualTo(com.starteam.Property)public boolean isEqualTo(Property property)
The parent Types are compared by ClassID.
isEqualTo in class Propertyproperty - ContentProperty the property object to be compared again this
one.
ContentProperty.copy()public java.lang.String getDisplayValue(java.lang.Object value)
getDisplayValue in class Propertyvalue - A legal value for this property.
public Content toContent(java.lang.Object value)
Note that if the return type is something that is not natively supported by Variant, then you will have to override toVariant() and fromVariant(), too.
value - Object the object to be converted to a Content.
public boolean hasDisplayValue()
public boolean isQueryRelationSupported(QueryPart.Relation operator)
isQueryRelationSupported in class Propertyoperator - A query operator.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||