|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IProperty
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
|
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 shouldn't be copied during an object copy operation. |
static int |
PROP_ID_LIST
This constant specifies 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 |
|---|
static final int READ_ONLY
This constant specifies that the property is read only. It can be updated but cannot be deleted.
static final int DIRTY
This constant specifies that the property value has changed. This is flag marks the property as dirty.
static final int BAG
This constant specifies that the property is really a property bag.
static final int DELETE
This constant specifies that the client wants this property removed.
static final int NO_COPY
This constant specifies that the property shouldn't be copied during an object copy operation.
static final int BINARY
This constant specifies that the property's value is a binary stream.
static final int PROP_ID_LIST
This constant specifies that the property is a list of ids generated by a relation.
Note:Map these properties to CUIDs when exporting.
static final int ALL
| Method Detail |
|---|
int getFlags()
Returns the flags or settings applied to a property.
int specifying the flag or settings applied to a property.java.lang.Integer getID()
Returns the ID of the property.
Integer containing the ID of the property.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 toString() method can be used.boolean isContainer()
Returns true if this property contains other properties.
true if this property contains other properties, false
otherwise.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 | ||||||||