Class Attachment
java.lang.Object
ch.ethz.sis.openbis.generic.asapi.v3.dto.attachment.Attachment
- All Implemented Interfaces:
IDescriptionHolder,IRegistrationDateHolder,IRegistratorHolder,Serializable
@JsonObject("as.dto.attachment.Attachment")
public class Attachment
extends Object
implements Serializable, IDescriptionHolder, IRegistrationDateHolder, IRegistratorHolder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getTitle()voidsetContent(byte[] content) voidsetDescription(String description) voidsetFetchOptions(AttachmentFetchOptions fetchOptions) voidsetFileName(String fileName) voidsetLatestVersionPermlink(String latestVersionPermlink) voidsetPermlink(String permlink) voidsetPreviousVersion(Attachment previousVersion) voidsetRegistrationDate(Date registrationDate) voidsetRegistrator(Person registrator) voidvoidsetVersion(Integer version) toString()
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
getFetchOptions
-
setFetchOptions
-
getFileName
-
setFileName
-
getTitle
-
setTitle
-
getDescription
- Specified by:
getDescriptionin interfaceIDescriptionHolder
-
setDescription
-
getPermlink
-
setPermlink
-
getLatestVersionPermlink
-
setLatestVersionPermlink
-
getVersion
-
setVersion
-
getRegistrationDate
- Specified by:
getRegistrationDatein interfaceIRegistrationDateHolder
-
setRegistrationDate
-
getRegistrator
- Specified by:
getRegistratorin interfaceIRegistratorHolder
-
setRegistrator
-
getPreviousVersion
-
setPreviousVersion
-
getContent
public byte[] getContent() -
setContent
public void setContent(byte[] content) -
toString
-