Package org.jooq.util.xml.jaxb
Class TableConstraint
- java.lang.Object
-
- org.jooq.util.xml.jaxb.TableConstraint
-
- All Implemented Interfaces:
java.io.Serializable
,XMLAppendable
public class TableConstraint extends java.lang.Object implements java.io.Serializable, XMLAppendable
Java class for TableConstraint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TableConstraint"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="constraint_catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="constraint_schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="constraint_name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="constraint_type" type="{http://www.jooq.org/xsd/jooq-meta-3.12.0.xsd}TableConstraintType"/> <element name="table_catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="table_schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="table_name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="comment" 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 java.lang.String
comment
protected java.lang.String
constraintCatalog
protected java.lang.String
constraintName
protected java.lang.String
constraintSchema
protected TableConstraintType
constraintType
protected java.lang.String
tableCatalog
protected java.lang.String
tableName
protected java.lang.String
tableSchema
-
Constructor Summary
Constructors Constructor Description TableConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendTo(XMLBuilder builder)
boolean
equals(java.lang.Object that)
java.lang.String
getComment()
Gets the value of the comment property.java.lang.String
getConstraintCatalog()
Gets the value of the constraintCatalog property.java.lang.String
getConstraintName()
Gets the value of the constraintName property.java.lang.String
getConstraintSchema()
Gets the value of the constraintSchema property.TableConstraintType
getConstraintType()
Gets the value of the constraintType property.java.lang.String
getTableCatalog()
Gets the value of the tableCatalog property.java.lang.String
getTableName()
Gets the value of the tableName property.java.lang.String
getTableSchema()
Gets the value of the tableSchema property.int
hashCode()
void
setComment(java.lang.String value)
Sets the value of the comment property.void
setConstraintCatalog(java.lang.String value)
Sets the value of the constraintCatalog property.void
setConstraintName(java.lang.String value)
Sets the value of the constraintName property.void
setConstraintSchema(java.lang.String value)
Sets the value of the constraintSchema property.void
setConstraintType(TableConstraintType value)
Sets the value of the constraintType property.void
setTableCatalog(java.lang.String value)
Sets the value of the tableCatalog property.void
setTableName(java.lang.String value)
Sets the value of the tableName property.void
setTableSchema(java.lang.String value)
Sets the value of the tableSchema property.java.lang.String
toString()
TableConstraint
withComment(java.lang.String value)
TableConstraint
withConstraintCatalog(java.lang.String value)
TableConstraint
withConstraintName(java.lang.String value)
TableConstraint
withConstraintSchema(java.lang.String value)
TableConstraint
withConstraintType(TableConstraintType value)
TableConstraint
withTableCatalog(java.lang.String value)
TableConstraint
withTableName(java.lang.String value)
TableConstraint
withTableSchema(java.lang.String value)
-
-
-
Field Detail
-
constraintCatalog
protected java.lang.String constraintCatalog
-
constraintSchema
protected java.lang.String constraintSchema
-
constraintName
protected java.lang.String constraintName
-
constraintType
protected TableConstraintType constraintType
-
tableCatalog
protected java.lang.String tableCatalog
-
tableSchema
protected java.lang.String tableSchema
-
tableName
protected java.lang.String tableName
-
comment
protected java.lang.String comment
-
-
Method Detail
-
getConstraintCatalog
public java.lang.String getConstraintCatalog()
Gets the value of the constraintCatalog property.- Returns:
- possible object is
String
-
setConstraintCatalog
public void setConstraintCatalog(java.lang.String value)
Sets the value of the constraintCatalog property.- Parameters:
value
- allowed object isString
-
getConstraintSchema
public java.lang.String getConstraintSchema()
Gets the value of the constraintSchema property.- Returns:
- possible object is
String
-
setConstraintSchema
public void setConstraintSchema(java.lang.String value)
Sets the value of the constraintSchema property.- Parameters:
value
- allowed object isString
-
getConstraintName
public java.lang.String getConstraintName()
Gets the value of the constraintName property.- Returns:
- possible object is
String
-
setConstraintName
public void setConstraintName(java.lang.String value)
Sets the value of the constraintName property.- Parameters:
value
- allowed object isString
-
getConstraintType
public TableConstraintType getConstraintType()
Gets the value of the constraintType property.- Returns:
- possible object is
TableConstraintType
-
setConstraintType
public void setConstraintType(TableConstraintType value)
Sets the value of the constraintType property.- Parameters:
value
- allowed object isTableConstraintType
-
getTableCatalog
public java.lang.String getTableCatalog()
Gets the value of the tableCatalog property.- Returns:
- possible object is
String
-
setTableCatalog
public void setTableCatalog(java.lang.String value)
Sets the value of the tableCatalog property.- Parameters:
value
- allowed object isString
-
getTableSchema
public java.lang.String getTableSchema()
Gets the value of the tableSchema property.- Returns:
- possible object is
String
-
setTableSchema
public void setTableSchema(java.lang.String value)
Sets the value of the tableSchema property.- Parameters:
value
- allowed object isString
-
getTableName
public java.lang.String getTableName()
Gets the value of the tableName property.- Returns:
- possible object is
String
-
setTableName
public void setTableName(java.lang.String value)
Sets the value of the tableName property.- Parameters:
value
- allowed object isString
-
getComment
public java.lang.String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(java.lang.String value)
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
withConstraintCatalog
public TableConstraint withConstraintCatalog(java.lang.String value)
-
withConstraintSchema
public TableConstraint withConstraintSchema(java.lang.String value)
-
withConstraintName
public TableConstraint withConstraintName(java.lang.String value)
-
withConstraintType
public TableConstraint withConstraintType(TableConstraintType value)
-
withTableCatalog
public TableConstraint withTableCatalog(java.lang.String value)
-
withTableSchema
public TableConstraint withTableSchema(java.lang.String value)
-
withTableName
public TableConstraint withTableName(java.lang.String value)
-
withComment
public TableConstraint withComment(java.lang.String value)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendTo
in interfaceXMLAppendable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-