Package org.ivoa.dm.caom2
Class UCDTerm
java.lang.Object
org.ivoa.dm.caom2.VocabularyTerm
org.ivoa.dm.caom2.UCDTerm
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="caom2:UCDTerm",
role=dataType)
public class UCDTerm
extends VocabularyTerm
implements org.ivoa.vodml.jpa.JPAManipulations
term from the UCD1+ vocabulary (NEW from enumeration in CAOM-2.5).
dataType: UCDTerm
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for UCDTerm, 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 UCDTermcreate a UCDTerm in functional builder style.voidvoidupdateUsing(UCDTerm 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
-
UCDTerm
public UCDTerm()Creates a new UCDTerm -
UCDTerm
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.
-
UCDTerm
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
UCDTerm
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.
-
createUCDTerm
create a UCDTerm 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
-