|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.model.reference.ColumnMapping
public class ColumnMapping
The ColumnMapping class is for mapping different column names
between referenced tables.
| Constructor Summary | |
|---|---|
ColumnMapping()
Constructs the ColumnMapping without column names. |
|
ColumnMapping(java.lang.String[] pColumnNames)
Constructs the ColumnMapping with the same column names and referenced column names. |
|
ColumnMapping(java.lang.String[] pColumnNames,
java.lang.String[] pReferencedColumnNames)
Constructs the ColumnMapping with the different column names and referenced column names. |
|
| Method Summary | |
|---|---|
ColumnMapping |
clone()
|
boolean |
equals(java.lang.Object pObject)
|
java.lang.String |
getColumnName(java.lang.String pReferencedColumnName)
Gets the corresponding column name to the given referenced column name. |
java.lang.String[] |
getColumnNames()
Gets the source column names of the ColumnMapping. |
java.lang.String |
getReferencedColumnName(java.lang.String pColumnName)
Gets the corresponding referenced column name to the given column name. |
java.lang.String[] |
getReferencedColumnNames()
Gets the referenced column names of the ReferenceDefinition. |
int |
hashCode()
|
void |
setColumnNames(java.lang.String[] pColumnNames)
Sets the source column names of the ColumnMapping. |
void |
setReferencedColumnNames(java.lang.String[] pReferencedColumnNames)
Sets the referenced column names of the ReferenceDefinition. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnMapping()
ColumnMapping without column names.
public ColumnMapping(java.lang.String[] pColumnNames)
ColumnMapping with the same column names and referenced column names.
pColumnNames - source column names of the ColumnMapping.
public ColumnMapping(java.lang.String[] pColumnNames,
java.lang.String[] pReferencedColumnNames)
ColumnMapping with the different column names and referenced column names.
If the referenced column names are null, the are automatically mapped to the same name as the column names.
pColumnNames - source column names of the ColumnMapping.pReferencedColumnNames - referenced column names of the ColumnMapping.| Method Detail |
|---|
public boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String[] getColumnNames()
ColumnMapping.
This function returns never null, at least an empty String[]
is returned.
ColumnMapping.public void setColumnNames(java.lang.String[] pColumnNames)
ColumnMapping.
pColumnNames - the source column names of the ColumnMapping.public java.lang.String[] getReferencedColumnNames()
ReferenceDefinition.
This function returns never null, at least an array with a length greater or equal
to the length of the array of getColumnNames is returned.
ReferenceDefinition.public java.lang.String getReferencedColumnName(java.lang.String pColumnName)
pColumnName - the column name.
public java.lang.String getColumnName(java.lang.String pReferencedColumnName)
pReferencedColumnName - the column name.
public void setReferencedColumnNames(java.lang.String[] pReferencedColumnNames)
ReferenceDefinition.
pReferencedColumnNames - the referenced column names of the ReferenceDefinition.public java.lang.String toString()
toString in class java.lang.Objectpublic ColumnMapping clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||