Package org.ivoa.dm.registry.tap
Class TableAccess
java.lang.Object
org.ivoa.dm.registry.voresource.Capability
org.ivoa.dm.registry.tap.TAPCapRestriction
org.ivoa.dm.registry.tap.TableAccess
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="TAPRegExt:TableAccess",
       role=objectType)
public class TableAccess
extends TAPCapRestriction
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
The capabilities of a TAP server.
                      
                     The capabilities attempt to define most issues that the
                     TAP standard leaves to the implementors ('may', 'should'). 
 objectType:  TableAccess
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for TableAccess, mainly for use in the functional builder pattern.Nested classes/interfaces inherited from class org.ivoa.dm.registry.voresource.Capability
Capability.CapabilityBuilder - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DataModelType>Identifier of IVOA-approved data model supported by the service.protected TimeLimitsLimits on executionDuration.Language supported by the service.protected List<OutputFormat>Output format supported by the service.protected DataLimitsLimits on the size of data returned.protected TimeLimitsLimits on the time between job creation and destruction time.protected DataLimitsLimits on the size of uploaded data.protected List<UploadMethod>Upload method supported by the service.Fields inherited from class org.ivoa.dm.registry.voresource.Capability
_id, description, interface_, standardID, validationLevel - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new TableAccessTableAccess(List<DataModelType> dataModel, List<Language> language, List<OutputFormat> outputFormat, List<UploadMethod> uploadMethod, TimeLimits retentionPeriod, TimeLimits executionDuration, DataLimits outputLimit, DataLimits uploadLimit, List<Validation> validationLevel, String description, List<Interface> interface_, String standardID) full parameter constructor.TableAccess(TableAccess other) Copy Constructor.TableAccess(TAPCapRestriction superinstance, List<DataModelType> dataModel, List<Language> language, List<OutputFormat> outputFormat, List<UploadMethod> uploadMethod, TimeLimits retentionPeriod, TimeLimits executionDuration, DataLimits outputLimit, DataLimits uploadLimit) Constructor from supertype instance. - 
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a org.ivoa.dm.registry.tap.Language to the composition.voidAdd a org.ivoa.dm.registry.tap.OutputFormat to the composition.voidAdd a org.ivoa.dm.registry.tap.UploadMethod to the composition.copyMe()make a clone of the object taking into account current polymorhic type.static TableAccesscreate a TableAccess in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidReturns dataModel Attribute.Returns executionDuration Attribute.Returns language composition as an immutable list.Returns outputFormat composition as an immutable list.Returns outputLimit Attribute.Returns retentionPeriod Attribute.Returns uploadLimit Attribute.Returns uploadMethod composition as an immutable list.voidRemove a org.ivoa.dm.registry.tap.Language from the composition.voidRemove a org.ivoa.dm.registry.tap.OutputFormat from the composition.voidRemove a org.ivoa.dm.registry.tap.UploadMethod from the composition.voidupdate a org.ivoa.dm.registry.tap.Language in the composition.voidupdate a org.ivoa.dm.registry.tap.OutputFormat in the composition.voidupdate a org.ivoa.dm.registry.tap.UploadMethod in the composition.voidsetDataModel(List<DataModelType> pDataModel) Set dataModel Attribute.voidsetExecutionDuration(TimeLimits pExecutionDuration) Set executionDuration Attribute.voidsetLanguage(List<Language> pLanguage) Defines whole language composition.voidsetOutputFormat(List<OutputFormat> pOutputFormat) Defines whole outputFormat composition.voidsetOutputLimit(DataLimits pOutputLimit) Set outputLimit Attribute.voidsetRetentionPeriod(TimeLimits pRetentionPeriod) Set retentionPeriod Attribute.voidsetUploadLimit(DataLimits pUploadLimit) Set uploadLimit Attribute.voidsetUploadMethod(List<UploadMethod> pUploadMethod) Defines whole uploadMethod composition.voidupdateUsing(TableAccess other) Update this object with the content of the given object.withDataModel(List<DataModelType> pDataModel) fluent setter for dataModel Attribute.withExecutionDuration(TimeLimits pExecutionDuration) fluent setter for executionDuration Attribute.withOutputLimit(DataLimits pOutputLimit) fluent setter for outputLimit Attribute.withRetentionPeriod(TimeLimits pRetentionPeriod) fluent setter for retentionPeriod Attribute.withUploadLimit(DataLimits pUploadLimit) fluent setter for uploadLimit Attribute.Methods inherited from class org.ivoa.dm.registry.tap.TAPCapRestriction
updateUsingMethods inherited from class org.ivoa.dm.registry.voresource.Capability
addToInterface, createCapability, getDescription, getId, getInterface, getStandardID, getValidationLevel, removeFromInterface, replaceInInterface, setDescription, setInterface, setStandardID, setValidationLevel, updateUsing, withDescription, withStandardID, withValidationLevelMethods 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
- 
dataModel
@VoDml(id="TAPRegExt:TableAccess.dataModel", role=attribute, type="TAPRegExt:DataModelType", typeRole=dataType) protected List<DataModelType> dataModelIdentifier of IVOA-approved data model supported by the service. : Attribute dataModel : multiplicity 0..* - 
language
@VoDml(id="TAPRegExt:TableAccess.language", role=composition, type="TAPRegExt:Language", typeRole=objectType) protected List<Language> languageLanguage supported by the service. composition language : ( Multiplicity : 1..* ) - 
outputFormat
@VoDml(id="TAPRegExt:TableAccess.outputFormat", role=composition, type="TAPRegExt:OutputFormat", typeRole=objectType) protected List<OutputFormat> outputFormatOutput format supported by the service. composition outputFormat : ( Multiplicity : 1..* ) - 
uploadMethod
@VoDml(id="TAPRegExt:TableAccess.uploadMethod", role=composition, type="TAPRegExt:UploadMethod", typeRole=objectType) protected List<UploadMethod> uploadMethodUpload method supported by the service. The absence of upload methods indicates that the service does not support uploads at all. composition uploadMethod : ( Multiplicity : 0..* ) - 
retentionPeriod
@VoDml(id="TAPRegExt:TableAccess.retentionPeriod", role=composition, type="TAPRegExt:TimeLimits", typeRole=objectType) protected TimeLimits retentionPeriodLimits on the time between job creation and destruction time. composition retentionPeriod : ( Multiplicity : 0..1 ) - 
executionDuration
@VoDml(id="TAPRegExt:TableAccess.executionDuration", role=composition, type="TAPRegExt:TimeLimits", typeRole=objectType) protected TimeLimits executionDurationLimits on executionDuration. composition executionDuration : ( Multiplicity : 0..1 ) - 
outputLimit
@VoDml(id="TAPRegExt:TableAccess.outputLimit", role=composition, type="TAPRegExt:DataLimits", typeRole=objectType) protected DataLimits outputLimitLimits on the size of data returned. composition outputLimit : ( Multiplicity : 0..1 ) - 
uploadLimit
@VoDml(id="TAPRegExt:TableAccess.uploadLimit", role=composition, type="TAPRegExt:DataLimits", typeRole=objectType) protected DataLimits uploadLimitLimits on the size of uploaded data. composition uploadLimit : ( Multiplicity : 0..1 ) 
 - 
 - 
Constructor Details
- 
TableAccess
public TableAccess()Creates a new TableAccess - 
TableAccess
public TableAccess(List<DataModelType> dataModel, List<Language> language, List<OutputFormat> outputFormat, List<UploadMethod> uploadMethod, TimeLimits retentionPeriod, TimeLimits executionDuration, DataLimits outputLimit, DataLimits uploadLimit, List<Validation> validationLevel, String description, List<Interface> interface_, String standardID) full parameter constructor.- Parameters:
 dataModel- Identifier of IVOA-approved data model supported by the service.language- Language supported by the service.outputFormat- Output format supported by the service.uploadMethod- Upload method supported by the service. The absence of upload methods indicates that the service does not support uploads at all.retentionPeriod- Limits on the time between job creation and destruction time.executionDuration- Limits on executionDuration.outputLimit- Limits on the size of data returned.uploadLimit- Limits on the size of uploaded data.validationLevel- A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study. See VOResource:ValidationLevel for an explanation of the allowed levels.description- A human-readable description of what this capability provides as part of the over-all service Use of this optional element is especially encouraged when this capability is non-standard and is one of several capabilities listed.interface_- a description of how to call the service to access this capability Since the Interface type is abstract, one must describe the interface using a subclass of Interface, denoting it via xsi:type. Multiple occurences can describe different interfaces to the logically same capability, i.e. data or functionality. That is, the inputs accepted and the output provides should be logically the same. For example, a WebBrowser interface given in addition to a WebService interface would simply provide an interactive, human-targeted interface to the underlying WebService interface.standardID- A URI identifier for a standard service. This provides a unique way to refer to a service specification standard, such as a Simple Image Access service. The use of an IVOA identifier here implies that a VOResource description of the standard is registered and accessible.
 - 
TableAccess
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 - 
TableAccess
public TableAccess(TAPCapRestriction superinstance, List<DataModelType> dataModel, List<Language> language, List<OutputFormat> outputFormat, List<UploadMethod> uploadMethod, TimeLimits retentionPeriod, TimeLimits executionDuration, DataLimits outputLimit, DataLimits uploadLimit) Constructor from supertype instance.- Parameters:
 superinstance- The supertype.dataModel- Identifier of IVOA-approved data model supported by the service.language- Language supported by the service.outputFormat- Output format supported by the service.uploadMethod- Upload method supported by the service. The absence of upload methods indicates that the service does not support uploads at all.retentionPeriod- Limits on the time between job creation and destruction time.executionDuration- Limits on executionDuration.outputLimit- Limits on the size of data returned.uploadLimit- Limits on the size of uploaded data.
 
 - 
 - 
Method Details
- 
copyMe
make a clone of the object taking into account current polymorhic type.- Specified by:
 copyMein classTAPCapRestriction- Returns:
 - the cloned object.
 
 - 
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.
 - 
getDataModel
Returns dataModel Attribute.- Returns:
 - dataModel Attribute
 
 - 
setDataModel
Set dataModel Attribute.- Parameters:
 pDataModel- value to set
 - 
withDataModel
fluent setter for dataModel Attribute.- Parameters:
 pDataModel- value to set- Returns:
 - TableAccess
 
 - 
getLanguage
Returns language composition as an immutable list.- Returns:
 - language composition.
 
 - 
setLanguage
Defines whole language composition.- Parameters:
 pLanguage- composition to set.
 - 
addToLanguage
Add a org.ivoa.dm.registry.tap.Language to the composition.- Parameters:
 p- org.ivoa.dm.registry.tap.Language to add
 - 
removeFromLanguage
Remove a org.ivoa.dm.registry.tap.Language from the composition.- Parameters:
 p- org.ivoa.dm.registry.tap.Language to remove
 - 
replaceInLanguage
update a org.ivoa.dm.registry.tap.Language in the composition.- Parameters:
 _p- org.ivoa.dm.registry.tap.Language to update the match is done via the database key
 - 
getOutputFormat
Returns outputFormat composition as an immutable list.- Returns:
 - outputFormat composition.
 
 - 
setOutputFormat
Defines whole outputFormat composition.- Parameters:
 pOutputFormat- composition to set.
 - 
addToOutputFormat
Add a org.ivoa.dm.registry.tap.OutputFormat to the composition.- Parameters:
 p- org.ivoa.dm.registry.tap.OutputFormat to add
 - 
removeFromOutputFormat
Remove a org.ivoa.dm.registry.tap.OutputFormat from the composition.- Parameters:
 p- org.ivoa.dm.registry.tap.OutputFormat to remove
 - 
replaceInOutputFormat
update a org.ivoa.dm.registry.tap.OutputFormat in the composition.- Parameters:
 _p- org.ivoa.dm.registry.tap.OutputFormat to update the match is done via the database key
 - 
getUploadMethod
Returns uploadMethod composition as an immutable list.- Returns:
 - uploadMethod composition.
 
 - 
setUploadMethod
Defines whole uploadMethod composition.- Parameters:
 pUploadMethod- composition to set.
 - 
addToUploadMethod
Add a org.ivoa.dm.registry.tap.UploadMethod to the composition.- Parameters:
 p- org.ivoa.dm.registry.tap.UploadMethod to add
 - 
removeFromUploadMethod
Remove a org.ivoa.dm.registry.tap.UploadMethod from the composition.- Parameters:
 p- org.ivoa.dm.registry.tap.UploadMethod to remove
 - 
replaceInUploadMethod
update a org.ivoa.dm.registry.tap.UploadMethod in the composition.- Parameters:
 _p- org.ivoa.dm.registry.tap.UploadMethod to update the match is done via the database key
 - 
getRetentionPeriod
Returns retentionPeriod Attribute.- Returns:
 - retentionPeriod Attribute
 
 - 
setRetentionPeriod
Set retentionPeriod Attribute.- Parameters:
 pRetentionPeriod- value to set
 - 
withRetentionPeriod
fluent setter for retentionPeriod Attribute.- Parameters:
 pRetentionPeriod- value to set- Returns:
 - TableAccess
 
 - 
getExecutionDuration
Returns executionDuration Attribute.- Returns:
 - executionDuration Attribute
 
 - 
setExecutionDuration
Set executionDuration Attribute.- Parameters:
 pExecutionDuration- value to set
 - 
withExecutionDuration
fluent setter for executionDuration Attribute.- Parameters:
 pExecutionDuration- value to set- Returns:
 - TableAccess
 
 - 
getOutputLimit
Returns outputLimit Attribute.- Returns:
 - outputLimit Attribute
 
 - 
setOutputLimit
Set outputLimit Attribute.- Parameters:
 pOutputLimit- value to set
 - 
withOutputLimit
fluent setter for outputLimit Attribute.- Parameters:
 pOutputLimit- value to set- Returns:
 - TableAccess
 
 - 
getUploadLimit
Returns uploadLimit Attribute.- Returns:
 - uploadLimit Attribute
 
 - 
setUploadLimit
Set uploadLimit Attribute.- Parameters:
 pUploadLimit- value to set
 - 
withUploadLimit
fluent setter for uploadLimit Attribute.- Parameters:
 pUploadLimit- value to set- Returns:
 - TableAccess
 
 - 
createTableAccess
create a TableAccess in functional builder style.- Parameters:
 f- the functional builder.- Returns:
 - an object initialized from the builder.
 
 - 
forceLoad
public void forceLoad()- Specified by:
 forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations- Overrides:
 forceLoadin classTAPCapRestriction
 - 
delete
public void delete(jakarta.persistence.EntityManager em) - Specified by:
 deletein interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>- Overrides:
 deletein classCapability
 
 -