|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PropertyDescription
object is a collection of metadata that
describes a property. The metadata defines the attributes of a property,
such as its display name, its data type, and whether it can be be set.
A PropertyDescription
object has the same
function for a property that a ClassDescription
object has for a class.
You cannot create a new PropertyDescription
object to persist to
the Content Services server. To instantiate a persisted one, instantiate a
PropertyDescriptions
collection, then return a PropertyDescription
object from the collection. For ways to instantiate a PropertyDescriptions
collection, see the
PropertyDescriptions
interface.
Note that you can, however, create a local PropertyDescription
object to include in
a PropertyDescriptions
collection (which is ultimately used as
an argument to various methods) by calling the ObjectFactory's
getPropertyDescription
method.
Field Summary |
Method Summary | |
ChoiceList |
getChoices(int depth)
Returns the collection of Choice objects (values) for this
PropertyDescription object. |
Methods inherited from interface com.filenet.wcm.api.BaseObject |
equals, exportObject, getClassId, getId, getName, getObjectStoreId, getObjectType, getSession, hashCode, thisBaseObject |
Methods inherited from interface com.filenet.wcm.api.ReadableMetadataObject |
getProperties, getProperties, getPropertiesXML, getPropertyBinaryValue, getPropertyBooleanValue, getPropertyDateValue, getPropertyDoubleValue, getPropertyIntValue, getPropertyStringValue, getPropertyValue, getPropertyValuesValue, refresh, refresh |
Method Detail |
public ChoiceList getChoices(int depth)
Returns the collection of Choice
objects (values) for this
PropertyDescription
object.
depth
- Requires an integer value; however, the value is ignored by the CS Java Connector.
ChoiceList
collection that contains the
Choice
objects for this PropertyDescription
object.
|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |