Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKColumnDefDJ

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractAttrDef
        |
        +--com.ibm.mm.sdk.common.DKColumnDefDJ
All Implemented Interfaces:
dkAttrDef, DKConstant, DKConstantDJ, DKMessageId, DKMessageIdDJ, java.io.Serializable

public class DKColumnDefDJ
extends dkAbstractAttrDef
implements DKConstantDJ, DKMessageIdDJ, java.io.Serializable

This class defines methods to access attribute information as well as to create and delete attributes

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstantDJ
DK_DJ_AUTOCOMMIT_OFF, DK_DJ_AUTOCOMMIT_ON, DK_DJ_DATABASE_DEFAULT, DK_DJ_DEFAULT_MIMETYPE, DK_DJ_DLL_NAME, DK_DJ_DRIVER_COMPLETE, DK_DJ_DRIVER_COMPLETE_REQ, DK_DJ_DRIVER_NOPROMPT, DK_DJ_DRIVER_PROMPT, DK_DJ_DSTYPE, DK_DJ_HSTMT, DK_DJ_LOB_CONTENT, DK_DJ_LOB_LOCATOR, DK_DJ_OPT_AUTOCOMMIT_MODE, DK_DJ_OPT_DRIVERPROMPT_STATE, DK_DJ_OPT_LOB, DK_DJ_OPT_TXN_ISOLATION, DK_DJ_READ_COMMITTED, DK_DJ_READ_UNCOMMITTED, DK_DJ_REPEATABLE_READ, DK_DJ_SERIALIZABLE, DK_DJ_SQL_BINARY, DK_DJ_SQL_BIT, DK_DJ_SQL_BLOB, DK_DJ_SQL_C_BINARY, DK_DJ_SQL_C_BINARY_XDO, DK_DJ_SQL_C_BIT, DK_DJ_SQL_C_CHAR, DK_DJ_SQL_C_CHAR_XDO, DK_DJ_SQL_C_DATE, DK_DJ_SQL_C_DBCHAR, DK_DJ_SQL_C_DBCHAR_XDO, DK_DJ_SQL_C_DEFAULT, DK_DJ_SQL_C_DOUBLE, DK_DJ_SQL_C_FLOAT, DK_DJ_SQL_C_LONG, DK_DJ_SQL_C_NUMERIC, DK_DJ_SQL_C_SHORT, DK_DJ_SQL_C_TIME, DK_DJ_SQL_C_TIMESTAMP, DK_DJ_SQL_C_TINYINT, DK_DJ_SQL_CHAR, DK_DJ_SQL_CLOB, DK_DJ_SQL_DATE, DK_DJ_SQL_DBCLOB, DK_DJ_SQL_DECIMAL, DK_DJ_SQL_DOUBLE, DK_DJ_SQL_FLOAT, DK_DJ_SQL_GRAPHIC, DK_DJ_SQL_INTEGER, DK_DJ_SQL_LONGVARBINARY, DK_DJ_SQL_LONGVARCHAR, DK_DJ_SQL_LONGVARGRAPHIC, DK_DJ_SQL_NULL_DATA, DK_DJ_SQL_NUMERIC, DK_DJ_SQL_REAL, DK_DJ_SQL_SMALLINT, DK_DJ_SQL_TIME, DK_DJ_SQL_TIMESTAMP, DK_DJ_SQL_TINYINT, DK_DJ_SQL_VARBINARY, DK_DJ_SQL_VARCHAR, DK_DJ_SQL_VARGRAPHIC, DK_DJ_TABLE, DK_DJ_VIEW
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdDJ
DK_DJ_MSG_MSGID_NOT_FOUND
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKColumnDefDJ()
          Constructs the attribute def for DJ
DKColumnDefDJ(dkDatastore ds)
          Constructs the attribute def for DJ
 
Method Summary
 void add()
          Adds this attribute to become a persistent part of the entity meta-data it belongs to.
 void del()
          Removes this attribute from the persistent part of the entity meta-data it belongs to.
 boolean isForeignKey()
          Check to see if this column is a foreign key
 boolean isPrimaryKey()
          Check to see if this column is a primary key
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractAttrDef
datastoreName, datastoreType, getDatastore, getDescription, getEntity, getEntityName, getMax, getMin, getName, getPrecision, getQualifiedName, getScale, getSize, getStringType, getType, isNullable, isQueryable, isTextSearchable, isUpdatable, parsedQualifiedName, setDatastore, setDescription, setEntity, setEntityName, setMax, setMin, setName, setNullable, setPrecision, setQualifiedName, setQueryable, setScale, setSize, setStringType, setTextSearchable, setType, setUpdatable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKColumnDefDJ

public DKColumnDefDJ()
Constructs the attribute def for DJ

DKColumnDefDJ

public DKColumnDefDJ(dkDatastore ds)
Constructs the attribute def for DJ
Parameters:
ds - datastore
Method Detail

add

public void add()
         throws DKException,
                java.lang.Exception
Adds this attribute to become a persistent part of the entity meta-data it belongs to.
Overrides:
add in class dkAbstractAttrDef

del

public void del()
         throws DKException,
                java.lang.Exception
Removes this attribute from the persistent part of the entity meta-data it belongs to. The in memory copy of this attribute does not change.
Overrides:
del in class dkAbstractAttrDef

isPrimaryKey

public boolean isPrimaryKey()
                     throws DKException,
                            java.lang.Exception
Check to see if this column is a primary key
Returns:
true if this column is a primary key

isForeignKey

public boolean isForeignKey()
                     throws DKException,
                            java.lang.Exception
Check to see if this column is a foreign key
Returns:
true if this column is a foreign key

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.