| com.xoetrope.data.pojo.XPojoModelVis com.xoetrope.data.pojo.XPojoModelEx
All known Subclasses: com.xoetrope.data.pojo.XPersistentPojoModelEx, com.xoetrope.data.pojo.XPojoIteratorEx,
XPojoModelEx | public class XPojoModelEx extends XPojoModelVis (Code) | | Model supporting properties with arguments. The first child of this node
is a model node representing finder arguments, if there are any.
Copyright (c) Xoetrope 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 Xoetrope.
|
GETTER_ATTRIBUTE | final public static int GETTER_ATTRIBUTE(Code) | | |
NUM_FIXED_ATTRIBUTE | final public static int NUM_FIXED_ATTRIBUTE(Code) | | |
SETTER_ATTRIBUTE | final public static int SETTER_ATTRIBUTE(Code) | | |
TRANSIENT_ATTRIBUTE | final public static int TRANSIENT_ATTRIBUTE(Code) | | |
hasParameters | protected boolean hasParameters(Code) | | |
invocationErrorNotifier | protected static Observable invocationErrorNotifier(Code) | | |
invocationOk | protected boolean invocationOk(Code) | | |
isTransient | protected boolean isTransient(Code) | | |
XPojoModelEx | protected XPojoModelEx(XModel pn, Method gtr, Method str, String propName, XPojoDataSourceEx ds)(Code) | | Creates a new instance of XPojoModelEx
Parameters: ds - the data source object Parameters: p - parent POJO Parameters: fm - finder method Parameters: propName - the name of the pojo property to be wrapped Parameters: pm - the parent model node |
XPojoModelEx | protected XPojoModelEx(XModel pn, Class clazz, String propName, XPojoDataSourceEx ds)(Code) | | Creates a new instance of XPojoModelEx
Parameters: pn - parent model node Parameters: clazz - the class of the underlying POJO Parameters: propName - the name of the POJO property to be wrapped Parameters: ds - the data source object that's been used to load this model node |
XPojoModelEx | protected XPojoModelEx(XModel pn, Object p, XPojoDataSourceEx ds)(Code) | | Creates a new instance of XPojoModelEx
Parameters: ds - data source object Parameters: p - POJO to be wrapped by this object Parameters: pn - parent model node |
get | public XModel get(int i)(Code) | | Gets the XModel object located at the i
position.
Parameters: i - position of the node XModel object |
get | public Object get(String element)(Code) | | Gets the value located at the specified path
Parameters: element - the path the value of the XPojoModel |
getAttribAvailableValues | public String[] getAttribAvailableValues(int i)(Code) | | |
getAttribRuntime | public boolean getAttribRuntime(int i)(Code) | | |
getAttribType | public int getAttribType(int i)(Code) | | |
getAttribValueAsString | public String getAttribValueAsString(int i)(Code) | | Returns the value of the attribute converted to a String
at the specified index
Parameters: i - the index of the attribute String value of the attribute |
getBindingAttributes | public Vector getBindingAttributes()(Code) | | Gets the list of this collection elemement's properties.
Vector containing binding attributes that this modelnode can provide |
getBindingPath | public String getBindingPath()(Code) | | Gets the runtime binding path of this model node
the runtime binding path |
getId | public String getId()(Code) | | Gets the id of this node
the id |
getInvocationErrorNotifier | public static Observable getInvocationErrorNotifier()(Code) | | Gets a method invocation error notifier
the notifier |
getNumAttributes | public int getNumAttributes()(Code) | | |
getNumChildren | public int getNumChildren()(Code) | | Gets the number of children of this model node
the number of children |
getParameterTypes | public Class[] getParameterTypes()(Code) | | Gets the method parameter types.
Table containing types of the parameters |
getParameterValues | protected Object[] getParameterValues()(Code) | | Retrieves the method parameter values
Table containing values of the parameters |
getPojo | public Object getPojo()(Code) | | Gets pojo wrapped by this model node
pojo |
hasParameters | public boolean hasParameters()(Code) | | |
isAttribEditable | public boolean isAttribEditable(int i)(Code) | | |
isCollection | public boolean isCollection()(Code) | | Indicates whether this model node wraps a
collection.
|
isCollectionElement | public boolean isCollectionElement()(Code) | | Indicates whether this model node is wrapping collection's
element
true if this node wraps collection's element,false otherwise |
isTransient | public boolean isTransient()(Code) | | Indicates whether the "transient" property of
this mode is set.
|
obtainPropertyValue | protected void obtainPropertyValue()(Code) | | Obtains the underlying property value
|
parametersSet | public boolean parametersSet()(Code) | | Indicates whether all finder arguments values were set.
true if arguments values were set or the findermethod is argumentless, false otherwise. |
setAttribValue | public void setAttribValue(int i, Object value)(Code) | | |
setTransient | public void setTransient(boolean state)(Code) | | Sets the "transient" property of this model node.
Parameters: state - new state of the "transient" property |
|
|