|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.dkAbstractEntityDef | +--com.ibm.mm.sdk.common.DKTableDefDB2
This class defines methods to access entity information for an index class
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantDB2 |
For details, see the class or interface |
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.DKMessageIdDB2 |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKTableDefDB2()
Constructs an index class def for DB2 |
|
DKTableDefDB2(dkDatastore ds)
Constructs an index class def for DB2 |
Method Summary | |
void |
add()
Adds this entity definition to the persistent store, i.e. |
void |
add(dkAttrDef attrObj)
Adds the given attribute definition object to the this entity in the persistent store. |
dkAttrDef |
createAttr()
Creates new dkAttrDef and returns it to caller. |
void |
del()
Deletes this entity from the persistent store, e.g. |
void |
del(dkAttrDef attrObj)
Deletes the given attribute from this entity in the persistent store. |
dkAttrDef |
getAttr(java.lang.String attrName)
Retrieves an attribute object from a given attribute name |
java.lang.String |
getSchemaName()
Gets the schema name |
java.lang.String[] |
listAttrNames()
Gets a list of attributes |
dkCollection |
listAttrs()
Gets a list of attributes |
java.lang.String[] |
listForeignKeyNames()
Gets a list of foreign key names |
java.lang.String[] |
listPrimaryKeyNames()
Gets a list of primary key names |
void |
setSchemaName(java.lang.String schemaName)
Sets the schema name |
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractEntityDef |
add, addAttr, addSubEntity, clearCache, createSubEntity, datastoreName, datastoreType, del, deleteAttr, deleteSubEntity, getDatastore, getDescription, getName, getParentEntityName, getSubEntity, getType, hasSubEntities, isSearchable, isTextSearchable, listSubEntities, listSubEntityNames, removeAttr, removeSubEntity, retrieveAttr, retrieveSubEntity, setDatastore, setDescription, setName, setParentEntityName, setTextSearchable, setType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKTableDefDB2()
public DKTableDefDB2(dkDatastore ds)
ds
- datastoreMethod Detail |
public dkAttrDef createAttr() throws DKException, java.lang.Exception
createAttr
in class dkAbstractEntityDef
DKException
- if this entity does not have attributepublic dkAttrDef getAttr(java.lang.String attrName) throws DKException, java.lang.Exception
getAttr
in class dkAbstractEntityDef
attrName
- name of attribute to be retrievedDKException
- if the attribute name is not existpublic dkCollection listAttrs() throws DKException, java.lang.Exception
listAttrs
in class dkAbstractEntityDef
DKException
- if error occurspublic java.lang.String[] listAttrNames() throws DKException, java.lang.Exception
listAttrNames
in class dkAbstractEntityDef
DKException
- if error occurspublic void add() throws DKException, java.lang.Exception
add
in class dkAbstractEntityDef
DKException
- when the subclass does not
implement this methodpublic void del() throws DKException, java.lang.Exception
del
in class dkAbstractEntityDef
DKException
- when the subclass does not implement this methodpublic void add(dkAttrDef attrObj) throws DKException, java.lang.Exception
add
in class dkAbstractEntityDef
attrObj
- an attribute object to be added to this entity objectDKException
- if there is error in datastore serverpublic void del(dkAttrDef attrObj) throws DKException, java.lang.Exception
del
in class dkAbstractEntityDef
attrObj
- an attribute object to be deleted from this entity objectDKException
- if the error occurs in datastorepublic java.lang.String getSchemaName() throws java.lang.Exception
public void setSchemaName(java.lang.String schemaName) throws java.lang.Exception
schemaName
- schema namepublic java.lang.String[] listPrimaryKeyNames() throws DKException, java.lang.Exception
DKException
- if error occurspublic java.lang.String[] listForeignKeyNames() throws DKException, java.lang.Exception
DKException
- if error occurs
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |