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) |
convertListFromInterfaceToJaxbImpl
public JaxbAttachment()
public JaxbAttachment(org.kie.api.task.model.Attachment attachment)
public Long getId()
getId
in interface org.kie.api.task.model.Attachment
public String getName()
getName
in interface org.kie.api.task.model.Attachment
public String getContentType()
getContentType
in interface org.kie.api.task.model.Attachment
public Date getAttachedAt()
getAttachedAt
in interface org.kie.api.task.model.Attachment
public org.kie.api.task.model.User getAttachedBy()
getAttachedBy
in interface org.kie.api.task.model.Attachment
public String getAttachedById()
public int getSize()
getSize
in interface org.kie.api.task.model.Attachment
public long getAttachmentContentId()
getAttachmentContentId
in interface org.kie.api.task.model.Attachment
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.