Package org.ivoa.dm.proposal.prop
Class ObservingConstraint
java.lang.Object
org.ivoa.dm.proposal.prop.ObservingConstraint
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
- Direct Known Subclasses:
PointingConstaint,TimingConstraint
@Entity
@VoDml(id="proposal:ObservingConstraint",
role=objectType)
public abstract class ObservingConstraint
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
a form of constraint on the observation.
objectType: ObservingConstraint
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ObservingConstraintCopy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract ObservingConstraintcopyMe()make a clone of the object taking into account current polymorhic type.voidgetId()voidupdateUsing(ObservingConstraint other) Update this object with the content of the given object.Methods 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
delete
-
Field Details
-
_id
inserted database key
-
-
Constructor Details
-
ObservingConstraint
public ObservingConstraint()Creates a new ObservingConstraint -
ObservingConstraint
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
-
copyMe
make a clone of the object taking into account current polymorhic type.- 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:
forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
-