Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.tools.dbws.jdbc
Class DbColumn

java.lang.Object
  extended by org.eclipse.persistence.tools.dbws.jdbc.DbColumn


public class DbColumn
extends java.lang.Object

Field Summary
protected  int jdbcType
           
protected  java.lang.String jdbcTypeName
           
protected  java.lang.String name
           
protected  boolean nullable
           
protected  int ordinalPosition
           
protected  boolean pk
           
protected  java.lang.String pkConstraintName
           
protected  int precision
           
protected  int scale
           
protected  boolean unique
           

 

Constructor Summary
DbColumn()
           

 

Method Summary
 int getJDBCType()
           
 java.lang.String getJDBCTypeName()
           
 java.lang.String getName()
           
 int getOrdinalPosition()
           
 java.lang.String getPkConstraintName()
           
 int getPrecision()
           
 int getScale()
           
 boolean isNullable()
           
 boolean isPK()
           
 boolean isUnique()
           
 void setJDBCType(int jdbcType)
           
 void setJDBCTypeName(java.lang.String jdbcTypeName)
           
 void setName(java.lang.String name)
           
 void setNullable(boolean nullable)
           
 void setOrdinalPosition(int ordinalPosition)
           
 void setPK(boolean pk)
           
 void setPkConstraintName(java.lang.String pkConstraintName)
           
 void setPrecision(int size)
           
 void setScale(int scale)
           
 void setUnique(boolean unique)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

name

protected java.lang.String name

ordinalPosition

protected int ordinalPosition

jdbcType

protected int jdbcType

jdbcTypeName

protected java.lang.String jdbcTypeName

precision

protected int precision

scale

protected int scale

nullable

protected boolean nullable

pk

protected boolean pk

pkConstraintName

protected java.lang.String pkConstraintName

unique

protected boolean unique

Constructor Detail

DbColumn

public DbColumn()

Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getOrdinalPosition

public int getOrdinalPosition()

setOrdinalPosition

public void setOrdinalPosition(int ordinalPosition)

getJDBCType

public int getJDBCType()

setJDBCType

public void setJDBCType(int jdbcType)

getJDBCTypeName

public java.lang.String getJDBCTypeName()

setJDBCTypeName

public void setJDBCTypeName(java.lang.String jdbcTypeName)

getPrecision

public int getPrecision()

setPrecision

public void setPrecision(int size)

getScale

public int getScale()

setScale

public void setScale(int scale)

isNullable

public boolean isNullable()

setNullable

public void setNullable(boolean nullable)

isPK

public boolean isPK()

setPK

public void setPK(boolean pk)

getPkConstraintName

public java.lang.String getPkConstraintName()

setPkConstraintName

public void setPkConstraintName(java.lang.String pkConstraintName)

isUnique

public boolean isUnique()

setUnique

public void setUnique(boolean unique)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.