Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKAttrDefFed

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

public class DKAttrDefFed
extends dkAbstractAttrDef
implements java.io.Serializable, DKConstantFed

DKAttrDefFed defines federated datastore attributes.

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstantFed
    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.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKAttrDefFed()
          Default constructor
DKAttrDefFed(dkDatastore ds)
          Constructs a new dkAttrDefDefault class with owner datastore object.
 
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.
 short getEntityId()
           
 void setDatastore(dkDatastore ds)
          Sets the reference to the owner datastore object.
 void setEntityId(short id)
           
 void update()
          Updates federated attribute
 
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, 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

DKAttrDefFed

public DKAttrDefFed()
Default constructor

DKAttrDefFed

public DKAttrDefFed(dkDatastore ds)
             throws DKException,
                    java.lang.Exception
Constructs a new dkAttrDefDefault class with owner datastore object.
Parameters:
ds - reference to owner datastore object
Method Detail

setDatastore

public void setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object.
Overrides:
setDatastore in class dkAbstractAttrDef
Following copied from interface: com.ibm.mm.sdk.common.dkAttrDef
Parameters:
ds - datastore

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. Sub class needs to implement this method.
Overrides:
del in class dkAbstractAttrDef

update

public void update()
            throws DKException,
                   java.lang.Exception
Updates federated attribute

setEntityId

public void setEntityId(short id)

getEntityId

public short getEntityId()
                  throws DKException,
                         java.lang.Exception

EIP Java APIs

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