Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKAttrMapDef

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

public class DKAttrMapDef
extends dkAbstractAttrDef
implements DKConstant, DKMessageId, 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.DKConstant
    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
DKAttrMapDef()
          Constructs the attribute def for DL
 
Method Summary
 void add()
          Adds this attribute to become a persistent part of the entity meta-data it belongs to.
 java.lang.String datastoreName()
          Gets the datastore name
 java.lang.String datastoreType()
          Gets the datastore type
 void del()
          Removes this attribute from the persistent part of the entity meta-data it belongs to.
 java.lang.String getQualifiedName()
          Gets attribute view flag information for the attribute
 void setDatastoreName(java.lang.String dsName)
          Sets the datastore name
 void setDatastoreType(java.lang.String dsType)
          Sets the datastore type
 void setQualifiedName(java.lang.String fullQualifyName)
          Sets attribute view flag information for the attribute
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractAttrDef
getDatastore, getDescription, getEntity, getEntityName, getMax, getMin, getName, getPrecision, getScale, getSize, getStringType, getType, isNullable, isQueryable, isTextSearchable, isUpdatable, parsedQualifiedName, setDatastore, setDescription, setEntity, setEntityName, setMax, setMin, setName, setNullable, setPrecision, 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

DKAttrMapDef

public DKAttrMapDef()
Constructs the attribute def for DL
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

datastoreName

public java.lang.String datastoreName()
                               throws java.lang.Exception
Gets the datastore name
Overrides:
datastoreName in class dkAbstractAttrDef
Returns:
datastore name

datastoreType

public java.lang.String datastoreType()
                               throws DKException,
                                      java.lang.Exception
Gets the datastore type
Overrides:
datastoreType in class dkAbstractAttrDef
Returns:
datastore type

setDatastoreName

public void setDatastoreName(java.lang.String dsName)
Sets the datastore name
Parameters:
dsName - datastore name

setDatastoreType

public void setDatastoreType(java.lang.String dsType)
Sets the datastore type
Parameters:
dsType - datastore type

getQualifiedName

public java.lang.String getQualifiedName()
Gets attribute view flag information for the attribute
Overrides:
getQualifiedName in class dkAbstractAttrDef
Returns:
short value for attrViewFlag

setQualifiedName

public void setQualifiedName(java.lang.String fullQualifyName)
Sets attribute view flag information for the attribute
Overrides:
setQualifiedName in class dkAbstractAttrDef
Parameters:
short - value for attrViewFlag

EIP Java APIs

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