|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.aria.data.DataModel
org.formaria.editor.data.pojo.PojoModelVis
org.formaria.editor.data.pojo.PojoMethodArgs
public class PojoMethodArgs
Finder arguments model.
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.lang.String[] |
genericNames
|
protected java.lang.Class[] |
parameterTypes
|
protected PojoMethodArg[] |
pojoArgs
|
protected PojoModelEx |
pojoFinder
|
| Fields inherited from class org.formaria.editor.data.pojo.PojoModelVis |
|---|
adapter, ATTRIB_COMBO, ATTRIB_FREETEXT, ATTRIB_NEDITABLE, dataSource, getterSig, hashcode, ID_ATTRIBUTE, idAttrib, NUM_FIXED_ATTRIBUTE, pojo, pojoClass, pojoCollection, pojoGetter, pojoSetter, setterSig, VALUE_ATTRIBUTE, valueAttrib |
| Fields inherited from class org.formaria.aria.data.DataModel |
|---|
parentModel, tagName |
| Constructor Summary | |
|---|---|
PojoMethodArgs(PojoModelEx pc,
java.lang.reflect.Method method,
PojoDataSourceEx ds)
Creates a new instance of PojoFinderArgs |
|
| Method Summary | |
|---|---|
boolean |
argumentValuesSet()
Determines whether values of all the arguments hass been set |
DataModel |
get(int i)
Gets the finder argument. |
java.lang.Object |
get(java.lang.String element)
Gets the value of the element located at the path |
boolean |
getAttribRuntime(int i)
Indicates whether the attribute will be available in the run-time mode. |
java.lang.String |
getCaption()
Gets the visualiser tree caption of this node |
int |
getNumChildren()
Gets the number of children |
java.lang.Class[] |
getParameterTypes()
Returns the table containin parent method argument types |
java.lang.Class |
getPojoClass()
|
void |
removeAllArgumentValues()
Removes values of all arguments |
void |
set(java.lang.Object value)
Sets the model value |
protected void |
setFinderArgs()
Defines this finder arguments and restores its values in order to determine the number of children of this node. |
| Methods inherited from class org.formaria.editor.data.pojo.PojoModelVis |
|---|
append, append, get, getAdapter, getAttribAvailableValues, getAttribName, getAttribType, getAttribute, getAttribValue, getAttribValueAsDouble, getAttribValueAsDouble, getAttribValueAsInt, getAttribValueAsString, getBindingAttributes, getBindingPath, getId, getNumAttributes, getProperties, getValueAsDouble, getValueAsInt, getValueAsString, hashCode, isAttribEditable, isDirty, set, setAttribValue, setAttribValue, setCaption, setDirty, setId, setPojo, setPojoClass, setPojoGetter, setPojoSetter |
| Methods inherited from class org.formaria.aria.data.DataModel |
|---|
addModelListener, clear, fireModelUpdated, getParent, getTagName, hasAutoId, hasAutoId, prefixOutputPath, removeChildren, reset, resetAttributes, setNumAttributes, setNumChildren, setParent, setTagName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PojoModelEx pojoFinder
protected java.lang.Class[] parameterTypes
protected java.lang.String[] genericNames
protected PojoMethodArg[] pojoArgs
| Constructor Detail |
|---|
public PojoMethodArgs(PojoModelEx pc,
java.lang.reflect.Method method,
PojoDataSourceEx ds)
ds - PojoDataSourceEx objectpt - types of parameters| Method Detail |
|---|
public java.lang.Class getPojoClass()
getPojoClass in class PojoModelVispublic java.lang.Class[] getParameterTypes()
public int getNumChildren()
getNumChildren in class DataModelpublic DataModel get(int i)
get in class PojoModelVisi - position of finder's argument in the list of arguments
protected void setFinderArgs()
public void removeAllArgumentValues()
public boolean argumentValuesSet()
public java.lang.Object get(java.lang.String element)
get in class DataModelelement - the path to the PojoModel required
public java.lang.String getCaption()
getCaption in interface TreeNodeCaptiongetCaption in class PojoModelVispublic void set(java.lang.Object value)
DataModel
set in class PojoModelVisvalue - the new valuepublic boolean getAttribRuntime(int i)
PojoModelVis
getAttribRuntime in class PojoModelVisi - the index of the attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||