- 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 voidappendTo(XMLBuilder builder)Objectclone()booleanequals(Object that)StringgetInput()The input table as defined inNamed.getName()Either <input/> or <inputExpression/> must be provided.PatterngetInputExpression()A regular expression matching the input table name as defined inNamed.getName()Either <input/> or <inputExpression/> must be providedStringgetOutput()The output table as it will be rendered in SQL.inthashCode()voidsetInput(String value)Sets the value of the input property.voidsetInputExpression(Pattern value)Sets the value of the inputExpression property.voidsetOutput(String value)Sets the value of the output property.StringtoString()MappedTablewithInput(String value)MappedTablewithInputExpression(Pattern value)MappedTablewithOutput(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:
appendToin interfaceXMLAppendable
-
-