Java Doc for XPojoModelEx.java in  » XML-UI » xui32 » com » xoetrope » data » pojo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML UI » xui32 » com.xoetrope.data.pojo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.



Field Summary
final public static  intGETTER_ATTRIBUTE
    
final public static  intNUM_FIXED_ATTRIBUTE
    
final public static  intSETTER_ATTRIBUTE
    
final public static  intTRANSIENT_ATTRIBUTE
    
protected  booleanhasParameters
    
protected static  ObservableinvocationErrorNotifier
    
protected  booleaninvocationOk
    
protected  booleanisTransient
    
protected  XPojoMethodArgspojoMethodArgs
    
protected  StringpropertyName
    

Constructor Summary
protected  XPojoModelEx(XModel pn, Method gtr, Method str, String propName, XPojoDataSourceEx ds)
    
protected  XPojoModelEx(XModel pn, Class clazz, String propName, XPojoDataSourceEx ds)
    
protected  XPojoModelEx(XModel pn, Object p, XPojoDataSourceEx ds)
    

Method Summary
public  XModelget(int i)
     Gets the XModel object located at the i position.
public  Objectget(String element)
    
public  String[]getAttribAvailableValues(int i)
    
public  StringgetAttribName(int i)
    
public  booleangetAttribRuntime(int i)
    
public  intgetAttribType(int i)
    
public  ObjectgetAttribValue(int i)
    
public  StringgetAttribValueAsString(int i)
    
public  VectorgetBindingAttributes()
     Gets the list of this collection elemement's properties.
public  StringgetBindingPath()
    
public  StringgetId()
    
public static  ObservablegetInvocationErrorNotifier()
    
public  intgetNumAttributes()
    
public  intgetNumChildren()
    
public  Class[]getParameterTypes()
     Gets the method parameter types.
protected  Object[]getParameterValues()
    
public  ObjectgetPojo()
    
public  ClassgetPojoClass()
    
public  StringgetPropertyName()
    
public  booleanhasParameters()
    
public  booleanisAttribEditable(int i)
    
public  booleanisCollection()
     Indicates whether this model node wraps a collection.
public  booleanisCollectionElement()
    
public  booleanisTransient()
     Indicates whether the "transient" property of this mode is set.
protected  voidnotifyObservers(Exception ex)
    
protected  voidobtainPropertyValue()
    
public  booleanparametersSet()
     Indicates whether all finder arguments values were set.
public  voidsetAttribValue(int i, Object value)
    
public  voidsetTransient(boolean state)
     Sets the "transient" property of this model node.

Field Detail
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)



pojoMethodArgs
protected XPojoMethodArgs pojoMethodArgs(Code)



propertyName
protected String propertyName(Code)




Constructor Detail
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




Method Detail
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)



getAttribName
public String getAttribName(int i)(Code)



getAttribRuntime
public boolean getAttribRuntime(int i)(Code)



getAttribType
public int getAttribType(int i)(Code)



getAttribValue
public Object getAttribValue(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



getPojoClass
public Class getPojoClass()(Code)



getPropertyName
public String getPropertyName()(Code)



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.



notifyObservers
protected void notifyObservers(Exception ex)(Code)



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



Fields inherited from com.xoetrope.data.pojo.XPojoModelVis
final public static int ATTRIB_COMBO(Code)(Java Doc)
final public static int ATTRIB_FREETEXT(Code)(Java Doc)
final public static int ATTRIB_NEDITABLE(Code)(Java Doc)
final public static int ID_ATTRIBUTE(Code)(Java Doc)
final public static int NUM_FIXED_ATTRIBUTE(Code)(Java Doc)
final public static int VALUE_ATTRIBUTE(Code)(Java Doc)
protected XPojoAdapterEx adapter(Code)(Java Doc)
protected XPojoDataSourceEx dataSource(Code)(Java Doc)
protected Class[] getterSig(Code)(Java Doc)
protected volatile int hashcode(Code)(Java Doc)
protected String idAttrib(Code)(Java Doc)
protected Object pojo(Code)(Java Doc)
protected Class pojoClass(Code)(Java Doc)
protected XPojoModelVis[] pojoCollection(Code)(Java Doc)
protected Method pojoGetter(Code)(Java Doc)
protected Method pojoSetter(Code)(Java Doc)
protected Class[] setterSig(Code)(Java Doc)
protected String valueAttrib(Code)(Java Doc)

Methods inherited from com.xoetrope.data.pojo.XPojoModelVis
public void append(XModel xModel)(Code)(Java Doc)
public Object append(String string)(Code)(Java Doc)
public Object get()(Code)(Java Doc)
public XModel get(int i)(Code)(Java Doc)
public XPojoAdapterEx getAdapter()(Code)(Java Doc)
public String[] getAttribAvailableValues(int i)(Code)(Java Doc)
public String getAttribName(int i)(Code)(Java Doc)
public boolean getAttribRuntime(int i)(Code)(Java Doc)
public int getAttribType(int i)(Code)(Java Doc)
public Object getAttribValue(int i)(Code)(Java Doc)
public double getAttribValueAsDouble(int i)(Code)(Java Doc)
public double getAttribValueAsDouble(int i, char c, char c0)(Code)(Java Doc)
public int getAttribValueAsInt(int i)(Code)(Java Doc)
public String getAttribValueAsString(int i)(Code)(Java Doc)
public int getAttribute(String string)(Code)(Java Doc)
public Vector getBindingAttributes()(Code)(Java Doc)
public String getBindingPath()(Code)(Java Doc)
public String getCaption()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public int getNumAttributes()(Code)(Java Doc)
public Class getPojoClass()(Code)(Java Doc)
public XPojoProperties getProperties()(Code)(Java Doc)
public double getValueAsDouble(String string)(Code)(Java Doc)
public int getValueAsInt(String string)(Code)(Java Doc)
public String getValueAsString(String string)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isAttribEditable(int i)(Code)(Java Doc)
public boolean isDirty()(Code)(Java Doc)
public void set(String string, Object object)(Code)(Java Doc)
public void set(Object obj)(Code)(Java Doc)
public void setAttribValue(int i, String string, Object object)(Code)(Java Doc)
public void setAttribValue(int i, Object value)(Code)(Java Doc)
public void setCaption(String caption)(Code)(Java Doc)
public void setDirty(boolean state)(Code)(Java Doc)
public void setId(String newId)(Code)(Java Doc)
protected void setPojo(Object aPojo)(Code)(Java Doc)
protected void setPojoClass(Class clazz)(Code)(Java Doc)
protected void setPojoGetter(Method aMethod)(Code)(Java Doc)
protected void setPojoSetter(Method aMethod)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.