|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IProperty interface is used to retrieve information about a specific property from the
Properties collection. This property may be "normal," or it may be a container (For example, a property
bag). The isContainer() method can be used to distinguish between normal properties and property
bags. If a property is a property bag, the Properties property can be used to retrieve a list of
properties that it contains.
| Field Summary | |
static int |
ALL
For internal use only. |
static int |
BAG
This constant specifies that the property is really a property bag. |
static int |
BINARY
This constant specifies that the property's value is a binary stream. |
static int |
DELETE
This constant specifies that the client wants this property removed. |
static int |
DIRTY
This constant specifies that the property value has changed. |
static int |
NO_COPY
This constant specifies that the property should not be copied during an object copy operation. |
static int |
PROP_ID_LIST
This constant specified that the property is a list of ids generated by a relation. |
static int |
READ_ONLY
This constant specifies that the property is read only. |
| Method Summary | |
int |
getFlags()
Returns the flags or settings applied to a property. |
java.lang.Integer |
getID()
Returns the ID of the property. |
java.lang.Object |
getValue()
Returns the value of the property. |
boolean |
isContainer()
Returns true if this property contains other properties.
|
void |
setValue(java.lang.Object PropertyValue)
Sets the value of the property. |
| Field Detail |
public static final int READ_ONLY
This constant specifies that the property is read only. It can be updated but cannot be deleted.
public static final int DIRTY
This constant specifies that the property value has changed. This is flag marks the property as dirty.
public static final int BAG
This constant specifies that the property is really a property bag.
public static final int DELETE
This constant specifies that the client wants this property removed.
public static final int NO_COPY
This constant specifies that the property should not be copied during an object copy operation.
public static final int BINARY
This constant specifies that the property's value is a binary stream.
public static final int PROP_ID_LIST
This constant specified that the property is a list of ids generated by a relation.
Note:Map these properties to CUIDs when exporting.
public static final int ALL
For internal use only.
| Method Detail |
public int getFlags()
Returns the flags or settings applied to a property.
int specifying the flag or settings applied to a property.public java.lang.Integer getID()
Returns the ID of the property.
Integer containing the ID of the property.public java.lang.Object getValue()
Returns the value of the property.
Object containing the value of the property. The type that this
object can be cast as depends on the property. For example, for properties that specify a
boolean value, a Boolean object will be returned. To quickly view the value of the Object,
the Object toString() method can be used.public boolean isContainer()
Returns true if this property contains other properties.
true if this property contains other properties, false
otherwise.public void setValue(java.lang.Object PropertyValue)
Sets the value of the property.
PropertyValue - An Object containing the value of the property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||