Package org.ivoa.dm.caom2
Class Quality
java.lang.Object
org.ivoa.dm.caom2.VocabularyTerm
org.ivoa.dm.caom2.Quality
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="caom2:Quality",
role=dataType)
public class Quality
extends VocabularyTerm
implements org.ivoa.vodml.jpa.JPAManipulations
vocabulary term used in CAOM; this class defines constants for the CAOM
Quality vocabulary (CHANGED from enumeration in CAOM-2.4).
dataType: Quality
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for Quality, mainly for use in the functional builder pattern. -
Field Summary
Fields inherited from class org.ivoa.dm.caom2.VocabularyTerm
namespace, term -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static Qualitycreate a Quality in functional builder style.voidvoidupdateUsing(Quality 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
-
Quality
public Quality()Creates a new Quality -
Quality
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.
-
Quality
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
Quality
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.
-
createQuality
create a Quality 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
-