public class SyntheticUniqueKeyType extends Object implements Serializable, XMLAppendable
Java class for SyntheticUniqueKeyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SyntheticUniqueKeyType">
<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"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
fields |
protected String |
name |
protected String |
tables |
| Constructor and Description |
|---|
SyntheticUniqueKeyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
List<String> |
getFields() |
String |
getName()
The optional unique key name.
|
String |
getTables()
A regular expression matching all tables on which to apply this synthetic unique key.
|
int |
hashCode() |
void |
setFields(List<String> fields) |
void |
setName(String value)
The optional unique key name.
|
void |
setTables(String value)
A regular expression matching all tables on which to apply this synthetic unique key.
|
String |
toString() |
SyntheticUniqueKeyType |
withFields(Collection<String> values) |
SyntheticUniqueKeyType |
withFields(List<String> fields) |
SyntheticUniqueKeyType |
withFields(String... values) |
SyntheticUniqueKeyType |
withName(String value)
The optional unique key name.
|
SyntheticUniqueKeyType |
withTables(String value)
A regular expression matching all tables on which to apply this synthetic unique key.
|
public String getName()
public void setName(String value)
public String getTables()
public void setTables(String value)
public SyntheticUniqueKeyType withName(String value)
public SyntheticUniqueKeyType withTables(String value)
public SyntheticUniqueKeyType withFields(String... values)
public SyntheticUniqueKeyType withFields(Collection<String> values)
public SyntheticUniqueKeyType withFields(List<String> fields)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.