|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.services.ldap.Mapping
com.ibm.btt.services.ldap.ModMapping
public class ModMapping
This class represents an LDAP modification item. It extends from Mapping, and provides support for specifying the attribute to be modified, as well as the modification code to use. The attribute to be modified will be created with the name specified in targetName, and with the value obtained from sourceName (or the default value if none).
Field Summary | |
---|---|
static int |
ADD
|
static int |
REMOVE
|
static int |
REPLACE
|
Constructor Summary | |
---|---|
ModMapping()
This constructor creates a ModFormatItem object. |
Method Summary | |
---|---|
java.lang.String |
convertModCode(int modCode)
Returns a string representing the modification code attribute of this mapping. |
boolean |
equals(java.lang.Object o)
Defines equality between two ModMapping objects. |
int |
getModificationCode()
Returns the modification code attribute. |
int |
hashCode()
Returns a hashcode for this object. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes this objects state from externalized data. |
void |
setModificationCode(int newModificationCode)
Sets the modification code attribute of this object. |
java.lang.String |
toString()
Returns the string representation of this object. |
int |
translateModCode(java.lang.String modValue)
Translates a string value into a valid modification code. |
Methods inherited from class com.ibm.btt.services.ldap.Mapping |
---|
getDefaultValue, getFormat, getName, getSourceName, getTargetName, setDefaultValue, setName, setSourceName, setTargetName, toStrings |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int REMOVE
public static final int REPLACE
Constructor Detail |
---|
public ModMapping()
Method Detail |
---|
public java.lang.String convertModCode(int modCode)
modCode
- int
public boolean equals(java.lang.Object o)
equals
in class Mapping
o
- java.lang.Object
public int getModificationCode()
public int hashCode()
hashCode
in class Mapping
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
initializeFrom
in class Mapping
aTag
- com.ibm.btt.base.Tag
java.io.IOException
DSEException
public void setModificationCode(int newModificationCode)
newModificationCode
- intpublic java.lang.String toString()
toString
in class Mapping
public int translateModCode(java.lang.String modValue) throws DSEException
modValue
- java.lang.String
DSEException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |