Package org.ivoa.dm.registry.sia
Class SkyPos
java.lang.Object
org.ivoa.dm.registry.sia.SkyPos
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="SIA:SkyPos",
       role=objectType)
public class SkyPos
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
.
 objectType:  SkyPos
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for SkyPos, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic SkyPoscreate a SkyPos in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidgetId()getLat()Returns lat Attribute.getLong()Returns long Attribute.voidSet lat Attribute.voidSet long Attribute.voidupdateUsing(SkyPos other) Update this object with the content of the given object.fluent setter for lat Attribute.fluent setter for long Attribute. 
- 
Field Details
- 
_id
inserted database key - 
long_
@VoDml(id="SIA:SkyPos.long", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double long_The sky position in the longitude (R.A.) direction . : Attribute long_ : multiplicity 1 - 
lat
@VoDml(id="SIA:SkyPos.lat", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double latThe sky position in the latitude (Dec.) direction . : Attribute lat : multiplicity 1 
 - 
 - 
Constructor Details
- 
SkyPos
public SkyPos()Creates a new SkyPos - 
SkyPos
full parameter constructor.- Parameters:
 long_- The sky position in the longitude (R.A.) direction .lat- The sky position in the latitude (Dec.) direction .
 - 
SkyPos
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:
 - SkyPos
 
 - 
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:
 - SkyPos
 
 - 
createSkyPos
create a SkyPos 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>
 
 -