public class SyntheticForeignKeyType extends Object implements Serializable, XMLAppendable
Java class for SyntheticForeignKeyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SyntheticForeignKeyType">
<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="referencedTable" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="referencedFields" type="{http://www.jooq.org/xsd/jooq-codegen-3.14.0.xsd}SyntheticKeyFieldsType" minOccurs="0"/>
<element name="referencedKey" 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 |
name |
protected List<String> |
referencedFields |
protected String |
referencedKey |
protected String |
referencedTable |
protected String |
tables |
| Constructor and Description |
|---|
SyntheticForeignKeyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
List<String> |
getFields() |
String |
getName()
The optional foreign key name.
|
List<String> |
getReferencedFields() |
String |
getReferencedKey()
A regular expression matching a key that is referenced by this synthetic foreign key.
|
String |
getReferencedTable()
A regular expression matching a table that is referenced by this synthetic foreign key.
|
String |
getTables()
A regular expression matching all tables on which to apply this synthetic foreign key.
|
int |
hashCode() |
void |
setFields(List<String> fields) |
void |
setName(String value)
The optional foreign key name.
|
void |
setReferencedFields(List<String> referencedFields) |
void |
setReferencedKey(String value)
A regular expression matching a key that is referenced by this synthetic foreign key.
|
void |
setReferencedTable(String value)
A regular expression matching a table that is referenced by this synthetic foreign key.
|
void |
setTables(String value)
A regular expression matching all tables on which to apply this synthetic foreign key.
|
String |
toString() |
SyntheticForeignKeyType |
withFields(Collection<String> values) |
SyntheticForeignKeyType |
withFields(List<String> fields) |
SyntheticForeignKeyType |
withFields(String... values) |
SyntheticForeignKeyType |
withName(String value)
The optional foreign key name.
|
SyntheticForeignKeyType |
withReferencedFields(Collection<String> values) |
SyntheticForeignKeyType |
withReferencedFields(List<String> referencedFields) |
SyntheticForeignKeyType |
withReferencedFields(String... values) |
SyntheticForeignKeyType |
withReferencedKey(String value)
A regular expression matching a key that is referenced by this synthetic foreign key.
|
SyntheticForeignKeyType |
withReferencedTable(String value)
A regular expression matching a table that is referenced by this synthetic foreign key.
|
SyntheticForeignKeyType |
withTables(String value)
A regular expression matching all tables on which to apply this synthetic foreign key.
|
protected String name
protected String tables
protected String referencedTable
protected String referencedKey
public String getName()
public void setName(String value)
public String getTables()
public void setTables(String value)
public String getReferencedTable()
public void setReferencedTable(String value)
public String getReferencedKey()
public void setReferencedKey(String value)
public SyntheticForeignKeyType withName(String value)
public SyntheticForeignKeyType withTables(String value)
public SyntheticForeignKeyType withReferencedTable(String value)
public SyntheticForeignKeyType withReferencedKey(String value)
public SyntheticForeignKeyType withFields(String... values)
public SyntheticForeignKeyType withFields(Collection<String> values)
public SyntheticForeignKeyType withFields(List<String> fields)
public SyntheticForeignKeyType withReferencedFields(String... values)
public SyntheticForeignKeyType withReferencedFields(Collection<String> values)
public SyntheticForeignKeyType withReferencedFields(List<String> referencedFields)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.