Package com.yetanalytics.xapi.model
Class AbstractActor
- java.lang.Object
-
- com.yetanalytics.xapi.model.AbstractObject
-
- com.yetanalytics.xapi.model.AbstractActor
-
- All Implemented Interfaces:
JSONObject,Serializable
public abstract class AbstractActor extends AbstractObject
Abstract Class for serialization and deserialization of xAPI Actors- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractActor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected intcountIFIs()AccountgetAccount()URIgetMbox()StringgetMbox_sha1sum()StringgetName()URIgetOpenid()booleanisEmpty()abstract booleanisValidAuthority()voidsetAccount(Account account)voidsetMbox(URI mbox)voidsetMbox_sha1sum(String mbox_sha1sum)voidsetName(String name)voidsetOpenid(URI openid)-
Methods inherited from class com.yetanalytics.xapi.model.AbstractObject
getObjectType, setObjectType
-
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getMbox
public URI getMbox()
-
setMbox
public void setMbox(URI mbox)
-
getMbox_sha1sum
public String getMbox_sha1sum()
-
setMbox_sha1sum
public void setMbox_sha1sum(String mbox_sha1sum)
-
getOpenid
public URI getOpenid()
-
setOpenid
public void setOpenid(URI openid)
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
countIFIs
protected int countIFIs()
-
isValidAuthority
public abstract boolean isValidAuthority()
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceJSONObject- Specified by:
isEmptyin classAbstractObject
-
-