Package com.yetanalytics.xapi.model
Class Attachment
- java.lang.Object
-
- com.yetanalytics.xapi.model.Attachment
-
public class Attachment extends Object
Class representation of the Attachment Component of the 9274.1.1 xAPI Specification.
-
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.activation.MimeTypegetContentType()LangMapgetDescription()LangMapgetDisplay()URIgetFileUrl()IntegergetLength()StringgetSha2()URIgetUsageType()voidsetContentType(jakarta.activation.MimeType contentType)voidsetDescription(LangMap description)voidsetDisplay(LangMap display)voidsetFileUrl(URI fileUrl)voidsetLength(Integer length)voidsetSha2(String sha2)voidsetUsageType(URI usageType)
-
-
-
Method Detail
-
getUsageType
public URI getUsageType()
-
setUsageType
public void setUsageType(URI usageType)
-
getDisplay
public LangMap getDisplay()
-
setDisplay
public void setDisplay(LangMap display)
-
getDescription
public LangMap getDescription()
-
setDescription
public void setDescription(LangMap description)
-
getContentType
public jakarta.activation.MimeType getContentType()
-
setContentType
public void setContentType(jakarta.activation.MimeType contentType)
-
getLength
public Integer getLength()
-
setLength
public void setLength(Integer length)
-
getSha2
public String getSha2()
-
setSha2
public void setSha2(String sha2)
-
getFileUrl
public URI getFileUrl()
-
setFileUrl
public void setFileUrl(URI fileUrl)
-
-