java.lang.Object
org.jooq.meta.jaxb.SyntheticForeignKeyType
- All Implemented Interfaces:
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.20.9.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.20.9.xsd}SyntheticKeyFieldsType" minOccurs="0"/>
<element name="referencedKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ignoreUnused" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendTo(XMLBuilder builder) booleangetName()The optional foreign key name.A regular expression matching a key that is referenced by this synthetic foreign key.A regular expression matching a table that is referenced by this synthetic foreign key.A regular expression matching all tables on which to apply this synthetic foreign key.inthashCode()Set this flag to true if no warning should be logged if this object was not used by a code generation run.voidvoidsetIgnoreUnused(Boolean value) Set this flag to true if no warning should be logged if this object was not used by a code generation run.voidThe 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.voidA regular expression matching all tables on which to apply this synthetic foreign key.toString()withFields(String... values) withFields(Collection<String> values) withFields(List<String> fields) withIgnoreUnused(Boolean value) Set this flag to true if no warning should be logged if this object was not used by a code generation run.The optional foreign key name.withReferencedFields(String... values) withReferencedFields(Collection<String> values) withReferencedFields(List<String> referencedFields) withReferencedKey(String value) A regular expression matching a key that is referenced by this synthetic foreign key.withReferencedTable(String value) A regular expression matching a table that is referenced by this synthetic foreign key.withTables(String value) A regular expression matching all tables on which to apply this synthetic foreign key.
-
Field Details
-
name
-
tables
-
referencedTable
-
referencedKey
-
ignoreUnused
-
fields
-
referencedFields
-
-
Constructor Details
-
SyntheticForeignKeyType
public SyntheticForeignKeyType()
-
-
Method Details
-
getName
The optional foreign key name. -
setName
The optional foreign key name. -
getTables
A regular expression matching all tables on which to apply this synthetic foreign key. -
setTables
A regular expression matching all tables on which to apply this synthetic foreign key. -
getReferencedTable
A regular expression matching a table that is referenced by this synthetic foreign key. -
setReferencedTable
A regular expression matching a table that is referenced by this synthetic foreign key. -
getReferencedKey
A regular expression matching a key that is referenced by this synthetic foreign key. -
setReferencedKey
A regular expression matching a key that is referenced by this synthetic foreign key. -
isIgnoreUnused
Set this flag to true if no warning should be logged if this object was not used by a code generation run.- Returns:
- possible object is
Boolean
-
setIgnoreUnused
Set this flag to true if no warning should be logged if this object was not used by a code generation run.- Parameters:
value- allowed object isBoolean
-
getFields
-
setFields
-
getReferencedFields
-
setReferencedFields
-
withName
The optional foreign key name. -
withTables
A regular expression matching all tables on which to apply this synthetic foreign key. -
withReferencedTable
A regular expression matching a table that is referenced by this synthetic foreign key. -
withReferencedKey
A regular expression matching a key that is referenced by this synthetic foreign key. -
withIgnoreUnused
Set this flag to true if no warning should be logged if this object was not used by a code generation run. -
withFields
-
withFields
-
withFields
-
withReferencedFields
-
withReferencedFields
-
withReferencedFields
-
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-