Class Table
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
Table
Java class for Table complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Table">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}token"/>
<element name="title" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="utype" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="nrows" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="column" type="{http://www.ivoa.net/xml/VODataService/v1.1}TableParam" maxOccurs="unbounded" minOccurs="0"/>
<element name="foreignKey" type="{http://www.ivoa.net/xml/VODataService/v1.1}ForeignKey" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
<anyAttribute namespace='##other'/>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classTable.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Table.Modifierprotected List<TableParam>A description of a table column.protected StringA free-text description of the table's contentsprotected List<ForeignKey>A description of a foreign keys, one or more columns from the current table that can be used to join with another table.protected StringIn general, the format of the qualified name may depend on the context; however, when the table is intended to be queryable via ADQL, then the catalogue and schema qualifiers are delimited from the table name with dots (.).protected BigIntegerThis is not expected to be exact.protected StringThis is used for display purposes.protected StringA name for the role this table plays.protected StringThe form of the utype string depends on the data model; common forms are sequences of dotted identifiers (e.g., in SSA) or URIs (e.g., in RegTAP). -
Constructor Summary
ConstructorsConstructorDescriptionTable()Default no-arg constructorTable(String name, String title, String description, String utype, BigInteger nrows, List<TableParam> columns, List<ForeignKey> foreignKeies, String type, Map<QName, String> otherAttributes) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) static Table.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static Table.Builder<Void>copyExcept(Table _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> Table.Builder<_B>static <_B> Table.Builder<_B>copyOf(Table _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static Table.Builder<Void><_B> voidcopyTo(Table.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(Table.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) booleanA description of a table column.A free-text description of the table's contentsA description of a foreign keys, one or more columns from the current table that can be used to join with another table.getName()In general, the format of the qualified name may depend on the context; however, when the table is intended to be queryable via ADQL, then the catalogue and schema qualifiers are delimited from the table name with dots (.).getNrows()This is not expected to be exact.Gets a map that contains attributes that aren't bound to any typed property on this class.getTitle()This is used for display purposes.getType()A name for the role this table plays.getUtype()The form of the utype string depends on the data model; common forms are sequences of dotted identifiers (e.g., in SSA) or URIs (e.g., in RegTAP).inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()<_B> Table.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> Table.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidsetDescription(String value) Sets the value of the description property.voidSets the value of the name property.voidsetNrows(BigInteger value) Sets the value of the nrows property.voidSets the value of the title property.voidSets the value of the type property.voidSets the value of the utype property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
Field Details
-
name
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected String nameIn general, the format of the qualified name may depend on the context; however, when the table is intended to be queryable via ADQL, then the catalogue and schema qualifiers are delimited from the table name with dots (.). -
title
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected String titleThis is used for display purposes. There is no requirement regarding uniqueness. -
description
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected String descriptionA free-text description of the table's contents -
utype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected String utypeThe form of the utype string depends on the data model; common forms are sequences of dotted identifiers (e.g., in SSA) or URIs (e.g., in RegTAP). -
nrows
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected BigInteger nrowsThis is not expected to be exact. For instance, the estimates on table sizes databases keep for query planning purposes are suitable for this field. -
columns
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected List<TableParam> columnsA description of a table column. -
foreignKeies
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected List<ForeignKey> foreignKeiesA description of a foreign keys, one or more columns from the current table that can be used to join with another table. -
type
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected String typeA name for the role this table plays. Recognized values include “output”, indicating this table is output from a query; “base_table", indicating a table whose records represent the main subjects of its schema; and “view”, indicating that the table represents a useful combination or subset of other tables. Other values are allowed. -
__cachedModifier__
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected transient Table.Modifier __cachedModifier__
-
-
Constructor Details
-
Table
public Table()Default no-arg constructor -
Table
public Table(String name, String title, String description, String utype, BigInteger nrows, List<TableParam> columns, List<ForeignKey> foreignKeies, String type, Map<QName, String> otherAttributes) Fully-initialising value constructor
-
-
Method Details
-
getName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String getName()In general, the format of the qualified name may depend on the context; however, when the table is intended to be queryable via ADQL, then the catalogue and schema qualifiers are delimited from the table name with dots (.).- Returns:
- possible object is
String
-
setName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setName(String value) Sets the value of the name property. -
getTitle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String getTitle()This is used for display purposes. There is no requirement regarding uniqueness.- Returns:
- possible object is
String
-
setTitle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setTitle(String value) Sets the value of the title property.- Parameters:
value- allowed object isString- See Also:
-
getDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String getDescription()A free-text description of the table's contents- Returns:
- possible object is
String
-
setDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setDescription(String value) Sets the value of the description property.- Parameters:
value- allowed object isString- See Also:
-
getUtype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String getUtype()The form of the utype string depends on the data model; common forms are sequences of dotted identifiers (e.g., in SSA) or URIs (e.g., in RegTAP).- Returns:
- possible object is
String
-
setUtype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setUtype(String value) Sets the value of the utype property.- Parameters:
value- allowed object isString- See Also:
-
getNrows
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BigInteger getNrows()This is not expected to be exact. For instance, the estimates on table sizes databases keep for query planning purposes are suitable for this field.- Returns:
- possible object is
BigInteger
-
setNrows
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setNrows(BigInteger value) Sets the value of the nrows property.- Parameters:
value- allowed object isBigInteger- See Also:
-
getColumns
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public List<TableParam> getColumns()A description of a table column. Gets the value of the columns property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the columns property.For example, to add a new item, do as follows:
getColumns().add(newItem);
Objects of the following type(s) are allowed in the list
TableParam- Returns:
- The value of the columns property.
-
getForeignKeies
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public List<ForeignKey> getForeignKeies()A description of a foreign keys, one or more columns from the current table that can be used to join with another table. Gets the value of the foreignKeies property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the foreignKeies property.For example, to add a new item, do as follows:
getForeignKeies().add(newItem);
Objects of the following type(s) are allowed in the list
ForeignKey- Returns:
- The value of the foreignKeies property.
-
getType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String getType()A name for the role this table plays. Recognized values include “output”, indicating this table is output from a query; “base_table", indicating a table whose records represent the main subjects of its schema; and “view”, indicating that the table represents a useful combination or subset of other tables. Other values are allowed.- Returns:
- possible object is
String
-
setType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setType(String value) Sets the value of the type property. -
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Map<QName,String> getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Table.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> Table.Builder<_B> newCopyBuilder(_B _parentBuilder) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table.Builder<Void> newCopyBuilder() -
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Table.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Table.Builder<_B> copyOf(Table _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Table.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> Table.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Table.Builder<_B> copyOf(Table _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Table.Builder<Void> copyExcept(Table _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Table.Builder<Void> copyOnly(Table _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Table visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-