Package org.ivoa.dm.regtap
Class InterfaceParam
java.lang.Object
org.ivoa.dm.regtap.InterfaceParam
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="RegTAP:InterfaceParam",
role=objectType)
public class InterfaceParam
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
Input parameters for services.
objectType: InterfaceParam
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder class for InterfaceParam, mainly for use in the functional builder pattern. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Long
inserted database keyprotected String
The shape of the array that constitutes the value, e.g., 4, *, 4*, 5x4, or 5x*, as specified by VOTable.protected String
The type of the data contained in the parameter.protected String
The ivoa:string that is used to delimit elements of an array value when arraysize is not '1'.protected String
An identifier for the schema that the value given by the extended attribute is drawn from.protected String
A custom type for the values this parameter contains.protected Integer
The index of the interface this parameter belongs to.protected String
The name of the parameter.protected String
A free-text description of the parameter's contents.protected String
An indication of whether this parameter is required to be provided for the application or service to work properly (one of required, optional, ignored, or NULL).protected Integer
If 1, the meaning and use of this parameter is reserved and defined by a standard model.protected String
A unified content descriptor that describes the scientific content of the parameter.protected String
The unit associated with all values in the parameter.protected String
An identifier for a role in a data model that the data in this parameter represents. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InterfaceParamInterfaceParam
(Integer intf_index, String name, String unit, String ucd, String utype, Integer std, String datatype, String extended_schema, String extended_type, String arraysize, String delim, String param_use, String param_description) full parameter constructor.InterfaceParam
(InterfaceParam other) Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic InterfaceParam
create a InterfaceParam in functional builder style.void
delete
(jakarta.persistence.EntityManager em) void
Returns arraysize Attribute.Returns datatype Attribute.getDelim()
Returns delim Attribute.Returns extended_schema Attribute.Returns extended_type Attribute.getId()
Returns intf_index Attribute.getName()
Returns name Attribute.Returns param_description Attribute.Returns param_use Attribute.getStd()
Returns std Attribute.getUcd()
Returns ucd Attribute.getUnit()
Returns unit Attribute.getUtype()
Returns utype Attribute.void
setArraysize
(String pArraysize) Set arraysize Attribute.void
setDatatype
(String pDatatype) Set datatype Attribute.void
Set delim Attribute.void
setExtended_schema
(String pExtended_schema) Set extended_schema Attribute.void
setExtended_type
(String pExtended_type) Set extended_type Attribute.void
setIntf_index
(Integer pIntf_index) Set intf_index Attribute.void
Set name Attribute.void
setParam_description
(String pParam_description) Set param_description Attribute.void
setParam_use
(String pParam_use) Set param_use Attribute.void
Set std Attribute.void
Set ucd Attribute.void
Set unit Attribute.void
Set utype Attribute.void
updateUsing
(InterfaceParam other) Update this object with the content of the given object.withArraysize
(String pArraysize) fluent setter for arraysize Attribute.withDatatype
(String pDatatype) fluent setter for datatype Attribute.fluent setter for delim Attribute.withExtended_schema
(String pExtended_schema) fluent setter for extended_schema Attribute.withExtended_type
(String pExtended_type) fluent setter for extended_type Attribute.withIntf_index
(Integer pIntf_index) fluent setter for intf_index Attribute.fluent setter for name Attribute.withParam_description
(String pParam_description) fluent setter for param_description Attribute.withParam_use
(String pParam_use) fluent setter for param_use Attribute.fluent setter for std Attribute.fluent setter for ucd Attribute.fluent setter for unit Attribute.fluent setter for utype Attribute.
-
Field Details
-
_id
inserted database key -
intf_index
@VoDml(id="RegTAP:InterfaceParam.intf_index", role=attribute, type="ivoa:nonnegativeInteger", typeRole=primitiveType) protected Integer intf_indexThe index of the interface this parameter belongs to. : Attribute intf_index : multiplicity 1 -
name
@VoDml(id="RegTAP:InterfaceParam.name", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String nameThe name of the parameter. : Attribute name : multiplicity 1 -
unit
@VoDml(id="RegTAP:InterfaceParam.unit", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String unitThe unit associated with all values in the parameter. : Attribute unit : multiplicity 0..1 -
ucd
@VoDml(id="RegTAP:InterfaceParam.ucd", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String ucdA unified content descriptor that describes the scientific content of the parameter. : Attribute ucd : multiplicity 0..1 -
utype
@VoDml(id="RegTAP:InterfaceParam.utype", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String utypeAn identifier for a role in a data model that the data in this parameter represents. : Attribute utype : multiplicity 0..1 -
std
@VoDml(id="RegTAP:InterfaceParam.std", role=attribute, type="ivoa:integer", typeRole=primitiveType) protected Integer stdIf 1, the meaning and use of this parameter is reserved and defined by a standard model. If 0, it represents a database-specific parameter that effectively extends beyond the standard. : Attribute std : multiplicity 1 -
datatype
@VoDml(id="RegTAP:InterfaceParam.datatype", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String datatypeThe type of the data contained in the parameter. : Attribute datatype : multiplicity 0..1 -
extended_schema
@VoDml(id="RegTAP:InterfaceParam.extended_schema", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String extended_schemaAn identifier for the schema that the value given by the extended attribute is drawn from. : Attribute extended_schema : multiplicity 0..1 -
extended_type
@VoDml(id="RegTAP:InterfaceParam.extended_type", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String extended_typeA custom type for the values this parameter contains. : Attribute extended_type : multiplicity 0..1 -
arraysize
@VoDml(id="RegTAP:InterfaceParam.arraysize", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String arraysizeThe shape of the array that constitutes the value, e.g., 4, *, 4*, 5x4, or 5x*, as specified by VOTable. : Attribute arraysize : multiplicity 0..1 -
delim
@VoDml(id="RegTAP:InterfaceParam.delim", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String delimThe ivoa:string that is used to delimit elements of an array value when arraysize is not '1'. : Attribute delim : multiplicity 0..1 -
param_use
@VoDml(id="RegTAP:InterfaceParam.param_use", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String param_useAn indication of whether this parameter is required to be provided for the application or service to work properly (one of required, optional, ignored, or NULL). : Attribute param_use : multiplicity 0..1 -
param_description
@VoDml(id="RegTAP:InterfaceParam.param_description", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String param_descriptionA free-text description of the parameter's contents. : Attribute param_description : multiplicity 0..1
-
-
Constructor Details
-
InterfaceParam
public InterfaceParam()Creates a new InterfaceParam -
InterfaceParam
public InterfaceParam(Integer intf_index, String name, String unit, String ucd, String utype, Integer std, String datatype, String extended_schema, String extended_type, String arraysize, String delim, String param_use, String param_description) full parameter constructor.- Parameters:
intf_index
- The index of the interface this parameter belongs to.name
- The name of the parameter.unit
- The unit associated with all values in the parameter.ucd
- A unified content descriptor that describes the scientific content of the parameter.utype
- An identifier for a role in a data model that the data in this parameter represents.std
- If 1, the meaning and use of this parameter is reserved and defined by a standard model. If 0, it represents a database-specific parameter that effectively extends beyond the standard.datatype
- The type of the data contained in the parameter.extended_schema
- An identifier for the schema that the value given by the extended attribute is drawn from.extended_type
- A custom type for the values this parameter contains.arraysize
- The shape of the array that constitutes the value, e.g., 4, *, 4*, 5x4, or 5x*, as specified by VOTable.delim
- The ivoa:string that is used to delimit elements of an array value when arraysize is not '1'.param_use
- An indication of whether this parameter is required to be provided for the application or service to work properly (one of required, optional, ignored, or NULL).param_description
- A free-text description of the parameter's contents.
-
InterfaceParam
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other
- the object to be copied.
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
- Returns:
- the id
-
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.
-
getIntf_index
Returns intf_index Attribute.- Returns:
- intf_index Attribute
-
setIntf_index
Set intf_index Attribute.- Parameters:
pIntf_index
- value to set
-
withIntf_index
fluent setter for intf_index Attribute.- Parameters:
pIntf_index
- value to set- Returns:
- InterfaceParam
-
getName
Returns name Attribute.- Returns:
- name Attribute
-
setName
Set name Attribute.- Parameters:
pName
- value to set
-
withName
fluent setter for name Attribute.- Parameters:
pName
- value to set- Returns:
- InterfaceParam
-
getUnit
Returns unit Attribute.- Returns:
- unit Attribute
-
setUnit
Set unit Attribute.- Parameters:
pUnit
- value to set
-
withUnit
fluent setter for unit Attribute.- Parameters:
pUnit
- value to set- Returns:
- InterfaceParam
-
getUcd
Returns ucd Attribute.- Returns:
- ucd Attribute
-
setUcd
Set ucd Attribute.- Parameters:
pUcd
- value to set
-
withUcd
fluent setter for ucd Attribute.- Parameters:
pUcd
- value to set- Returns:
- InterfaceParam
-
getUtype
Returns utype Attribute.- Returns:
- utype Attribute
-
setUtype
Set utype Attribute.- Parameters:
pUtype
- value to set
-
withUtype
fluent setter for utype Attribute.- Parameters:
pUtype
- value to set- Returns:
- InterfaceParam
-
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:
- InterfaceParam
-
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:
- InterfaceParam
-
getExtended_schema
Returns extended_schema Attribute.- Returns:
- extended_schema Attribute
-
setExtended_schema
Set extended_schema Attribute.- Parameters:
pExtended_schema
- value to set
-
withExtended_schema
fluent setter for extended_schema Attribute.- Parameters:
pExtended_schema
- value to set- Returns:
- InterfaceParam
-
getExtended_type
Returns extended_type Attribute.- Returns:
- extended_type Attribute
-
setExtended_type
Set extended_type Attribute.- Parameters:
pExtended_type
- value to set
-
withExtended_type
fluent setter for extended_type Attribute.- Parameters:
pExtended_type
- value to set- Returns:
- InterfaceParam
-
getArraysize
Returns arraysize Attribute.- Returns:
- arraysize Attribute
-
setArraysize
Set arraysize Attribute.- Parameters:
pArraysize
- value to set
-
withArraysize
fluent setter for arraysize Attribute.- Parameters:
pArraysize
- value to set- Returns:
- InterfaceParam
-
getDelim
Returns delim Attribute.- Returns:
- delim Attribute
-
setDelim
Set delim Attribute.- Parameters:
pDelim
- value to set
-
withDelim
fluent setter for delim Attribute.- Parameters:
pDelim
- value to set- Returns:
- InterfaceParam
-
getParam_use
Returns param_use Attribute.- Returns:
- param_use Attribute
-
setParam_use
Set param_use Attribute.- Parameters:
pParam_use
- value to set
-
withParam_use
fluent setter for param_use Attribute.- Parameters:
pParam_use
- value to set- Returns:
- InterfaceParam
-
getParam_description
Returns param_description Attribute.- Returns:
- param_description Attribute
-
setParam_description
Set param_description Attribute.- Parameters:
pParam_description
- value to set
-
withParam_description
fluent setter for param_description Attribute.- Parameters:
pParam_description
- value to set- Returns:
- InterfaceParam
-
createInterfaceParam
create a InterfaceParam in functional builder style.- Parameters:
f
- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()- Specified by:
forceLoad
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
-
delete
public void delete(jakarta.persistence.EntityManager em) - Specified by:
delete
in interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
-