public class Attachment extends Representation
Modifier and Type | Field and Description |
---|---|
protected String |
fileType |
protected String |
subject |
links
Constructor and Description |
---|
Attachment() |
Attachment(String subject,
FileType fileType) |
Modifier and Type | Method and Description |
---|---|
Link |
getAddContentLink() |
FileType |
getFileType() |
protected List<Link> |
getLinks() |
Link |
getSelfLink() |
String |
getSubject() |
boolean |
isSameAttachmentAs(Attachment attachment) |
void |
setFileType(FileType fileType) |
protected void |
setLinks(List<Link> links) |
addLink, getLinkByRelationName
public String getSubject()
public Link getSelfLink()
public Link getAddContentLink()
public boolean isSameAttachmentAs(Attachment attachment)
public FileType getFileType()
public void setFileType(FileType fileType)
Copyright © 2013 Digipost Open Source. All Rights Reserved.