Package org.ivoa.dm.registry.sia
Class Query
java.lang.Object
org.ivoa.dm.registry.sia.Query
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="SIA:Query",
       role=objectType)
public class Query
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A query to be sent to the service .
 objectType:  Query
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for Query, mainly for use in the functional builder pattern. - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longinserted database keyprotected Stringany extra (particularly non-standard) parameters that must be provided (apart from what is part of base URL given by the accessURL element).protected SkyPosthe center position of the rectangular region that should be used as part of the query to the SIA service.protected SkySizethe rectangular size of the region that should be used as part of the query to the SIA service.protected Integerthe verbosity level to use where 0 means the bare minimum set of columns and 3 means the full set of available columns. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Querycreate a Query in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidReturns extras Attribute.getId()getPos()Returns pos Attribute.getSize()Returns size Attribute.getVerb()Returns verb Attribute.voidSet extras Attribute.voidSet pos Attribute.voidSet size Attribute.voidSet verb Attribute.voidupdateUsing(Query other) Update this object with the content of the given object.withExtras(String pExtras) fluent setter for extras Attribute.fluent setter for pos Attribute.fluent setter for size Attribute.fluent setter for verb Attribute. 
- 
Field Details
- 
_id
inserted database key - 
pos
@VoDml(id="SIA:Query.pos", role=composition, type="SIA:SkyPos", typeRole=objectType) protected SkyPos posthe center position of the rectangular region that should be used as part of the query to the SIA service. composition pos : ( Multiplicity : 0..1 ) - 
size
@VoDml(id="SIA:Query.size", role=composition, type="SIA:SkySize", typeRole=objectType) protected SkySize sizethe rectangular size of the region that should be used as part of the query to the SIA service. composition size : ( Multiplicity : 0..1 ) - 
verb
@VoDml(id="SIA:Query.verb", role=attribute, type="ivoa:integer", typeRole=primitiveType) protected Integer verbthe verbosity level to use where 0 means the bare minimum set of columns and 3 means the full set of available columns. : Attribute verb : multiplicity 0..1 - 
extras
@VoDml(id="SIA:Query.extras", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String extrasany extra (particularly non-standard) parameters that must be provided (apart from what is part of base URL given by the accessURL element). this value should be in the form of name=value pairs delimited with ampersands. : Attribute extras : multiplicity 0..1 
 - 
 - 
Constructor Details
- 
Query
public Query()Creates a new Query - 
Query
full parameter constructor.- Parameters:
 pos- the center position of the rectangular region that should be used as part of the query to the SIA service.size- the rectangular size of the region that should be used as part of the query to the SIA service.verb- the verbosity level to use where 0 means the bare minimum set of columns and 3 means the full set of available columns.extras- any extra (particularly non-standard) parameters that must be provided (apart from what is part of base URL given by the accessURL element). this value should be in the form of name=value pairs delimited with ampersands.
 - 
Query
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:
 getIdin 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.
 - 
getPos
Returns pos Attribute.- Returns:
 - pos Attribute
 
 - 
setPos
Set pos Attribute.- Parameters:
 pPos- value to set
 - 
withPos
fluent setter for pos Attribute.- Parameters:
 pPos- value to set- Returns:
 - Query
 
 - 
getSize
Returns size Attribute.- Returns:
 - size Attribute
 
 - 
setSize
Set size Attribute.- Parameters:
 pSize- value to set
 - 
withSize
fluent setter for size Attribute.- Parameters:
 pSize- value to set- Returns:
 - Query
 
 - 
getVerb
Returns verb Attribute.- Returns:
 - verb Attribute
 
 - 
setVerb
Set verb Attribute.- Parameters:
 pVerb- value to set
 - 
withVerb
fluent setter for verb Attribute.- Parameters:
 pVerb- value to set- Returns:
 - Query
 
 - 
getExtras
Returns extras Attribute.- Returns:
 - extras Attribute
 
 - 
setExtras
Set extras Attribute.- Parameters:
 pExtras- value to set
 - 
withExtras
fluent setter for extras Attribute.- Parameters:
 pExtras- value to set- Returns:
 - Query
 
 - 
createQuery
create a Query 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
 - 
delete
public void delete(jakarta.persistence.EntityManager em) - Specified by:
 deletein interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
 
 -