Package com.yetanalytics.xapi.model
Class Account
- java.lang.Object
-
- com.yetanalytics.xapi.model.Account
-
- All Implemented Interfaces:
JSONObject,Serializable
public class Account extends Object implements JSONObject
Class representation of the Account Component of the 9274.1.1 xAPI Specification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Account()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetHomePage()StringgetName()@jakarta.validation.constraints.AssertFalse(message="Account must not be empty") booleanisEmpty()voidsetHomePage(URI homePage)voidsetName(String name)
-
-
-
Method Detail
-
getHomePage
public URI getHomePage()
-
setHomePage
public void setHomePage(URI homePage)
-
getName
public String getName()
-
setName
public void setName(String name)
-
isEmpty
@AssertFalse(message="Account must not be empty") public @jakarta.validation.constraints.AssertFalse(message="Account must not be empty") boolean isEmpty()
- Specified by:
isEmptyin interfaceJSONObject
-
-