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.14.0.xsd}SyntheticKeyFieldsType"/>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
fields |
protected String |
key |
protected String |
name |
protected String |
tables |
| Constructor and Description |
|---|
SyntheticPrimaryKeyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
List<String> |
getFields() |
String |
getKey()
A regular expression matching all unique keys and unique indexes which should be treated as primary key.
|
String |
getName()
The optional primary key name.
|
String |
getTables()
A regular expression matching all tables on which to apply this synthetic primary key.
|
int |
hashCode() |
void |
setFields(List<String> fields) |
void |
setKey(String value)
A regular expression matching all unique keys and unique indexes which should be treated as primary key.
|
void |
setName(String value)
The optional primary key name.
|
void |
setTables(String value)
A regular expression matching all tables on which to apply this synthetic primary key.
|
String |
toString() |
SyntheticPrimaryKeyType |
withFields(Collection<String> values) |
SyntheticPrimaryKeyType |
withFields(List<String> fields) |
SyntheticPrimaryKeyType |
withFields(String... values) |
SyntheticPrimaryKeyType |
withKey(String value)
A regular expression matching all unique keys and unique indexes which should be treated as primary key.
|
SyntheticPrimaryKeyType |
withName(String value)
The optional primary key name.
|
SyntheticPrimaryKeyType |
withTables(String value)
A regular expression matching all tables on which to apply this synthetic primary key.
|
public String getName()
public void setName(String value)
public String getTables()
public void setTables(String value)
public String getKey()
public void setKey(String value)
public SyntheticPrimaryKeyType withName(String value)
public SyntheticPrimaryKeyType withTables(String value)
public SyntheticPrimaryKeyType withKey(String value)
public SyntheticPrimaryKeyType withFields(String... values)
public SyntheticPrimaryKeyType withFields(Collection<String> values)
public SyntheticPrimaryKeyType withFields(List<String> fields)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.