Package de.trustable.ca3s.core.domain
Class ProtectedContent
- java.lang.Object
-
- de.trustable.ca3s.core.domain.ProtectedContent
-
- All Implemented Interfaces:
Serializable
@Entity public class ProtectedContent extends Object implements Serializable
A ProtectedContent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtectedContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectedContentcontentBase64(String contentBase64)booleanequals(Object o)StringgetContentBase64()InstantgetDeleteAfter()LonggetId()IntegergetLeftUsages()LonggetRelatedId()ContentRelationTypegetRelationType()ProtectedContentTypegetType()InstantgetValidTo()inthashCode()ProtectedContentleftUsages(Integer leftUsages)ProtectedContentrelatedId(Long relatedId)ProtectedContentrelationType(ContentRelationType relationType)voidsetContentBase64(String contentBase64)voidsetDeleteAfter(Instant deleteAfter)voidsetId(Long id)voidsetLeftUsages(Integer leftUsages)voidsetRelatedId(Long relatedId)voidsetRelationType(ContentRelationType relationType)voidsetType(ProtectedContentType type)voidsetValidTo(Instant validTo)StringtoString()ProtectedContenttype(ProtectedContentType type)ProtectedContentvalidTo(Instant validTo)
-
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getContentBase64
public String getContentBase64()
-
contentBase64
public ProtectedContent contentBase64(String contentBase64)
-
setContentBase64
public void setContentBase64(String contentBase64)
-
getType
public ProtectedContentType getType()
-
type
public ProtectedContent type(ProtectedContentType type)
-
setType
public void setType(ProtectedContentType type)
-
getLeftUsages
public Integer getLeftUsages()
-
leftUsages
public ProtectedContent leftUsages(Integer leftUsages)
-
setLeftUsages
public void setLeftUsages(Integer leftUsages)
-
getValidTo
public Instant getValidTo()
-
validTo
public ProtectedContent validTo(Instant validTo)
-
setValidTo
public void setValidTo(Instant validTo)
-
getDeleteAfter
public Instant getDeleteAfter()
-
setDeleteAfter
public void setDeleteAfter(Instant deleteAfter)
-
getRelationType
public ContentRelationType getRelationType()
-
relationType
public ProtectedContent relationType(ContentRelationType relationType)
-
setRelationType
public void setRelationType(ContentRelationType relationType)
-
getRelatedId
public Long getRelatedId()
-
relatedId
public ProtectedContent relatedId(Long relatedId)
-
setRelatedId
public void setRelatedId(Long relatedId)
-
-