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