- 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()
Either <input/> or <inputExpression/> must be provided.Pattern
getInputExpression()
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be providedString
getOutput()
The output table as it will be rendered in SQL.int
hashCode()
void
setInput(String value)
Sets the value of the input property.void
setInputExpression(Pattern value)
Sets the value of the inputExpression property.void
setOutput(String value)
Sets the value of the output property.String
toString()
MappedTable
withInput(String value)
MappedTable
withInputExpression(Pattern value)
MappedTable
withOutput(String value)
-
-
-
Method Detail
-
getInput
public String getInput()
The input table as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided.- Returns:
- possible object is
String
-
setInput
public void setInput(String value)
Sets the value of the input property.- Parameters:
value
- allowed object isString
-
getInputExpression
public Pattern getInputExpression()
A regular expression matching the input table name as defined inNamed.getName()
Either <input/> or <inputExpression/> must be provided- Returns:
- possible object is
String
-
setInputExpression
public void setInputExpression(Pattern value)
Sets the value of the inputExpression property.- Parameters:
value
- allowed object isString
-
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.
- Returns:
- possible object is
String
-
setOutput
public void setOutput(String value)
Sets the value of the output property.- Parameters:
value
- allowed object isString
-
withInput
public MappedTable withInput(String value)
-
withInputExpression
public MappedTable withInputExpression(Pattern value)
-
withOutput
public MappedTable withOutput(String value)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendTo
in interfaceXMLAppendable
-
-