|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property2
Propery2
Property2 objects can be added to PaloObjects in order to attribute additional information to them.
For example, an SAP XMLA connection has the notion of "variables", a feature unknown to other XMLA connection. Thus, all variables belonging to a cube are stored as properties for that cube and can be modified by the client.
Properties can also be used to add client specific knowledge to PaloObjects.
Field Summary | |
---|---|
static int |
TYPE_BOOLEAN
Property types. |
static int |
TYPE_NUMERIC
Property types. |
static int |
TYPE_STRING
Property types. |
Fields inherited from interface org.palo.api.PaloObject |
---|
TYPE_ATTRIBUTE, TYPE_NORMAL, TYPE_SYSTEM, TYPE_USER_INFO |
Method Summary | |
---|---|
void |
addChild(Property2 child)
Adds a new child to this property. |
void |
clearChildren()
Clears all children of this property. |
int |
getChildCount()
Returns the number of children of this property. |
Property2[] |
getChildren()
Returns all child properties of this property. |
Property2[] |
getChildren(java.lang.String childId)
Returns all child properties with the specified id. |
java.lang.String |
getChildValue(java.lang.String childId)
Returns the value for the first child with the specified id or an empty string no such child exists. |
Property2 |
getParent()
Returns the parent of this property or null if no parent exists. |
int |
getType()
Returns the type of this property. |
java.lang.String |
getValue()
Returns the string representation of this property's value. |
boolean |
isReadOnly()
Returns true if this property cannot be modified. |
void |
removeChild(Property2 child)
Removes a given child from this property. |
void |
setValue(java.lang.String newValue)
Sets the new value for this property. |
Methods inherited from interface org.palo.api.PaloObject |
---|
getId |
Methods inherited from interface org.palo.api.NamedEntity |
---|
getName |
Methods inherited from interface org.palo.api.Writable |
---|
canBeModified, canCreateChildren |
Field Detail |
---|
static final int TYPE_NUMERIC
static final int TYPE_STRING
static final int TYPE_BOOLEAN
Method Detail |
---|
java.lang.String getValue()
void setValue(java.lang.String newValue)
newValue
- a new value for this property.Property2 getParent()
int getChildCount()
Property2[] getChildren()
java.lang.String getChildValue(java.lang.String childId)
childId
- the id of the child property.
Property2[] getChildren(java.lang.String childId)
childId
- the id of the child properties which should be returned.
void addChild(Property2 child)
child
- the property to add to this property.void removeChild(Property2 child)
child
- void clearChildren()
boolean isReadOnly()
int getType()
getType
in interface PaloObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |