- java.lang.Object
-
- org.jooq.meta.jaxb.EmbeddableField
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class EmbeddableField extends Object implements Serializable, XMLAppendable
Java class for EmbeddableField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EmbeddableField"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="expression" type="{http://www.w3.org/2001/XMLSchema}string"/> </all> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringexpressionprotected Stringname
-
Constructor Summary
Constructors Constructor Description EmbeddableField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetExpression()A regex matching all column names that are part of the embeddable type.StringgetName()A name for the field in case the regex does not produce unique names for all matches.inthashCode()voidsetExpression(String value)A regex matching all column names that are part of the embeddable type.voidsetName(String value)A name for the field in case the regex does not produce unique names for all matches.StringtoString()EmbeddableFieldwithExpression(String value)A regex matching all column names that are part of the embeddable type.EmbeddableFieldwithName(String value)A name for the field in case the regex does not produce unique names for all matches.
-
-
-
Method Detail
-
getName
public String getName()
A name for the field in case the regex does not produce unique names for all matches.
-
setName
public void setName(String value)
A name for the field in case the regex does not produce unique names for all matches.
-
getExpression
public String getExpression()
A regex matching all column names that are part of the embeddable type. The regex must match only one column per table.
-
setExpression
public void setExpression(String value)
A regex matching all column names that are part of the embeddable type. The regex must match only one column per table.
-
withName
public EmbeddableField withName(String value)
A name for the field in case the regex does not produce unique names for all matches.
-
withExpression
public EmbeddableField withExpression(String value)
A regex matching all column names that are part of the embeddable type. The regex must match only one column per table.
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-