|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThingsPropertyView
The basic property view.
Version History
EPG - Initial - 16 MAY 04
Field Summary |
---|
Method Summary | |
---|---|
ThingsPropertyView |
cutting(java.lang.String path)
A cutting to get a new a new view. |
void |
graft(ThingsPropertyView sourceView)
Graft one view onto this view. |
void |
prune(java.lang.String path)
Prune off the path. |
void |
removeProperty(java.lang.String path)
Remove a specific property without subverting a tree. |
void |
save()
Ask the underlying tree to save itself. |
void |
setProperty(NVImmutable item)
Set a property value from an NVImmutable item. |
void |
setProperty(java.lang.String path,
java.lang.String value)
Set a property value as a string. |
void |
setProperty(java.lang.String path,
java.lang.String value,
java.lang.String defaultValue)
Set a property value as a string. |
void |
setPropertyMultivalue(java.lang.String path,
java.lang.String... values)
Set a property value as a multivalue. |
Methods inherited from interface things.data.ThingsPropertyViewReader |
---|
branch, getProperty, getProperty, getPropertyMultivalue, getPropertyNV, ply, sub |
Method Detail |
---|
void setProperty(java.lang.String path, java.lang.String value) throws ThingsException
path
- the property path (relative to the view root)value
- the property value as a string
ThingsException
void setProperty(java.lang.String path, java.lang.String value, java.lang.String defaultValue) throws ThingsException
path
- the property path (relative to the view root)value
- the property value as a stringdefaultValue
- the default value.
ThingsException
void setProperty(NVImmutable item) throws ThingsException
item
- the item
ThingsException
NVImmutable
void setPropertyMultivalue(java.lang.String path, java.lang.String... values) throws ThingsException
path
- the property path (relative to the view root)values
- the property values as Strings.
ThingsException
void removeProperty(java.lang.String path) throws ThingsException
path
- the property path (relative to the view root). A null or bogus path will be ignored.
ThingsException
ThingsPropertyView cutting(java.lang.String path) throws ThingsException
path
- the property path (relative to the view root). A null is not allowed.
ThingsException
void prune(java.lang.String path) throws ThingsException
path
- the property path (relative to the view root). A null is not allowed.
ThingsException
void graft(ThingsPropertyView sourceView) throws ThingsException
sourceView
- view to graft on.
ThingsException
void save() throws ThingsException
ThingsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |