Package org.ivoa.dm.proposal.prop
Class PointingConstaint
java.lang.Object
org.ivoa.dm.proposal.prop.ObservingConstraint
org.ivoa.dm.proposal.prop.PointingConstaint
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="proposal:PointingConstaint",
role=objectType)
public abstract class PointingConstaint
extends ObservingConstraint
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A constraint that limits the telescope pointing.
objectType: PointingConstaint
-
Field Summary
Fields inherited from class org.ivoa.dm.proposal.prop.ObservingConstraint
_id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ObservingConstraint
copyMe()
make a clone of the object taking into account current polymorhic type.void
void
persistRefs
(jakarta.persistence.EntityManager _em) Deprecated.generally better to use the model level reference persistence as only this can deal with "contained" references properly.void
updateUsing
(PointingConstaint other) Update this object with the content of the given object.Methods inherited from class org.ivoa.dm.proposal.prop.ObservingConstraint
getId, updateUsing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType
getId
-
Constructor Details
-
PointingConstaint
public PointingConstaint()Creates a new PointingConstaint
-
-
Method Details
-
copyMe
make a clone of the object taking into account current polymorhic type.- Specified by:
copyMe
in classObservingConstraint
- 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.
-
forceLoad
public void forceLoad()- Specified by:
forceLoad
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
- Overrides:
forceLoad
in classObservingConstraint
-
persistRefs
Deprecated.generally better to use the model level reference persistence as only this can deal with "contained" references properly.- Specified by:
persistRefs
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
- Overrides:
persistRefs
in classObservingConstraint
-