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


org.netbeans.modules.sql.framework.model.impl.AbstractDBColumn
   org.netbeans.modules.mashup.db.model.impl.FlatfileDBColumnImpl

FlatfileDBColumnImpl
public class FlatfileDBColumnImpl extends AbstractDBColumn implements FlatfileDBColumn,Cloneable,Comparable(Code)
Implements FlatfileDBColumn interface.
author:
   Jonathan Giron
author:
   Girish Patil
author:
   Ahimanikya Satapathy
version:
   $Revision$


Field Summary
protected  intcardinalPosition
    

Constructor Summary
public  FlatfileDBColumnImpl()
    
public  FlatfileDBColumnImpl(DBColumn src)
     Creates a new instance of FlatfileDBColumnImpl, cloning the contents of the given DBColumn implementation instance.
public  FlatfileDBColumnImpl(String colName, int sqlJdbcType, int colPrecision, int colScale, boolean isNullable)
     Constructs a new instance of FlatfileDBColumnImpl using the given parameters and assuming that the column is not part of a foreign key or primary key, and that it accepts null values.
public  FlatfileDBColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isPrimaryKey, boolean isForeignKey, boolean isIndexed, boolean isNullable)
     Constructs a new instance of FlatfileDBColumnImpl using the given parameters.

Method Summary
public  Objectclone()
     Clone a deep copy of DBColumn.
public  intcompareTo(Object refObj)
     Compares DBColumn with another object for lexicographical ordering.
public  voidcopyFrom(DBColumn source)
     Sets the various member variables and collections using the given DBColumn instance as a source object.
public  StringdebugOutput(String prefix)
     Gets debug output as a String, using the given String as a prefix for each output line.
public  booleanequals(Object refObj)
     Overrides default implementation to return value based on memberwise comparison.
public  intgetCardinalPosition()
    
public  StringgetCreateStatementSQL()
     Gets the SQL create statement to create a column representing this flatfile field.
protected  StringgetElementTagName()
    
public  MapgetProperties()
     Gets Map of current properties associated with this field.
public  StringgetProperty(String propName)
     Gets property string associated with the given name.
public  intgetScale()
    
public  inthashCode()
     Returns the hashCode for this object.
public  booleanisSelected()
    
public  voidparseXML(Element xmlElement)
    
public  voidsetCardinalPosition(int theCardinalPosition)
    
public  voidsetJdbcType(int newType)
     Sets SQL type code.
public  StringtoXMLString(String prefix)
     Marshall this object to XML string.

Field Detail
cardinalPosition
protected int cardinalPosition(Code)




Constructor Detail
FlatfileDBColumnImpl
public FlatfileDBColumnImpl()(Code)



FlatfileDBColumnImpl
public FlatfileDBColumnImpl(DBColumn src)(Code)
Creates a new instance of FlatfileDBColumnImpl, cloning the contents of the given DBColumn implementation instance.
Parameters:
  src - DBColumn instance to be cloned



FlatfileDBColumnImpl
public FlatfileDBColumnImpl(String colName, int sqlJdbcType, int colPrecision, int colScale, boolean isNullable)(Code)
Constructs a new instance of FlatfileDBColumnImpl using the given parameters and assuming that the column is not part of a foreign key or primary key, and that it accepts null values.
Parameters:
  colName - name of this column
Parameters:
  sqlJdbcType - JDBC type of this column
Parameters:
  colScale - scale of this column
Parameters:
  colPrecision - precision of this column
Parameters:
  isNullable - true if nullable, false otherwise
See Also:   java.sql.Types



FlatfileDBColumnImpl
public FlatfileDBColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isPrimaryKey, boolean isForeignKey, boolean isIndexed, boolean isNullable)(Code)
Constructs a new instance of FlatfileDBColumnImpl using the given parameters.
Parameters:
  colName - name of this column
Parameters:
  sqlJdbcType - JDBC type of this column
Parameters:
  colScale - scale of this column
Parameters:
  colPrecision - precision of this column
Parameters:
  isPrimaryKey - true if part of a primary key, false otherwise
Parameters:
  isForeignKey - true if part of a foreign key, false otherwise
Parameters:
  isIndexed - true if indexed, false otherwise
Parameters:
  isNullable - true if nullable, false otherwise
See Also:   java.sql.Types




Method Detail
clone
public Object clone()(Code)
Clone a deep copy of DBColumn. a copy of DBColumn.



compareTo
public int compareTo(Object refObj)(Code)
Compares DBColumn with another object for lexicographical ordering. Null objects and those DBColumns with null names are placed at the end of any ordered collection using this method.
Parameters:
  refObj - Object to be compared. -1 if this column is before refObj 0 if this column and refObj are in thesame position. 1 if this column name is after refObj
throws:
  ClassCastException - if refObj is not comparable to FlatfileDBColumnImpl



copyFrom
public void copyFrom(DBColumn source)(Code)
Sets the various member variables and collections using the given DBColumn instance as a source object.
Parameters:
  source - DBColumn from which to obtain values for member variables andcollections



debugOutput
public String debugOutput(String prefix)(Code)
Gets debug output as a String, using the given String as a prefix for each output line.
Parameters:
  prefix - String to prepend to each new line of debug output debug output



equals
public boolean equals(Object refObj)(Code)
Overrides default implementation to return value based on memberwise comparison.
Parameters:
  refObj - Object against which we compare this instance true if refObj is functionally identical to this instance; false otherwise



getCardinalPosition
public int getCardinalPosition()(Code)



getCreateStatementSQL
public String getCreateStatementSQL()(Code)
Gets the SQL create statement to create a column representing this flatfile field. SQL statement fragment to create of a column representing this field



getElementTagName
protected String getElementTagName()(Code)



getProperties
public Map getProperties()(Code)
Gets Map of current properties associated with this field. unmodifiable Map of current properties.



getProperty
public String getProperty(String propName)(Code)
Gets property string associated with the given name.
Parameters:
  propName - property key property associated with propName, or null if no such property exists.



getScale
public int getScale()(Code)

See Also:   org.netbeans.modules.model.database.DBColumn.getScale



hashCode
public int hashCode()(Code)
Returns the hashCode for this object. the hashCode of this object.



isSelected
public boolean isSelected()(Code)
Indicates whether column is selected true if selected, false otherwise



parseXML
public void parseXML(Element xmlElement)(Code)



setCardinalPosition
public void setCardinalPosition(int theCardinalPosition)(Code)



setJdbcType
public void setJdbcType(int newType)(Code)
Sets SQL type code.
Parameters:
  newCode - SQL code
throws:
  FlatfileDBException - if newCode is not a recognized SQL type code



toXMLString
public String toXMLString(String prefix)(Code)
Marshall this object to XML string.
Parameters:
  prefix - XML string



Fields inherited from org.netbeans.modules.sql.framework.model.impl.AbstractDBColumn
final protected static String COLUMN_CATALOGNAME_ATTR(Code)(Java Doc)
final protected static String COLUMN_DEFAULTVALUE_ATTR(Code)(Java Doc)
final protected static String COLUMN_INDEXED_ATTR(Code)(Java Doc)
final protected static String COLUMN_ISFK_ATTR(Code)(Java Doc)
final protected static String COLUMN_ISPK_ATTR(Code)(Java Doc)
final protected static String COLUMN_MODEL_ATTR(Code)(Java Doc)
final protected static String COLUMN_NAME_ATTR(Code)(Java Doc)
final protected static String COLUMN_NULLABLE_ATTR(Code)(Java Doc)
final protected static String COLUMN_ORDINAL_POSITION_ATTR(Code)(Java Doc)
final protected static String COLUMN_PRECISION_ATTR(Code)(Java Doc)
final protected static String COLUMN_SCALE_ATTR(Code)(Java Doc)
final protected static String COLUMN_SCHEMANAME_ATTR(Code)(Java Doc)
final protected static String COLUMN_TABLENAME_ATTR(Code)(Java Doc)
final protected static String COLUMN_TYPE_ATTR(Code)(Java Doc)
final public static int POSITION_UNKNOWN(Code)(Java Doc)
final protected static String UNKNOWN_TYPE(Code)(Java Doc)
protected String defaultValue(Code)(Java Doc)
protected boolean fkFlag(Code)(Java Doc)
protected boolean indexed(Code)(Java Doc)
protected int jdbcType(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected boolean nullable(Code)(Java Doc)
protected int ordinalPosition(Code)(Java Doc)
protected DBTable parent(Code)(Java Doc)
protected boolean pkFlag(Code)(Java Doc)
protected int precision(Code)(Java Doc)
protected int scale(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.model.impl.AbstractDBColumn
protected void appendXMLAttributes(StringBuilder xml)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public int compareTo(Object refObj)(Code)(Java Doc)
public void copyFrom(DBColumn source)(Code)(Java Doc)
public boolean equals(Object refObj)(Code)(Java Doc)
public String getDefaultValue()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
abstract protected String getElementTagName()(Code)(Java Doc)
public int getJdbcType()(Code)(Java Doc)
public String getJdbcTypeString()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int getOrdinalPosition()(Code)(Java Doc)
public DBTable getParent()(Code)(Java Doc)
public int getPrecision()(Code)(Java Doc)
public String getQualifiedName()(Code)(Java Doc)
public int getScale()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isEditable()(Code)(Java Doc)
public boolean isForeignKey()(Code)(Java Doc)
public boolean isIndexed()(Code)(Java Doc)
public boolean isNullable()(Code)(Java Doc)
public boolean isPrimaryKey()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void parseXML(Element columnElement) throws BaseException(Code)(Java Doc)
public void setDefaultValue(String defaultVal)(Code)(Java Doc)
public void setEditable(boolean editable)(Code)(Java Doc)
public void setForeignKey(boolean newFlag)(Code)(Java Doc)
public void setIndexed(boolean newFlag)(Code)(Java Doc)
public void setJdbcType(int newType)(Code)(Java Doc)
public void setName(String theName)(Code)(Java Doc)
public void setNullable(boolean newFlag)(Code)(Java Doc)
public void setOrdinalPosition(int cardinalPos)(Code)(Java Doc)
public void setParent(DBTable newParent)(Code)(Java Doc)
public void setPrecision(int thePrecision)(Code)(Java Doc)
public void setPrimaryKey(boolean newFlag)(Code)(Java Doc)
public void setScale(int theScale)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
abstract public String toXMLString(String prefix) throws BaseException(Code)(Java Doc)

ww_w.__j__av___a_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.