| java.lang.Object org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject org.netbeans.modules.sql.framework.model.impl.AbstractDBColumn org.netbeans.modules.sql.framework.model.impl.TargetColumnImpl
TargetColumnImpl | public class TargetColumnImpl extends AbstractDBColumn implements TargetColumn(Code) | | Concrete implementation of DBColumn describing column metadata for target columns.
author: Sudhendra Seshachala, Jonathan Giron version: $Revision$ |
Constructor Summary | |
public | TargetColumnImpl() Constructs a default instance of TargetColumnImpl. | public | TargetColumnImpl(DBColumn src) Creates a new instance of TargetColumn, cloning the contents of the given DBColumn
implementation instance. | public | TargetColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isNullable) Constructs a new instance of TargetColumn 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 | TargetColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isPrimaryKey, boolean isForeignKey, boolean isIndexed, boolean isNullable) |
TargetColumnImpl | public TargetColumnImpl()(Code) | | Constructs a default instance of TargetColumnImpl.
|
TargetColumnImpl | public TargetColumnImpl(DBColumn src)(Code) | | Creates a new instance of TargetColumn, cloning the contents of the given DBColumn
implementation instance.
Parameters: src - DBColumn instance to be cloned |
TargetColumnImpl | public TargetColumnImpl(String colName, int sqlJdbcType, int colScale, int colPrecision, boolean isNullable)(Code) | | Constructs a new instance of TargetColumn 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 |
clone | public Object clone()(Code) | | Clone a copy of DBColumn.
a copy of DBColumn. |
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 |
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 |
getValue | public SQLObject getValue()(Code) | | Gets associated input SQLObject, if any, for this column.
input SQLObject, or null if none was set |
hashCode | public int hashCode()(Code) | | Returns the hashCode for this object.
the hashCode of this object. |
secondPassParse | public void secondPassParse(Element element) throws BaseException(Code) | | Parses elements which require a second pass to resolve their values.
Parameters: element - DOM element containing XML marshalled version of this SQLObjectinstance throws: BaseException - if element is null or error occurs during parsing |
setValue | public void setValue(SQLObject newInput)(Code) | | Sets associated SQLObject as input to this column.
Parameters: newInput - new input SQLObject; may be null |
toString | public String toString()(Code) | | Overrides default implementation to return evaluated column name.
evaluated column name. |
|
|