|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.services.ldap.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()
Mapping constructor. |
|
Mapping(java.lang.String targetName,
java.lang.String sourceName)
Mapping constructor. |
|
Mapping(java.lang.String targetName,
java.lang.String sourceName,
java.lang.Object defaultValue)
Mapping constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
This method defines equality between 2 Mapping objects. |
java.lang.Object |
getDefaultValue()
Return the default value attribute of this mapping. |
FormatElement |
getFormat()
Return the format for this mapping. |
java.lang.String |
getName()
Return the name attribute of this mapping. |
java.lang.String |
getSourceName()
Return the source name attribute of this mapping. |
java.lang.String |
getTargetName()
Return 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)
o
- java.lang.Objectpublic 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()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
aTag
- com.ibm.dse.base.Tagpublic 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()
public Vector toStrings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |