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.18.0.xsd}SyntheticKeyFieldsType"/>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" 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()voidvoidA 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) 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
-
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. -
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. -
withFields
-
withFields
-
withFields
-
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-