public class Content extends Entity implements Serializable, Cloneable, JsonSerializable
| Modifier and Type | Class and Description |
|---|---|
class |
Content.ContentCollection |
static class |
Content.ContentFolder |
| Modifier and Type | Field and Description |
|---|---|
String |
author |
String |
container |
String |
description |
String |
entityTitle |
Date |
modifiedDate |
Integer |
size
Size in Bytes
|
String |
title |
String |
type |
URL |
url |
entityReference, entityURL| Constructor and Description |
|---|
Content(String entityReference,
URL entityURL,
String author,
String container,
String description,
Date modifiedDate,
Integer size,
String title,
String type,
URL url,
String entityTitle) |
| Modifier and Type | Method and Description |
|---|---|
Content |
clone() |
boolean |
equals(Object object) |
String |
getSizeAsString() |
int |
hashCode() |
com.google.gson.JsonObject |
toJsonObject()
Creates the JsonObject of the Entity
|
@NotNull public final String author
@Nullable public final String description
@NotNull public final Date modifiedDate
@NotNull public final Integer size
@NotNull public final String title
@NotNull public final String type
@NotNull public final URL url
@NotNull public final String entityTitle
@NotNull public String container
public Content(@NotNull
String entityReference,
@NotNull
URL entityURL,
@NotNull
String author,
@NotNull
String container,
@Nullable
String description,
@NotNull
Date modifiedDate,
@NotNull
Integer size,
@NotNull
String title,
@NotNull
String type,
@NotNull
URL url,
@NotNull
String entityTitle)
@NotNull public String getSizeAsString()
@NotNull public Content clone() throws CloneNotSupportedException
clone in class EntityCloneNotSupportedException@NotNull public com.google.gson.JsonObject toJsonObject()
EntitytoJsonObject in interface JsonSerializabletoJsonObject in class EntityCopyright © 2016. All rights reserved.