|
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
public class Mapping
This class represents a mapping between a source and a target. This mapping will specify the source name and the target name as well as a default value to use for the mapping if a value cannot be obtained from the source.
Constructor Summary | |
---|---|
Mapping()
This constructor creates a Mapping object. |
|
Mapping(java.lang.String targetName,
java.lang.String sourceName)
This constructor creates a Mapping object. |
|
Mapping(java.lang.String targetName,
java.lang.String sourceName,
java.lang.Object defaultValue)
This constructor creates a Mapping object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Defines equality between 2 Mapping objects. |
java.lang.Object |
getDefaultValue()
Returns the default value attribute of this mapping. |
FormatElement |
getFormat()
Returns the format for this mapping. |
java.lang.String |
getName()
Returns the name attribute of this mapping. |
java.lang.String |
getSourceName()
Returns the source name attribute of this mapping. |
java.lang.String |
getTargetName()
Returns the target name attribute of this mapping. |
int |
hashCode()
Returns a hashcode for this object. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes the state of this mapping from externalized data. |
void |
setDefaultValue(java.lang.Object newDefaultValue)
Sets the default value attribute of this mapping. |
void |
setName(java.lang.String newName)
Sets the name attribute of this mapping. |
void |
setSourceName(java.lang.String newSourceName)
Sets the source name attribute of this mapping. |
void |
setTargetName(java.lang.String newTargetName)
Sets the target name attribute of this mapping. |
java.lang.String |
toString()
Returns the string representation of this object. |
Vector |
toStrings()
Returns a vector containing the string representation of the SGML tags used to externalize this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Mapping()
public Mapping(java.lang.String targetName, java.lang.String sourceName)
public Mapping(java.lang.String targetName, java.lang.String sourceName, java.lang.Object defaultValue)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- java.lang.Object
public java.lang.Object getDefaultValue()
public FormatElement getFormat()
public java.lang.String getName()
public java.lang.String getSourceName()
public java.lang.String getTargetName()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
aTag
- com.ibm.btt.base.Tag
java.io.IOException
DSEException
public void setDefaultValue(java.lang.Object newDefaultValue)
newDefaultValue
- java.lang.Objectpublic void setName(java.lang.String newName)
newName
- java.lang.Stringpublic void setSourceName(java.lang.String newSourceName)
newSourceName
- java.lang.Stringpublic void setTargetName(java.lang.String newTargetName)
newTargetName
- java.lang.Stringpublic java.lang.String toString()
toString
in class java.lang.Object
public Vector toStrings()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |