com.ibm.mm.sdk.common

Class DKAttrDefV4

  1. java.lang.Object
  2. extended bycom.ibm.mm.sdk.common.dkAbstractAttrDef
  3. extended bycom.ibm.mm.sdk.common.DKAttrDefV4
All implemented interfaces:
dkAttrDef, java.io.Serializable

  1. public class DKAttrDefV4
  2. extends dkAbstractAttrDef
  3. implements java.io.Serializable
This class defines methods to access attribute information as well as to create and delete attributes
See Also:
Serialized Form

Constructor Summary

Constructor and Description
DKAttrDefV4()
Creates a DKAttrDefV4 object
DKAttrDefV4(dkDatastore ds)
Creates a DKAttrDefV4 object

Method Summary

Modifier and Type Method and Description
  1. void
add()
Adds this attribute to become a persistent part of the entity meta-data it belongs to.
  1. void
del()
Removes this attribute from the persistent part of the entity meta-data it belongs to.
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

DKAttrDefV4

  1. public DKAttrDefV4()
Creates a DKAttrDefV4 object

DKAttrDefV4

  1. public DKAttrDefV4(dkDatastore ds)
Creates a DKAttrDefV4 object
Parameters:
ds - a datastore object

Method Detail

add

  1. public void add()
  2. throws DKException
  3. java.lang.Exception
Adds this attribute to become a persistent part of the entity meta-data it belongs to.
Specified by:
add in interface dkAttrDef
Overrides:
Throws:
DKException - always
java.lang.Exception

del

  1. public void del()
  2. throws DKException
  3. 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.
Specified by:
del in interface dkAttrDef
Overrides:
Throws:
DKException - always
java.lang.Exception