Class TableParam
java.lang.Object
org.ivoa.dm.registry.vodataservice.BaseParam
org.ivoa.dm.registry.vodataservice.TableParam
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="VODataService:TableParam",
       role=objectType)
public class TableParam
extends BaseParam
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A description of a table parameter having a fixed data type. 
 objectType:  TableParam
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for TableParam, mainly for use in the functional builder pattern.Nested classes/interfaces inherited from class org.ivoa.dm.registry.vodataservice.BaseParam
BaseParam.BaseParamBuilder - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TableDataTypeA type of data contained in the column .A keyword representing traits of the column.protected BooleanIf true, the meaning and use of this parameter is reserved and defined by a standard model. - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new TableParamTableParam(BaseParam superinstance, TableDataType dataType, List<String> flag, Boolean std) Constructor from supertype instance.TableParam(TableDataType dataType, List<String> flag, Boolean std, String name, String description, String unit, String ucd, String utype) full parameter constructor.TableParam(TableParam other) Copy Constructor. - 
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static TableParamcreate a TableParam in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidReturns dataType Attribute.getFlag()Returns flag Attribute.getStd()Returns std Attribute.voidsetDataType(TableDataType pDataType) Set dataType Attribute.voidSet flag Attribute.voidSet std Attribute.voidupdateUsing(TableParam other) Update this object with the content of the given object.withDataType(TableDataType pDataType) fluent setter for dataType Attribute.fluent setter for flag Attribute.fluent setter for std Attribute.Methods inherited from class org.ivoa.dm.registry.vodataservice.BaseParam
createBaseParam, getDescription, getId, getName, getUcd, getUnit, getUtype, setDescription, setName, setUcd, setUnit, setUtype, updateUsing, withDescription, withName, withUcd, withUnit, withUtypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType
getId 
- 
Field Details
- 
dataType
@VoDml(id="VODataService:TableParam.dataType", role=attribute, type="VODataService:TableDataType", typeRole=dataType) protected TableDataType dataTypeA type of data contained in the column . : Attribute dataType : multiplicity 0..1 - 
flag
@VoDml(id="VODataService:TableParam.flag", role=attribute, type="ivoa:string", typeRole=primitiveType) protected List<String> flagA keyword representing traits of the column. Recognized values include “indexed”, “primary”, and “nullable”. While other values are allowed, the following semantics is defined by this specification: indexed – The column has an index on it for faster search against its values; primary – The values column in the column represent in total or in part a primary key for its table; nullable – the column may contain null or empty values. : Attribute flag : multiplicity 0..* - 
std
@VoDml(id="VODataService:TableParam.std", role=attribute, type="ivoa:boolean", typeRole=primitiveType) protected Boolean stdIf true, the meaning and use of this parameter is reserved and defined by a standard model. If false, it represents a parameter specific to the data described If not provided, then the value is unknown. : Attribute std : multiplicity 1 
 - 
 - 
Constructor Details
- 
TableParam
public TableParam()Creates a new TableParam - 
TableParam
public TableParam(TableDataType dataType, List<String> flag, Boolean std, String name, String description, String unit, String ucd, String utype) full parameter constructor.- Parameters:
 dataType- A type of data contained in the column .flag- A keyword representing traits of the column. Recognized values include “indexed”, “primary”, and “nullable”. While other values are allowed, the following semantics is defined by this specification: indexed – The column has an index on it for faster search against its values; primary – The values column in the column represent in total or in part a primary key for its table; nullable – the column may contain null or empty values.std- If true, the meaning and use of this parameter is reserved and defined by a standard model. If false, it represents a parameter specific to the data described If not provided, then the value is unknown.name- The name of the parameter or column.description- A free-text description of a parameter's or column's contents.unit- The unit associated with the values in the parameter or column.ucd- The name of a unified content descriptor that describes the scientific content of the parameter. There are no requirements for compliance with any particular UCD standard.utype- An identifier for a concept in a data model that the data in this schema represent. 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).
 - 
TableParam
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 - 
TableParam
Constructor from supertype instance.- Parameters:
 superinstance- The supertype.dataType- A type of data contained in the column .flag- A keyword representing traits of the column. Recognized values include “indexed”, “primary”, and “nullable”. While other values are allowed, the following semantics is defined by this specification: indexed – The column has an index on it for faster search against its values; primary – The values column in the column represent in total or in part a primary key for its table; nullable – the column may contain null or empty values.std- If true, the meaning and use of this parameter is reserved and defined by a standard model. If false, it represents a parameter specific to the data described If not provided, then the value is unknown.
 
 - 
 - 
Method Details
- 
copyMe
make a clone of the object taking into account current polymorhic type. - 
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 - 
getDataType
Returns dataType Attribute.- Returns:
 - dataType Attribute
 
 - 
setDataType
Set dataType Attribute.- Parameters:
 pDataType- value to set
 - 
withDataType
fluent setter for dataType Attribute.- Parameters:
 pDataType- value to set- Returns:
 - TableParam
 
 - 
getFlag
Returns flag Attribute.- Returns:
 - flag Attribute
 
 - 
setFlag
Set flag Attribute.- Parameters:
 pFlag- value to set
 - 
withFlag
fluent setter for flag Attribute.- Parameters:
 pFlag- value to set- Returns:
 - TableParam
 
 - 
getStd
Returns std Attribute.- Returns:
 - std Attribute
 
 - 
setStd
Set std Attribute.- Parameters:
 pStd- value to set
 - 
withStd
fluent setter for std Attribute.- Parameters:
 pStd- value to set- Returns:
 - TableParam
 
 - 
createTableParam
create a TableParam in functional builder style.- Parameters:
 f- the functional builder.- Returns:
 - an object initialized from the builder.
 
 - 
forceLoad
public void forceLoad() - 
delete
public void delete(jakarta.persistence.EntityManager em)  
 -