Package com.yetanalytics.xapi.model
Class Group
- java.lang.Object
-
- com.yetanalytics.xapi.model.AbstractObject
-
- com.yetanalytics.xapi.model.AbstractActor
-
- com.yetanalytics.xapi.model.Group
-
- All Implemented Interfaces:
JSONObject,Serializable
public class Group extends AbstractActor
Class representation of the Group Component of the 9274.1.1 xAPI Specification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Agent>getMember()@jakarta.validation.constraints.AssertTrue(message="Anonymous Group must have member property") booleanisAnonymousOrIdentifiedGroup()@jakarta.validation.constraints.AssertFalse(message="Group must not be empty") booleanisEmpty()booleanisValidAuthority()voidsetMember(List<Agent> member)-
Methods inherited from class com.yetanalytics.xapi.model.AbstractActor
countIFIs, getAccount, getMbox, getMbox_sha1sum, getName, getOpenid, setAccount, setMbox, setMbox_sha1sum, setName, setOpenid
-
Methods inherited from class com.yetanalytics.xapi.model.AbstractObject
getObjectType, setObjectType
-
-
-
-
Method Detail
-
isAnonymousOrIdentifiedGroup
@AssertTrue(message="Anonymous Group must have member property") public @jakarta.validation.constraints.AssertTrue(message="Anonymous Group must have member property") boolean isAnonymousOrIdentifiedGroup()
-
isValidAuthority
public boolean isValidAuthority()
- Specified by:
isValidAuthorityin classAbstractActor
-
isEmpty
@AssertFalse(message="Group must not be empty") public @jakarta.validation.constraints.AssertFalse(message="Group must not be empty") boolean isEmpty()
- Specified by:
isEmptyin interfaceJSONObject- Overrides:
isEmptyin classAbstractActor
-
-