| org.netbeans.modules.sql.framework.model.impl.AbstractDBColumn org.netbeans.modules.mashup.db.model.impl.FlatfileDBColumnImpl
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. |
cardinalPosition | protected int cardinalPosition(Code) | | |
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 |
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 |
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 |
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 |
|
|