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


java.lang.Object
   org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject

All known Subclasses:   org.netbeans.modules.sql.framework.model.impl.SQLJoinTableImpl,  org.netbeans.modules.sql.framework.model.impl.SQLLiteralImpl,  org.netbeans.modules.sql.framework.model.impl.SQLGroupByImpl,  org.netbeans.modules.sql.framework.model.impl.AbstractDBTable,  org.netbeans.modules.sql.framework.model.impl.ColumnRefImpl,  org.netbeans.modules.sql.framework.model.impl.AbstractDBColumn,  org.netbeans.modules.sql.framework.model.impl.SQLJoinViewImpl,  org.netbeans.modules.sql.framework.model.impl.SQLDBModelImpl,  org.netbeans.modules.sql.framework.model.impl.SQLConnectableObjectImpl,
AbstractSQLObject
abstract public class AbstractSQLObject implements SQLObject(Code)
This basic class provides sql framework functionality to all SQLObjects
author:
   Ritesh Adval
version:
   $Revision$


Field Summary
protected  Mapattributes
    
protected transient  StringdisplayName
    
protected transient  Stringid
    
protected transient  StringobjectType
    
protected transient  ObjectparentObject
     Object instance that "owns" this AbstractSQLObject instance.
protected  inttype
    

Constructor Summary
public  AbstractSQLObject()
    

Method Summary
public  ObjectcloneSQLObject()
    
public  voidcopyFromSource(SQLObject source)
    
public  booleanequals(Object o)
     Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables.
public  AttributegetAttribute(String attrName)
    
public  CollectiongetAttributeNames()
    
public  ObjectgetAttributeObject(String attrName)
    
public  ListgetChildSQLObjects()
     Gets List of child SQLObjects belonging to this instance.
public  StringgetDisplayName()
    
public  StringgetFooter()
    
public  StringgetHeader()
    
public  StringgetId()
    
public  intgetJdbcType()
    
public  intgetObjectType()
    
public  SQLObjectgetOutput(String argName)
    
public  ObjectgetParentObject()
    
public  inthashCode()
     Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables.
protected  voidparseCommonAttributesAndTags(Element xmlElement)
    
public  voidparseXML(Element xmlElement)
    
public  voidreset()
    
public  voidsecondPassParse(Element element)
    
public  voidsetAttribute(String attrName, Object val)
    
public  voidsetDisplayName(String newName)
    
public  voidsetId(String newId)
    
public  voidsetJdbcType(int newType)
    
public  voidsetParentObject(Object newParent)
    
protected  StringtoXMLAttributeTags(String prefix)
     Generates XML elements representing this object's associated attributes.
public  StringtoXMLString(String prefix)
     Generates XML document representing this object's content, using the given String as a prefix for each line.

Field Detail
attributes
protected Map attributes(Code)
Map of attributes; used by concrete implementations to store class-specific fields without hardcoding them as member variables



displayName
protected transient String displayName(Code)
User-modifiable display name for this object



id
protected transient String id(Code)
Unique handle for SQLObject-related referencing purposes



objectType
protected transient String objectType(Code)
String representation of object type



parentObject
protected transient Object parentObject(Code)
Object instance that "owns" this AbstractSQLObject instance.



type
protected int type(Code)
int representation of object type




Constructor Detail
AbstractSQLObject
public AbstractSQLObject()(Code)
Creates a new instance of SQLBasicObject




Method Detail
cloneSQLObject
public Object cloneSQLObject() throws CloneNotSupportedException(Code)
all sql objects are cloneable cloned SQL object
throws:
  CloneNotSupportedException - - exception



copyFromSource
public void copyFromSource(SQLObject source)(Code)
Copy
Parameters:
  source - - source



equals
public boolean equals(Object o)(Code)
Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables.
Parameters:
  o - Object to test for equality with this hashcode for this instance



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)

See Also:   SQLObject.getAttributeNames



getAttributeObject
public Object getAttributeObject(String attrName)(Code)

See Also:   SQLObject.getAttributeObject



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



getDisplayName
public String getDisplayName()(Code)

See Also:   SQLObject.getDisplayName



getFooter
public String getFooter()(Code)

See Also:   SQLObject.getFooter



getHeader
public String getHeader()(Code)

See Also:   SQLObject.getHeader



getId
public String getId()(Code)

See Also:   SQLObject.getId



getJdbcType
public int getJdbcType()(Code)

See Also:   SQLObject.getJdbcType



getObjectType
public int getObjectType()(Code)

See Also:   SQLObject.getObjectType



getOutput
public SQLObject getOutput(String argName) throws BaseException(Code)

See Also:   SQLObject.getOutput(java.lang.String)



getParentObject
public Object getParentObject()(Code)

See Also:   SQLObject.getParentObject



hashCode
public int hashCode()(Code)
Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables. hashcode for this instance



parseCommonAttributesAndTags
protected void parseCommonAttributesAndTags(Element xmlElement) throws BaseException(Code)
Parse common attributes
Parameters:
  xmlElement - - element
throws:
  BaseException - - exception



parseXML
public void parseXML(Element xmlElement) throws BaseException(Code)

See Also:   SQLObject.parseXML



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



secondPassParse
public void secondPassParse(Element element) throws BaseException(Code)

See Also:   SQLObject.secondPassParse



setAttribute
public void setAttribute(String attrName, Object val)(Code)

See Also:   SQLObject.setAttribute



setDisplayName
public void setDisplayName(String newName)(Code)

See Also:   SQLObject.setDisplayName



setId
public void setId(String newId) throws BaseException(Code)

See Also:   SQLObject.setId



setJdbcType
public void setJdbcType(int newType)(Code)

See Also:   SQLObject.setJdbcType(int)



setParentObject
public void setParentObject(Object newParent) throws BaseException(Code)

See Also:   SQLObject.setParentObject



toXMLAttributeTags
protected String toXMLAttributeTags(String prefix)(Code)
Generates XML elements representing this object's associated attributes.
Parameters:
  prefix - Prefix string to be prepended to each element String containing XML representation of attributes



toXMLString
public String toXMLString(String prefix) throws BaseException(Code)
Generates XML document representing this object's content, using the given String as a prefix for each line.
Parameters:
  prefix - String to be prepended to each line of the generated XML document String containing XML representation
exception:
  BaseException - - exception
See Also:   SQLObject.toXMLString(java.lang.String)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w_w_w___.___j_a_va___2_s___.___c_o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.