| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents a property of the model element. Property is
a name-value pair where both name and value are strings. One of the reasons of
such restriction on the value type is a homogenuity requirement. Although
model may be not well-structured, it should be homogenouos in the sense
of value types.
Property object itself can contain nested properties accessible
via getSubproperties method. Thus, properties can form
tree-like structure.
Properties ARE NOT elements of the model, that is they do
not have identifiers, properties tree can not be backward traversed, etc.
Properties responsible for the storage of atomic values, not more and not
less.
| Field Summary | |
final static PropertyMap | lnkPropertyMap |
final static String | META_CHILDLINKS |
final static String | META_CHILDNODES |
final static String | META_CHILDREN |
final static String | METACLASS |
final static String | MODEL_ID |
final static String | NAME |
| Method Summary | |
boolean | canSetValue(String newValue) |
String | getName() |
PropertyMap | getSubproperties()Provides an access to the nested properties tree |
String | getValue() |
boolean | isWritable() |
void | setValue(String newValue)Sets value of this property to the given newValue |
| Field Detail |
public final static PropertyMap lnkPropertyMap
public final static String META_CHILDLINKS
public final static String META_CHILDNODES
public final static String META_CHILDREN
public final static String METACLASS
public final static String MODEL_ID
public final static String NAME
| Method Detail |
public boolean canSetValue(String newValue)
true if given newValue is valid
isWritable(). It is possible that a property is writable
public String getName()
public PropertyMap getSubproperties()
PropertyMap containing nestedpublic String getValue()
public boolean isWritable()
true if this property is writablepublic void setValue(String newValue)
newValue| Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class com.togethersoft.openapi.model.elements.PropertyMap
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||