Package com.yetanalytics.xapi.model
Class InteractionComponent
- java.lang.Object
-
- com.yetanalytics.xapi.model.InteractionComponent
-
- All Implemented Interfaces:
JSONObject,Serializable
public class InteractionComponent extends Object implements JSONObject
Class representation of the Interaction Component of the 9274.1.1 xAPI Specification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InteractionComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LangMapgetDescription()StringgetId()@jakarta.validation.constraints.AssertFalse(message="InteractionComponent must not be empty") booleanisEmpty()voidsetDescription(LangMap description)voidsetId(String id)
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getDescription
public LangMap getDescription()
-
setDescription
public void setDescription(LangMap description)
-
isEmpty
@AssertFalse(message="InteractionComponent must not be empty") public @jakarta.validation.constraints.AssertFalse(message="InteractionComponent must not be empty") boolean isEmpty()
- Specified by:
isEmptyin interfaceJSONObject
-
-