|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opennms.bb.common.filter.sql.VirtualColumn
This class is responsible for holding all information for a virtual column associated with a table in the PollerDatabaseSchema.xml file.
Field Summary | |
private String |
columnName
This string holds the virtual name of the column. |
private String |
originalTableName
The name of the table that this virtual column appears in. |
private String |
substitution
This string holds the substitution to be used in place of the column name. |
private String |
virtualTableName
This string holds the name of the table that is going to be linked to in the substitution. |
Constructor Summary | |
VirtualColumn()
Default constructor, currently does nothing. |
Method Summary | |
String |
getName()
This method returns the name of the virtual column. |
String |
getOriginalTableName()
This method returns the original table name. |
String |
getSubstitution()
This method returns the substitution. |
String |
getVirtualTableName()
This method returns the table name to link to. |
void |
setName(String aName)
This method sets the name of the virtual column. |
void |
setOriginalTableName(String aTable)
This method sets the original table name. |
void |
setSubstitution(String aSub)
This method sets the substitution string. |
void |
setVirtualTableName(String aTable)
This method sets the name of the table to link to. |
String |
toString()
This method returns the substitution string as a representation of this virtual column. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private String columnName
private String virtualTableName
private String substitution
private String originalTableName
Constructor Detail |
public VirtualColumn()
Method Detail |
public void setSubstitution(String aSub)
String
- aSub, the substitution string for this virtual columnpublic String getSubstitution()
public void setOriginalTableName(String aTable)
String
- aTable, the table name that the virtual column came frompublic String getOriginalTableName()
public void setVirtualTableName(String aTable)
String
- aTable, the name of the table that the vitual column
should link topublic String getVirtualTableName()
public void setName(String aName)
String
- aName, the name of the virtual columnpublic String getName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |