[#6991] Add comments to jooq-meta.xsd

This commit is contained in:
lukaseder 2018-01-04 16:42:19 +01:00
parent 9ca0184e2d
commit 0e0cd604c6
10 changed files with 297 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="catalog_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
@ -50,6 +51,8 @@ public class Catalog implements Serializable
@XmlElement(name = "catalog_name")
@XmlJavaTypeAdapter(StringAdapter.class)
protected String catalogName;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the catalogName property.
@ -75,9 +78,38 @@ public class Catalog implements Serializable
this.catalogName = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Catalog withCatalogName(String value) {
setCatalogName(value);
return this;
}
public Catalog withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -39,6 +39,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <element name="identity_generation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="is_nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="column_default" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
@ -89,6 +90,8 @@ public class Column implements Serializable
@XmlElement(name = "column_default")
@XmlJavaTypeAdapter(StringAdapter.class)
protected String columnDefault;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the tableCatalog property.
@ -378,6 +381,30 @@ public class Column implements Serializable
this.columnDefault = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Column withTableCatalog(String value) {
setTableCatalog(value);
return this;
@ -438,4 +465,9 @@ public class Column implements Serializable
return this;
}
public Column withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -34,6 +34,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <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="is_unique" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
@ -73,6 +74,8 @@ public class Index implements Serializable
protected String tableName;
@XmlElement(name = "is_unique")
protected Boolean isUnique;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the indexCatalog property.
@ -242,6 +245,30 @@ public class Index implements Serializable
this.isUnique = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Index withIndexCatalog(String value) {
setIndexCatalog(value);
return this;
@ -277,4 +304,9 @@ public class Index implements Serializable
return this;
}
public Index withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -40,6 +40,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <element name="numeric_precision" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="numeric_scale" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="parameter_default" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
@ -91,6 +92,8 @@ public class Parameter implements Serializable
@XmlElement(name = "parameter_default")
@XmlJavaTypeAdapter(StringAdapter.class)
protected String parameterDefault;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the specificCatalog property.
@ -372,6 +375,30 @@ public class Parameter implements Serializable
this.parameterDefault = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Parameter withSpecificCatalog(String value) {
setSpecificCatalog(value);
return this;
@ -432,4 +459,9 @@ public class Parameter implements Serializable
return this;
}
public Parameter withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -41,6 +41,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <element name="character_maximum_length" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="numeric_precision" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="numeric_scale" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
@ -96,6 +97,8 @@ public class Routine implements Serializable
protected Integer numericPrecision;
@XmlElement(name = "numeric_scale")
protected Integer numericScale;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the specificCatalog property.
@ -409,6 +412,30 @@ public class Routine implements Serializable
this.numericScale = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Routine withSpecificCatalog(String value) {
setSpecificCatalog(value);
return this;
@ -474,4 +501,9 @@ public class Routine implements Serializable
return this;
}
public Routine withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -29,6 +29,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <all>
* <element name="catalog_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="schema_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>
@ -54,6 +55,8 @@ public class Schema implements Serializable
@XmlElement(name = "schema_name", required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
protected String schemaName;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the catalogName property.
@ -103,6 +106,30 @@ public class Schema implements Serializable
this.schemaName = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Schema withCatalogName(String value) {
setCatalogName(value);
return this;
@ -113,4 +140,9 @@ public class Schema implements Serializable
return this;
}
public Schema withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -34,6 +34,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <element name="character_maximum_length" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="numeric_precision" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="numeric_scale" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
@ -71,6 +72,8 @@ public class Sequence implements Serializable
protected Integer numericPrecision;
@XmlElement(name = "numeric_scale")
protected Integer numericScale;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the sequenceCatalog property.
@ -240,6 +243,30 @@ public class Sequence implements Serializable
this.numericScale = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Sequence withSequenceCatalog(String value) {
setSequenceCatalog(value);
return this;
@ -275,4 +302,9 @@ public class Sequence implements Serializable
return this;
}
public Sequence withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -30,6 +30,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <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>
@ -58,6 +59,8 @@ public class Table implements Serializable
@XmlElement(name = "table_name", required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
protected String tableName;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the tableCatalog property.
@ -131,6 +134,30 @@ public class Table implements Serializable
this.tableName = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public Table withTableCatalog(String value) {
setTableCatalog(value);
return this;
@ -146,4 +173,9 @@ public class Table implements Serializable
return this;
}
public Table withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -35,6 +35,7 @@ import org.jooq.util.jaxb.tools.StringAdapter;
* <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>
@ -75,6 +76,8 @@ public class TableConstraint implements Serializable
@XmlElement(name = "table_name", required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
protected String tableName;
@XmlJavaTypeAdapter(StringAdapter.class)
protected String comment;
/**
* Gets the value of the constraintCatalog property.
@ -244,6 +247,30 @@ public class TableConstraint implements Serializable
this.tableName = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
public TableConstraint withConstraintCatalog(String value) {
setConstraintCatalog(value);
return this;
@ -279,4 +306,9 @@ public class TableConstraint implements Serializable
return this;
}
public TableConstraint withComment(String value) {
setComment(value);
return this;
}
}

View File

@ -32,6 +32,7 @@
<complexType name="Catalog">
<all>
<element name="catalog_name" type="string" minOccurs="0" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -45,6 +46,7 @@
<all>
<element name="catalog_name" type="string" minOccurs="0" maxOccurs="1" />
<element name="schema_name" type="string" minOccurs="1" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -63,6 +65,7 @@
<element name="character_maximum_length" type="int" minOccurs="0" maxOccurs="1" />
<element name="numeric_precision" type="int" minOccurs="0" maxOccurs="1" />
<element name="numeric_scale" type="int" minOccurs="0" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -77,6 +80,7 @@
<element name="table_catalog" type="string" minOccurs="0" maxOccurs="1" />
<element name="table_schema" type="string" minOccurs="0" maxOccurs="1" />
<element name="table_name" type="string" minOccurs="1" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -100,6 +104,7 @@
<element name="identity_generation" type="string" minOccurs="0" maxOccurs="1" />
<element name="is_nullable" type="boolean" minOccurs="0" maxOccurs="1" />
<element name="column_default" type="string" minOccurs="0" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -118,6 +123,7 @@
<element name="table_catalog" type="string" minOccurs="0" maxOccurs="1" />
<element name="table_schema" type="string" minOccurs="0" maxOccurs="1" />
<element name="table_name" type="string" minOccurs="1" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -181,6 +187,7 @@
<element name="table_schema" type="string" minOccurs="0" maxOccurs="1" />
<element name="table_name" type="string" minOccurs="1" maxOccurs="1" />
<element name="is_unique" type="boolean" minOccurs="0" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -225,6 +232,7 @@
<element name="character_maximum_length" type="int" minOccurs="0" maxOccurs="1" />
<element name="numeric_precision" type="int" minOccurs="0" maxOccurs="1" />
<element name="numeric_scale" type="int" minOccurs="0" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>
@ -255,6 +263,7 @@
<element name="numeric_precision" type="int" minOccurs="0" maxOccurs="1" />
<element name="numeric_scale" type="int" minOccurs="0" maxOccurs="1" />
<element name="parameter_default" type="string" minOccurs="0" maxOccurs="1" />
<element name="comment" type="string" minOccurs="0" maxOccurs="1" />
</all>
</complexType>