Interface Attachment
- All Superinterfaces:
Entity
,Resource
,Serializable
Represents an attachment
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reference to the base resource the file is attached to.getFile()
Returns the reference to the file contained by this attachment.Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Method Details
-
getBaseResource
ResourceReference getBaseResource()Returns the reference to the base resource the file is attached to.- Returns:
- the reference to the base resource the file is attached to
-
getFile
FileReference getFile()Returns the reference to the file contained by this attachment.- Returns:
- the reference to the file contained by this attachment
-