|
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.DKAttrMappingFed
DKAttrMappingFed is a specific version of the dkAttrMapping class to define an associative mapping between federated attribute(s) and native attribute(s).
Field Summary | |
java.lang.String |
_fromFcn
|
java.lang.String |
_fromPath
|
java.util.Vector |
_mapped
|
java.util.Vector |
_mapTo
|
java.lang.String |
_name
|
java.lang.String |
_toFcn
|
java.lang.String |
_toPath
|
Fields inherited from interface com.ibm.mm.sdk.common.dkAttrMapping |
CONVERSION_1_1, CONVERSION_1_M, CONVERSION_M_1, NO_CONVERSION |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdFed |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Constructor Summary | |
DKAttrMappingFed()
|
|
DKAttrMappingFed(dkSchemaMapping sm)
|
|
DKAttrMappingFed(java.lang.String name)
|
Method Summary | |
void |
add()
|
void |
addMappedAttr(dkAttrDef attr)
Adds a new federated attribute to the current mapping to one or more native attributes |
void |
addMapToAttr(dkAttrDef attr)
Adds a native attribute to the current mapping to one or more federated attributes |
short |
checkConversion()
Checks the kind of data conversion required for this mapping. |
java.lang.String |
getFromNative()
Returns the name of the Java conversion function from native to federated attributes |
java.lang.String |
getFromNCPath()
Returns the directory of the Java conversion function from native to federated attributes |
dkAttrDef |
getMappedAttr()
Returns the definition of the federated attribute in the current mapping |
dkAttrDef |
getMappedAttr(short index)
Returns the definition of the federated attribute pointed to by the index in the current mapping |
java.lang.String |
getMappedAttrName()
Returns the name of the federated attribute in the current mapping |
java.lang.String |
getMappedAttrName(short index)
Returns the name of the federated attribute pointed to by the index in the current mapping |
dkAttrDef |
getMapToAttr()
Returns the definition of the native attribute in the current mapping to one or more federated attributes |
dkAttrDef |
getMapToAttr(short index)
Returns the definition of the native attribute indicated by the index in the current mapping to one or more federated attributes |
java.lang.String |
getMapToAttrName()
Returns the name of the native attribute in the current mapping to one or more federated attributes |
java.lang.String |
getMapToAttrName(short index)
Returns the name of the native attribute indicated by the index in the current mapping to one or more federated attributes |
java.lang.String |
getName()
Returns the schema mapping name |
dkSchemaMapping |
getSchemaMapping()
|
java.lang.String |
getToNative()
Gets the name of the Java conversion function from federated to native attributes. |
java.lang.String |
getToNCPath()
Returns the directory of the Java conversion function from federated to native attributes |
java.lang.String[] |
listMappedAttrNames()
Lists the names of all federated attributes defined in the current mapping |
java.lang.String[] |
listMapToAttrNames()
Lists the names of all native attributes defined in the current mapping |
short |
numberOfMappedAttr()
Returns the number of federated attributes in the current mapping |
short |
numberOfMapToAttr()
Returns the number of native attributes in the current mapping to one or more federated attributes |
void |
removeMappedAttr(java.lang.String name)
Removes an existing federated attribute from the current mapping to one or more native attributes |
void |
removeMapToAttr(java.lang.String name)
Removes an existing native attribute from the current mapping to one or more federated attributes. |
void |
retrieve()
|
void |
setExtension(com.ibm.mm.sdk.internal.PSchemaMappingExtFed smext)
|
void |
setFromNative(java.lang.String fcn)
Sets the name of the Java conversion function from native to federated attributes |
void |
setFromNCPath(java.lang.String path)
Sets the directory of the Java conversion function from native to federated attributes |
void |
setName(java.lang.String name)
set the schema mapping name |
void |
setToNative(java.lang.String fcn)
Sets the name of the Java conversion function from federated to native attributes |
void |
setToNCPath(java.lang.String path)
Sets the directory of the Java conversion function from federated to native attributes |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String _name
public java.lang.String _fromFcn
public java.lang.String _fromPath
public java.lang.String _toFcn
public java.lang.String _toPath
public java.util.Vector _mapped
public java.util.Vector _mapTo
Constructor Detail |
public DKAttrMappingFed()
public DKAttrMappingFed(java.lang.String name)
public DKAttrMappingFed(dkSchemaMapping sm)
Method Detail |
public java.lang.String getName()
getName
in interface dkAttrMapping
public void setName(java.lang.String name)
setName
in interface dkAttrMapping
name
- the name you want usepublic void addMappedAttr(dkAttrDef attr) throws DKException
addMappedAttr
in interface dkAttrMapping
attr
- the attribute definitionpublic void removeMappedAttr(java.lang.String name)
removeMappedAttr
in interface dkAttrMapping
name
- attr the attribute namepublic short numberOfMappedAttr()
numberOfMappedAttr
in interface dkAttrMapping
public dkAttrDef getMappedAttr()
getMappedAttr
in interface dkAttrMapping
public dkAttrDef getMappedAttr(short index)
getMappedAttr
in interface dkAttrMapping
index
- the index of the attributepublic java.lang.String getMappedAttrName()
getMappedAttrName
in interface dkAttrMapping
public java.lang.String getMappedAttrName(short index)
getMappedAttrName
in interface dkAttrMapping
index
- the index of the attributepublic java.lang.String[] listMappedAttrNames()
listMappedAttrNames
in interface dkAttrMapping
public void addMapToAttr(dkAttrDef attr) throws DKException
addMapToAttr
in interface dkAttrMapping
attr
- attribute definitionpublic void removeMapToAttr(java.lang.String name)
removeMapToAttr
in interface dkAttrMapping
name
- attribute full qualified name,public short numberOfMapToAttr()
numberOfMapToAttr
in interface dkAttrMapping
public dkAttrDef getMapToAttr()
getMapToAttr
in interface dkAttrMapping
public dkAttrDef getMapToAttr(short index)
getMapToAttr
in interface dkAttrMapping
index
- the index of the attributepublic java.lang.String getMapToAttrName()
getMapToAttrName
in interface dkAttrMapping
public java.lang.String getMapToAttrName(short index)
getMapToAttrName
in interface dkAttrMapping
index
- the index of the attributepublic java.lang.String[] listMapToAttrNames()
listMapToAttrNames
in interface dkAttrMapping
public void setToNative(java.lang.String fcn)
setToNative
in interface dkAttrMapping
fcn
- name of the function, including the class pathpublic java.lang.String getToNative()
getToNative
in interface dkAttrMapping
public void setToNCPath(java.lang.String path)
setToNCPath
in interface dkAttrMapping
path
- the path of the function, including the namepublic java.lang.String getToNCPath()
getToNCPath
in interface dkAttrMapping
public void setFromNative(java.lang.String fcn)
setFromNative
in interface dkAttrMapping
fcn
- name of the function, including the pathpublic java.lang.String getFromNative()
getFromNative
in interface dkAttrMapping
public void setFromNCPath(java.lang.String path)
setFromNCPath
in interface dkAttrMapping
path
- path of the function, including the namepublic java.lang.String getFromNCPath()
getFromNCPath
in interface dkAttrMapping
public short checkConversion()
checkConversion
in interface dkAttrMapping
public dkSchemaMapping getSchemaMapping()
public void setExtension(com.ibm.mm.sdk.internal.PSchemaMappingExtFed smext)
public void retrieve() throws DKException, java.lang.Exception
public void add() throws DKException, java.lang.Exception
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |