Java Doc for SQLObject.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » model » 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 » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.sql.framework.model.SQLObject

All known Subclasses:   org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject,
SQLObject
public interface SQLObject extends Cloneable(Code)
Root interface for all objects in the UI Object Model. Classes which implement this interface are considered to be valid inputs to any instance of a class implementing SQLConnectableObject.
author:
   Jonathan Giron
version:
   $Revision$
See Also:   org.netbeans.modules.sql.framework.model.SQLConnectableObject


Field Summary
final public static  StringATTR_ARGNAME
    
final public static  StringDISPLAY_NAME
    
final public static  StringID
    
final public static  StringOBJECT_TYPE
    
final public static  StringTAG_INPUT
    
final public static  StringTAG_SQLOBJECT
    
final public static  StringTYPE
    


Method Summary
public  ObjectcloneSQLObject()
    
public  AttributegetAttribute(String attrName)
    
public  CollectiongetAttributeNames()
     Gets Collection of active attribute names.
public  ObjectgetAttributeObject(String attrName)
     Gets the object referenced by a named Attribute, if it exists.
public  ListgetChildSQLObjects()
     Gets List of child SQLObjects belonging to this instance.
public  StringgetDisplayName()
     Gets display name of this SQLObject instance.
public  StringgetFooter()
     Gets the XML footer string for this instance; called by subclasses while generating XML output.
public  StringgetHeader()
     Gets the XML header string for this instance; called by subclasses while generating XML output.
public  StringgetId()
     Gets unique ID for this instance of SQLObject.
public  intgetJdbcType()
     Gets JDBC type of output, if any.
public  intgetObjectType()
     Gets specific type of SQLObject (as an enumerated int value) that this instance represents.
public  SQLObjectgetOutput(String argName)
     Gets reference to SQLObject corresponding to given argument name that can be linked to an SQLConnectableObject.
public  ObjectgetParentObject()
     Gets parent object for this SQLObject instance.
public  voidparseXML(Element element)
     Populates the member variables and collections of this SQLObject instance, parsing the given DOM Element as the source for reconstituting its contents.
public  voidreset()
    
public  voidsecondPassParse(Element element)
     Parses elements which require a second round of parsing to resolve their references.
public  voidsetAttribute(String attrName, Object val)
     Sets an attribute name-value pair.
public  voidsetDisplayName(String newName)
     Sets display name of this SQLObject instance.
public  voidsetId(String newId)
     Sets ID for this instance of SQLObject; must be unique in any collection of SQLObjects within which this instance is a part.
public  voidsetJdbcType(int newType)
     Sets JDBC type of output, if any.
public  voidsetParentObject(Object newParent)
     Sets parent object for this SQLObject instance.
public  StringtoXMLString(String prefix)
     Gets XML representation of this SQLObject, appending the given String to the beginning of each new line.

Field Detail
ATTR_ARGNAME
final public static String ATTR_ARGNAME(Code)
XML attribute name for argument name



DISPLAY_NAME
final public static String DISPLAY_NAME(Code)
XML attribute name for display name



ID
final public static String ID(Code)
XML attribute name for ID



OBJECT_TYPE
final public static String OBJECT_TYPE(Code)
XML attribute name for object type



TAG_INPUT
final public static String TAG_INPUT(Code)
XML tag name for input



TAG_SQLOBJECT
final public static String TAG_SQLOBJECT(Code)
XML tag name for SQLObject (root element)



TYPE
final public static String TYPE(Code)
XML attribute name for type





Method Detail
cloneSQLObject
public Object cloneSQLObject() throws CloneNotSupportedException(Code)
all sql objects are cloneable



getAttribute
public Attribute getAttribute(String attrName)(Code)
Gets an Attribute based on its name
Parameters:
  attrName - attribute Name Attribute instance associated with attrName, or null if none exists



getAttributeNames
public Collection getAttributeNames()(Code)
Gets Collection of active attribute names. Collection of attribute names



getAttributeObject
public Object getAttributeObject(String attrName)(Code)
Gets the object referenced by a named Attribute, if it exists.
Parameters:
  attrName - attribute Name Object referenced by Attributed with name attrName, or null if none exists



getChildSQLObjects
public List getChildSQLObjects()(Code)
Gets List of child SQLObjects belonging to this instance. List of child SQLObjects



getDisplayName
public String getDisplayName()(Code)
Gets display name of this SQLObject instance. display name



getFooter
public String getFooter()(Code)
Gets the XML footer string for this instance; called by subclasses while generating XML output. String footer



getHeader
public String getHeader()(Code)
Gets the XML header string for this instance; called by subclasses while generating XML output. String header



getId
public String getId()(Code)
Gets unique ID for this instance of SQLObject. String representing unique instance ID



getJdbcType
public int getJdbcType()(Code)
Gets JDBC type of output, if any. JDBC type of output, or SQLConstants.JDBCSQL_TYPE_UNDEFINED if output isundefined for this instance



getObjectType
public int getObjectType()(Code)
Gets specific type of SQLObject (as an enumerated int value) that this instance represents. int value representing specific object type



getOutput
public SQLObject getOutput(String argName) throws BaseException(Code)
Gets reference to SQLObject corresponding to given argument name that can be linked to an SQLConnectableObject.
Parameters:
  argName - argument name of linkable SQLObject linkable SQLObject corresponding to argName
throws:
  BaseException - if object cannot be linked to an SQLConnectableObject



getParentObject
public Object getParentObject()(Code)
Gets parent object for this SQLObject instance. reference to parent object



parseXML
public void parseXML(Element element) throws BaseException(Code)
Populates the member variables and collections of this SQLObject instance, parsing the given DOM Element as the source for reconstituting its contents.
Parameters:
  element - DOM element containing XML marshalled version of this SQLObjectinstance
throws:
  BaseException - if element is null or error occurs during parsing



reset
public void reset()(Code)
Clear id and parent object



secondPassParse
public void secondPassParse(Element element) throws BaseException(Code)
Parses elements which require a second round of parsing to resolve their references.
Parameters:
  element - DOM element containing XML marshalled version of this SQLObjectinstance
throws:
  BaseException - if element is null or error occurs during parsing



setAttribute
public void setAttribute(String attrName, Object val)(Code)
Sets an attribute name-value pair. The name of the Attribute should be one of the String constants defined in this class.
Parameters:
  attrName - attribute Name
Parameters:
  val - value of the attribute



setDisplayName
public void setDisplayName(String newName)(Code)
Sets display name of this SQLObject instance.
Parameters:
  newName - new display name



setId
public void setId(String newId) throws BaseException(Code)
Sets ID for this instance of SQLObject; must be unique in any collection of SQLObjects within which this instance is a part.
Parameters:
  newId - new instance ID for this SQLObject; must be a unique value
throws:
  BaseException - if newID is null or invalid, or if error occurs while settingID value



setJdbcType
public void setJdbcType(int newType)(Code)
Sets JDBC type of output, if any.
Parameters:
  newType - new JDBC type of output; ignored if output is undefined for thisinstance



setParentObject
public void setParentObject(Object newParent) throws BaseException(Code)
Sets parent object for this SQLObject instance.
Parameters:
  newParent - reference to new pagetObjectTyperent object.
throws:
  BaseException - if newParent reference is null or error occurs while settingparent reference



toXMLString
public String toXMLString(String prefix) throws BaseException(Code)
Gets XML representation of this SQLObject, appending the given String to the beginning of each new line.
Parameters:
  prefix - String to append to each new line of the XML representation XML representation of this SQLObject instance



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