Package org.ivoa.dm.registry.ssa
Class PosParam
java.lang.Object
org.ivoa.dm.registry.ssa.PosParam
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="SSA:PosParam",
       role=objectType)
public class PosParam
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
a position in the sky to search.
 objectType:  PosParam
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for PosParam, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic PosParamcreate a PosParam in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidgetId()getLat()Returns lat Attribute.getLong()Returns long Attribute.Returns refframe Attribute.voidSet lat Attribute.voidSet long Attribute.voidsetRefframe(String pRefframe) Set refframe Attribute.voidupdateUsing(PosParam other) Update this object with the content of the given object.fluent setter for lat Attribute.fluent setter for long Attribute.withRefframe(String pRefframe) fluent setter for refframe Attribute. 
- 
Field Details
- 
_id
inserted database key - 
long_
@VoDml(id="SSA:PosParam.long", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double long_The longitude (e.g. Right Ascension) of the center of the search position in decimal degrees. : Attribute long_ : multiplicity 1 - 
lat
@VoDml(id="SSA:PosParam.lat", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double latThe latitude (e.g. Declination) of the center of the search position in decimal degrees. : Attribute lat : multiplicity 1 - 
refframe
@VoDml(id="SSA:PosParam.refframe", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String refframethe coordinate system reference frame name indicating the frame to assume for the given position. If not provided, ICRS is assumed. : Attribute refframe : multiplicity 0..1 
 - 
 - 
Constructor Details
- 
PosParam
public PosParam()Creates a new PosParam - 
PosParam
full parameter constructor.- Parameters:
 long_- The longitude (e.g. Right Ascension) of the center of the search position in decimal degrees.lat- The latitude (e.g. Declination) of the center of the search position in decimal degrees.refframe- the coordinate system reference frame name indicating the frame to assume for the given position. If not provided, ICRS is assumed.
 - 
PosParam
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.
 - 
getLong
Returns long Attribute.- Returns:
 - long Attribute
 
 - 
setLong
Set long Attribute.- Parameters:
 pLong- value to set
 - 
withLong
fluent setter for long Attribute.- Parameters:
 pLong- value to set- Returns:
 - PosParam
 
 - 
getLat
Returns lat Attribute.- Returns:
 - lat Attribute
 
 - 
setLat
Set lat Attribute.- Parameters:
 pLat- value to set
 - 
withLat
fluent setter for lat Attribute.- Parameters:
 pLat- value to set- Returns:
 - PosParam
 
 - 
getRefframe
Returns refframe Attribute.- Returns:
 - refframe Attribute
 
 - 
setRefframe
Set refframe Attribute.- Parameters:
 pRefframe- value to set
 - 
withRefframe
fluent setter for refframe Attribute.- Parameters:
 pRefframe- value to set- Returns:
 - PosParam
 
 - 
createPosParam
create a PosParam 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>
 
 -