Package org.ivoa.dm.proposal.prop
Class TimingConstraint
java.lang.Object
org.ivoa.dm.proposal.prop.ObservingConstraint
org.ivoa.dm.proposal.prop.TimingConstraint
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
- Direct Known Subclasses:
SimultaneityConstraint,TimingWindow
@Entity
@VoDml(id="proposal:TimingConstraint",
role=objectType)
public abstract class TimingConstraint
extends ObservingConstraint
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
Any specific timing requirements for the observing.
objectType: TimingConstraint
-
Field Summary
FieldsFields inherited from class org.ivoa.dm.proposal.prop.ObservingConstraint
_id -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new TimingConstraintTimingConstraint(String note, Boolean isAvoidConstraint) full parameter constructor.TimingConstraint(TimingConstraint other) Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract ObservingConstraintcopyMe()make a clone of the object taking into account current polymorhic type.voidReturns isAvoidConstraint Attribute.getNote()Returns note Attribute.voidsetIsAvoidConstraint(Boolean pIsAvoidConstraint) Set isAvoidConstraint Attribute.voidSet note Attribute.voidupdateUsing(TimingConstraint other) Update this object with the content of the given object.withIsAvoidConstraint(Boolean pIsAvoidConstraint) fluent setter for isAvoidConstraint Attribute.fluent setter for note Attribute.Methods inherited from class org.ivoa.dm.proposal.prop.ObservingConstraint
getId, updateUsingMethods 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, getId
-
Field Details
-
note
@VoDml(id="proposal:TimingConstraint.note", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String note. : Attribute note : multiplicity 0..1 -
isAvoidConstraint
@VoDml(id="proposal:TimingConstraint.isAvoidConstraint", role=attribute, type="ivoa:boolean", typeRole=primitiveType) protected Boolean isAvoidConstraint. : Attribute isAvoidConstraint : multiplicity 0..1
-
-
Constructor Details
-
TimingConstraint
public TimingConstraint()Creates a new TimingConstraint -
TimingConstraint
full parameter constructor.- Parameters:
note- .isAvoidConstraint- .
-
TimingConstraint
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
-
Method Details
-
copyMe
make a clone of the object taking into account current polymorhic type.- Specified by:
copyMein 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.
-
getNote
Returns note Attribute.- Returns:
- note Attribute
-
setNote
Set note Attribute.- Parameters:
pNote- value to set
-
withNote
fluent setter for note Attribute.- Parameters:
pNote- value to set- Returns:
- TimingConstraint
-
getIsAvoidConstraint
Returns isAvoidConstraint Attribute.- Returns:
- isAvoidConstraint Attribute
-
setIsAvoidConstraint
Set isAvoidConstraint Attribute.- Parameters:
pIsAvoidConstraint- value to set
-
withIsAvoidConstraint
fluent setter for isAvoidConstraint Attribute.- Parameters:
pIsAvoidConstraint- value to set- Returns:
- TimingConstraint
-
forceLoad
public void forceLoad()- Specified by:
forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations- Overrides:
forceLoadin classObservingConstraint
-