- java.lang.Object
-
- org.jooq.meta.jaxb.SyntheticForeignKeyType
-
- All Implemented Interfaces:
Serializable,XMLAppendable
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.15.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.15.0.xsd}SyntheticKeyFieldsType" minOccurs="0"/> <element name="referencedKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </all> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>fieldsprotected Stringnameprotected List<String>referencedFieldsprotected StringreferencedKeyprotected StringreferencedTableprotected Stringtables
-
Constructor Summary
Constructors Constructor Description SyntheticForeignKeyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)List<String>getFields()StringgetName()The optional foreign key name.List<String>getReferencedFields()StringgetReferencedKey()A regular expression matching a key that is referenced by this synthetic foreign key.StringgetReferencedTable()A regular expression matching a table that is referenced by this synthetic foreign key.StringgetTables()A regular expression matching all tables on which to apply this synthetic foreign key.inthashCode()voidsetFields(List<String> fields)voidsetName(String value)The optional foreign key name.voidsetReferencedFields(List<String> referencedFields)voidsetReferencedKey(String value)A regular expression matching a key that is referenced by this synthetic foreign key.voidsetReferencedTable(String value)A regular expression matching a table that is referenced by this synthetic foreign key.voidsetTables(String value)A regular expression matching all tables on which to apply this synthetic foreign key.StringtoString()SyntheticForeignKeyTypewithFields(String... values)SyntheticForeignKeyTypewithFields(Collection<String> values)SyntheticForeignKeyTypewithFields(List<String> fields)SyntheticForeignKeyTypewithName(String value)The optional foreign key name.SyntheticForeignKeyTypewithReferencedFields(String... values)SyntheticForeignKeyTypewithReferencedFields(Collection<String> values)SyntheticForeignKeyTypewithReferencedFields(List<String> referencedFields)SyntheticForeignKeyTypewithReferencedKey(String value)A regular expression matching a key that is referenced by this synthetic foreign key.SyntheticForeignKeyTypewithReferencedTable(String value)A regular expression matching a table that is referenced by this synthetic foreign key.SyntheticForeignKeyTypewithTables(String value)A regular expression matching all tables on which to apply this synthetic foreign key.
-
-
-
Method Detail
-
getName
public String getName()
The optional foreign key name.
-
setName
public void setName(String value)
The optional foreign key name.
-
getTables
public String getTables()
A regular expression matching all tables on which to apply this synthetic foreign key.
-
setTables
public void setTables(String value)
A regular expression matching all tables on which to apply this synthetic foreign key.
-
getReferencedTable
public String getReferencedTable()
A regular expression matching a table that is referenced by this synthetic foreign key.
-
setReferencedTable
public void setReferencedTable(String value)
A regular expression matching a table that is referenced by this synthetic foreign key.
-
getReferencedKey
public String getReferencedKey()
A regular expression matching a key that is referenced by this synthetic foreign key.
-
setReferencedKey
public void setReferencedKey(String value)
A regular expression matching a key that is referenced by this synthetic foreign key.
-
withName
public SyntheticForeignKeyType withName(String value)
The optional foreign key name.
-
withTables
public SyntheticForeignKeyType withTables(String value)
A regular expression matching all tables on which to apply this synthetic foreign key.
-
withReferencedTable
public SyntheticForeignKeyType withReferencedTable(String value)
A regular expression matching a table that is referenced by this synthetic foreign key.
-
withReferencedKey
public SyntheticForeignKeyType withReferencedKey(String value)
A regular expression matching a key that is referenced by this synthetic foreign key.
-
withFields
public SyntheticForeignKeyType withFields(String... values)
-
withFields
public SyntheticForeignKeyType withFields(Collection<String> values)
-
withFields
public SyntheticForeignKeyType withFields(List<String> fields)
-
withReferencedFields
public SyntheticForeignKeyType withReferencedFields(String... values)
-
withReferencedFields
public SyntheticForeignKeyType withReferencedFields(Collection<String> values)
-
withReferencedFields
public SyntheticForeignKeyType withReferencedFields(List<String> referencedFields)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-