|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.editor.data.pojo.PropertiesRetriever
public class PropertiesRetriever
Used for storing the additional data of the visualiser tree model nodes.
Copyright (c) Formaria Ltd., 2001-2007, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
| Field Summary | |
|---|---|
protected java.util.Hashtable |
attributeHash
|
protected java.util.Hashtable |
propertyHash
|
| Constructor Summary | |
|---|---|
PropertiesRetriever()
|
|
| Method Summary | |
|---|---|
boolean |
containsProperty(PojoModelVis model,
java.lang.String property)
Indicates whether the property of the given model has been stored |
protected java.lang.String |
getModelPath(DataModel model)
|
java.lang.Object |
getPropertyValue(PojoModelVis model,
java.lang.String property)
Retrieves the value of the given property for the given model node |
void |
removeProperty(PojoModelVis model,
java.lang.String property)
Removes the given property |
void |
setPropertyValue(PojoModelVis model,
java.lang.String property,
java.lang.Object value)
Saves the given property value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Hashtable propertyHash
protected java.util.Hashtable attributeHash
| Constructor Detail |
|---|
public PropertiesRetriever()
| Method Detail |
|---|
public java.lang.Object getPropertyValue(PojoModelVis model,
java.lang.String property)
PropertiesAccessor
getPropertyValue in interface PropertiesAccessormodel - model which property is to be returnedproperty - property to be returned
public void setPropertyValue(PojoModelVis model,
java.lang.String property,
java.lang.Object value)
PropertiesAccessor
setPropertyValue in interface PropertiesAccessormodel - model which property is to be savedproperty - the name of the property to be savedvalue - value to be saved
public void removeProperty(PojoModelVis model,
java.lang.String property)
PropertiesAccessor
removeProperty in interface PropertiesAccessormodel - model whose property is to be removedproperty - the name of the property
public boolean containsProperty(PojoModelVis model,
java.lang.String property)
PropertiesAccessor
containsProperty in interface PropertiesAccessormodel - the model which property is to be queried
protected java.lang.String getModelPath(DataModel model)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||