- java.lang.Object
-
- org.jooq.meta.jaxb.SyntheticPrimaryKeyType
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class SyntheticPrimaryKeyType extends Object implements Serializable, XMLAppendable
Java class for SyntheticPrimaryKeyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SyntheticPrimaryKeyType"> <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="tables" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="fields" type="{http://www.jooq.org/xsd/jooq-codegen-3.15.0.xsd}SyntheticKeyFieldsType"/> <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </all> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SyntheticPrimaryKeyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)List<String>getFields()StringgetKey()A regular expression matching all unique keys and unique indexes which should be treated as primary key.StringgetName()The optional primary key name.StringgetTables()A regular expression matching all tables on which to apply this synthetic primary key.inthashCode()voidsetFields(List<String> fields)voidsetKey(String value)A regular expression matching all unique keys and unique indexes which should be treated as primary key.voidsetName(String value)The optional primary key name.voidsetTables(String value)A regular expression matching all tables on which to apply this synthetic primary key.StringtoString()SyntheticPrimaryKeyTypewithFields(String... values)SyntheticPrimaryKeyTypewithFields(Collection<String> values)SyntheticPrimaryKeyTypewithFields(List<String> fields)SyntheticPrimaryKeyTypewithKey(String value)A regular expression matching all unique keys and unique indexes which should be treated as primary key.SyntheticPrimaryKeyTypewithName(String value)The optional primary key name.SyntheticPrimaryKeyTypewithTables(String value)A regular expression matching all tables on which to apply this synthetic primary key.
-
-
-
Method Detail
-
getName
public String getName()
The optional primary key name.
-
setName
public void setName(String value)
The optional primary key name.
-
getTables
public String getTables()
A regular expression matching all tables on which to apply this synthetic primary key.
-
setTables
public void setTables(String value)
A regular expression matching all tables on which to apply this synthetic primary key.
-
getKey
public String getKey()
A regular expression matching all unique keys and unique indexes which should be treated as primary key.
-
setKey
public void setKey(String value)
A regular expression matching all unique keys and unique indexes which should be treated as primary key.
-
withName
public SyntheticPrimaryKeyType withName(String value)
The optional primary key name.
-
withTables
public SyntheticPrimaryKeyType withTables(String value)
A regular expression matching all tables on which to apply this synthetic primary key.
-
withKey
public SyntheticPrimaryKeyType withKey(String value)
A regular expression matching all unique keys and unique indexes which should be treated as primary key.
-
withFields
public SyntheticPrimaryKeyType withFields(String... values)
-
withFields
public SyntheticPrimaryKeyType withFields(Collection<String> values)
-
withFields
public SyntheticPrimaryKeyType withFields(List<String> fields)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-