public class JaxbAttachment extends AbstractJaxbTaskObject<org.kie.api.task.model.Attachment> implements org.kie.api.task.model.Attachment
realClass| Constructor and Description |
|---|
JaxbAttachment() |
JaxbAttachment(org.kie.api.task.model.Attachment attachment) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getAttachedAt() |
org.kie.api.task.model.User |
getAttachedBy() |
String |
getAttachedById() |
long |
getAttachmentContentId() |
String |
getContentType() |
Long |
getId() |
String |
getName() |
int |
getSize() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
convertListFromInterfaceToJaxbImplpublic JaxbAttachment()
public JaxbAttachment(org.kie.api.task.model.Attachment attachment)
public Long getId()
getId in interface org.kie.api.task.model.Attachmentpublic String getName()
getName in interface org.kie.api.task.model.Attachmentpublic String getContentType()
getContentType in interface org.kie.api.task.model.Attachmentpublic Date getAttachedAt()
getAttachedAt in interface org.kie.api.task.model.Attachmentpublic org.kie.api.task.model.User getAttachedBy()
getAttachedBy in interface org.kie.api.task.model.Attachmentpublic String getAttachedById()
public int getSize()
getSize in interface org.kie.api.task.model.Attachmentpublic long getAttachmentContentId()
getAttachmentContentId in interface org.kie.api.task.model.Attachmentpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.