Java Doc for XPojoMethodArg.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.XPojoMethodArg

XPojoMethodArg
public class XPojoMethodArg extends XPojoModelVis (Code)
Model of the arguments of the pojos methods. Works only for primitives.

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  intARG_NAME
    
final public static  intARG_TYPE
    
final public static  intARG_TYPEG
    
final public static  intARG_VALUE
    
protected  intargIdx
    
protected  ClassargumentType
    
protected  StringgenericName
    
protected  XPojoModelExpojoFinder
    
protected  XPropertiesRetrieverpropertiesRetriever
    

Constructor Summary
public  XPojoMethodArg(XPojoMethodArgs pc, int i, Class at, String gn, XPropertiesRetriever ar)
     Full constructor, Creates the new instance of XPojoArg class.

Method Summary
public  intgetArgIdx()
     Gets the position of this argument in the list of arguments.
public  ClassgetArgumentType()
    
public  StringgetAttribName(int idx)
    
public  StringgetAttribValue(int idx)
    
public  intgetAttribute(String attribName)
    
public  VectorgetBindingAttributes()
    
public  StringgetCaption()
     Gets the caption of this object which will appear in the visualiser tree.
public  StringgetGenericName()
     Gets the name of this argument's type, as it occurs in the source code.
public  StringgetName()
    
public  intgetNumAttributes()
    
public  intgetNumChildren()
    
public  ClassgetPojoClass()
    
public  ObjectgetValue()
    
public  booleanhasValue()
     Determines wheter the value of this argument has been set.
public  booleanisGeneric()
     Indicates whether argument wrapped by this model node was declared in the source code as generic.
public  voidremoveValue()
     Removes the value of this argument.
public  voidrestoreArgument()
    
public  voidsetArgumentType(Class newType)
     Sets the new type of the underlying argument.
public  voidsetAttribValue(int idx, Object value)
     Sets the value of the attribute.
public  voidsetValue(Object val)
    

Field Detail
ARG_NAME
final public static int ARG_NAME(Code)



ARG_TYPE
final public static int ARG_TYPE(Code)



ARG_TYPEG
final public static int ARG_TYPEG(Code)



ARG_VALUE
final public static int ARG_VALUE(Code)



argIdx
protected int argIdx(Code)



argumentType
protected Class argumentType(Code)



genericName
protected String genericName(Code)



pojoFinder
protected XPojoModelEx pojoFinder(Code)



propertiesRetriever
protected XPropertiesRetriever propertiesRetriever(Code)




Constructor Detail
XPojoMethodArg
public XPojoMethodArg(XPojoMethodArgs pc, int i, Class at, String gn, XPropertiesRetriever ar)(Code)
Full constructor, Creates the new instance of XPojoArg class.
Parameters:
  idx - argument's position in the list of finder's arguments.
Parameters:
  at - the type of the argument wrapped by this model node.
Parameters:
  gat - the type of the generic type of the argument
Parameters:
  pc - XPojoFinderEx object the argument of which is wrapped
Parameters:
  ac - object being used to obtain value of the argument wrappedby this XPojoFinderArg object




Method Detail
getArgIdx
public int getArgIdx()(Code)
Gets the position of this argument in the list of arguments. position of this argument



getArgumentType
public Class getArgumentType()(Code)
Gets the current type of the argument wrapped by this node argument type



getAttribName
public String getAttribName(int idx)(Code)
Gets the name of the finder argument's attribute
Parameters:
  idx - the index of the attribute the name of the attribute



getAttribValue
public String getAttribValue(int idx)(Code)
Gets the value of the finder argument's attribute
Parameters:
  idx - the index of the attribute the value of the attribute



getAttribute
public int getAttribute(String attribName)(Code)
Returns the index of the attribiteNames array whose value is the same as the attribName
Parameters:
  attribName - The name of the attribute we are trying to locate The index of the attributeNames array containg the name



getBindingAttributes
public Vector getBindingAttributes()(Code)
Gets the attributes



getCaption
public String getCaption()(Code)
Gets the caption of this object which will appear in the visualiser tree. the caption



getGenericName
public String getGenericName()(Code)
Gets the name of this argument's type, as it occurs in the source code. the name of this argument's type



getName
public String getName()(Code)
Gets the name of this attribute the name of this attribute



getNumAttributes
public int getNumAttributes()(Code)
Returns the number of attributes of this model node 3 (type, name, value)



getNumChildren
public int getNumChildren()(Code)
Gets the number of children of this model node, 0, since it wrapps only the primitives



getPojoClass
public Class getPojoClass()(Code)



getValue
public Object getValue()(Code)
Gets the value of the argument value



hasValue
public boolean hasValue()(Code)
Determines wheter the value of this argument has been set. true if this argument has a value, false otherwise



isGeneric
public boolean isGeneric()(Code)
Indicates whether argument wrapped by this model node was declared in the source code as generic. true if the argument is generic, falseotherwise



removeValue
public void removeValue()(Code)
Removes the value of this argument.



restoreArgument
public void restoreArgument()(Code)
Restores the value of this argument



setArgumentType
public void setArgumentType(Class newType)(Code)
Sets the new type of the underlying argument.
Parameters:
  newType - the new type to be set



setAttribValue
public void setAttribValue(int idx, Object value)(Code)
Sets the value of the attribute. This method is being called from the visualiser's in order to set the new value of the wrapped attribute.
Parameters:
  idx - index of the model's attribute
Parameters:
  value - the new values of the underlaying attribute



setValue
public void setValue(Object val)(Code)
Sets the value of the argument
Parameters:
  val - new value of the wrapped argument



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.