public class JoinFieldMapping extends FieldMapping implements Cloneable, Serializable
JoinFieldMapping class contains the index of the base
form and the ID of the field to map to this field.| Constructor and Description |
|---|
JoinFieldMapping() |
JoinFieldMapping(int index,
int fieldId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
int |
getFieldID()
Returns the internal ID associated with the field.
|
int |
getIndex()
Returns the member form to which the field maps.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setFieldID(int id)
Sets the internal ID associated with the field.
|
void |
setIndex(int index)
Sets the member form to which the field maps.
|
String |
toString()
Returns a string description of the object.
|
createInstance, getMappingTypepublic JoinFieldMapping()
public JoinFieldMapping(int index,
int fieldId)
public int getIndex()
public int getFieldID()
public void setIndex(int index)
AR_FIELD_MAPPING_PRIMARY
AR_FIELD_MAPPING_SECONDARY
public void setFieldID(int id)
public Object clone() throws CloneNotSupportedException
clone in class FieldMappingCloneNotSupportedExceptionpublic String toString()
toString in class FieldMappingpublic int hashCode()
hashCode in class FieldMappingpublic boolean equals(Object obj)
equals in class FieldMappingobj - the object that we are comparing to? Copyright 2013 BMC Software, Inc.