Package com.yetanalytics.xapi.model
Class Verb
- java.lang.Object
-
- com.yetanalytics.xapi.model.Verb
-
- All Implemented Interfaces:
JSONObject,Serializable
public class Verb extends Object implements JSONObject
Class representation of the Verb component of the 9274.1.1 xAPI Specification.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringVOIDING_VERB_IRI
-
Constructor Summary
Constructors Constructor Description Verb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LangMapgetDisplay()URIgetId()@jakarta.validation.constraints.AssertFalse(message="Verb must not be empty") booleanisEmpty()booleanisVoiding()voidsetDisplay(LangMap display)voidsetId(URI id)
-
-
-
Field Detail
-
VOIDING_VERB_IRI
public static final String VOIDING_VERB_IRI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public URI getId()
-
setId
public void setId(URI id)
-
getDisplay
public LangMap getDisplay()
-
setDisplay
public void setDisplay(LangMap display)
-
isVoiding
public boolean isVoiding()
-
isEmpty
@AssertFalse(message="Verb must not be empty") public @jakarta.validation.constraints.AssertFalse(message="Verb must not be empty") boolean isEmpty()
- Specified by:
isEmptyin interfaceJSONObject
-
-