java.lang.Object
org.jooq.meta.jaxb.SyntheticPrimaryKeyType
- All Implemented Interfaces:
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.20.9.xsd}SyntheticKeyFieldsType"/>
<element name="key" 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) booleangetKey()A regular expression matching all unique keys and unique indexes which should be treated as primary key.getName()The optional primary key name.A regular expression matching all tables on which to apply this synthetic primary 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.voidA regular expression matching all unique keys and unique indexes which should be treated as primary key.voidThe optional primary key name.voidA regular expression matching all tables on which to apply this synthetic primary 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.A regular expression matching all unique keys and unique indexes which should be treated as primary key.The optional primary key name.withTables(String value) A regular expression matching all tables on which to apply this synthetic primary key.
-
Field Details
-
name
-
tables
-
key
-
ignoreUnused
-
fields
-
-
Constructor Details
-
SyntheticPrimaryKeyType
public SyntheticPrimaryKeyType()
-
-
Method Details
-
getName
The optional primary key name. -
setName
The optional primary key name. -
getTables
A regular expression matching all tables on which to apply this synthetic primary key. -
setTables
A regular expression matching all tables on which to apply this synthetic primary key. -
getKey
A regular expression matching all unique keys and unique indexes which should be treated as primary key. -
setKey
A regular expression matching all unique keys and unique indexes which should be treated as primary 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
-
withName
The optional primary key name. -
withTables
A regular expression matching all tables on which to apply this synthetic primary key. -
withKey
A regular expression matching all unique keys and unique indexes which should be treated as primary 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
-
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-