- java.lang.Object
-
- org.jooq.conf.MappedTable
-
- All Implemented Interfaces:
Serializable
,Cloneable
,XMLAppendable
public class MappedTable extends Object implements Serializable, Cloneable, XMLAppendable
A table mapping configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappedTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendTo(XMLBuilder builder)
Object
clone()
boolean
equals(Object that)
String
getInput()
The input table as defined inNamed.getName()
Pattern
getInputExpression()
A regular expression matching the input table name as defined inNamed.getName()
String
getOutput()
The output table as it will be rendered in SQL.int
hashCode()
void
setInput(String value)
The input table as defined inNamed.getName()
void
setInputExpression(Pattern value)
A regular expression matching the input table name as defined inNamed.getName()
void
setOutput(String value)
The output table as it will be rendered in SQL.String
toString()
MappedTable
withInput(String value)
The input table as defined inNamed.getName()
MappedTable
withInputExpression(Pattern value)
A regular expression matching the input table name as defined inNamed.getName()
MappedTable
withOutput(String value)
The output table as it will be rendered in SQL.
-
-
-
Method Detail
-
getInput
public String getInput()
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
setInput
public void setInput(String value)
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
getInputExpression
public Pattern getInputExpression()
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
setInputExpression
public void setInputExpression(Pattern value)
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
getOutput
public String getOutput()
The output table as it will be rendered in SQL.- When <input/> is provided, <output/> is a constant value.
- When <inputExpression/> is provided, <output/> is a replacement expression.
-
setOutput
public void setOutput(String value)
The output table as it will be rendered in SQL.- When <input/> is provided, <output/> is a constant value.
- When <inputExpression/> is provided, <output/> is a replacement expression.
-
withInput
public MappedTable withInput(String value)
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.
-
withInputExpression
public MappedTable withInputExpression(Pattern value)
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided
-
withOutput
public MappedTable withOutput(String value)
The output table as it will be rendered in SQL.- When <input/> is provided, <output/> is a constant value.
- When <inputExpression/> is provided, <output/> is a replacement expression.
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendTo
in interfaceXMLAppendable
-
-