Package org.ivoa.dm.caom2
Class CalibrationStatus
java.lang.Object
org.ivoa.dm.caom2.VocabularyTerm
org.ivoa.dm.caom2.CalibrationStatus
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="caom2:CalibrationStatus",
role=dataType)
public class CalibrationStatus
extends VocabularyTerm
implements org.ivoa.vodml.jpa.JPAManipulations
This is a proposal for the creation of a IVOA calibration-status vocabulary.
This vocabulary can be created using optional terms in the ObsCore standard to describe
the calibration of each axis in the data separately. (NEW in CAOM-2.5).
dataType: CalibrationStatus
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for CalibrationStatus, mainly for use in the functional builder pattern. -
Field Summary
Fields inherited from class org.ivoa.dm.caom2.VocabularyTerm
namespace, term -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CalibrationStatusCalibrationStatus(String namespace, String term) full parameter constructor.Copy Constructor.CalibrationStatus(VocabularyTerm superinstance) Constructor from supertype instance. -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static CalibrationStatuscreate a CalibrationStatus in functional builder style.voidvoidupdateUsing(CalibrationStatus other) Update this object with the content of the given object.Methods inherited from class org.ivoa.dm.caom2.VocabularyTerm
getNamespace, getTerm, setNamespace, setTerm, updateUsing, withNamespace, withTerm
-
Constructor Details
-
CalibrationStatus
public CalibrationStatus()Creates a new CalibrationStatus -
CalibrationStatus
full parameter constructor.- Parameters:
namespace- This is the globally unique namespace for the vocabulary where definitions can be found.term- the word from the vocabulary.
-
CalibrationStatus
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
CalibrationStatus
Constructor from supertype instance.- Parameters:
superinstance- The supertype.
-
-
Method Details
-
copyMe
make a clone of the object taking into account current polymorhic type.- Specified by:
copyMein classVocabularyTerm- 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.
-
createCalibrationStatus
public static CalibrationStatus createCalibrationStatus(Consumer<CalibrationStatus.CalibrationStatusBuilder> f) create a CalibrationStatus 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- Overrides:
forceLoadin classVocabularyTerm
-