jBPM :: Distribution 6.2.0.Final

org.jbpm.services.task.impl.model.xml
Class JaxbAttachment

java.lang.Object
  extended by org.jbpm.services.task.impl.model.xml.AbstractJaxbTaskObject<Attachment>
      extended by org.jbpm.services.task.impl.model.xml.JaxbAttachment
All Implemented Interfaces:
Externalizable, Serializable, Attachment

public class JaxbAttachment
extends AbstractJaxbTaskObject<Attachment>
implements Attachment

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.services.task.impl.model.xml.AbstractJaxbTaskObject
realClass
 
Constructor Summary
JaxbAttachment()
           
JaxbAttachment(Attachment attachment)
           
 
Method Summary
 Date getAttachedAt()
           
 User getAttachedBy()
           
 String getAttachedById()
           
 long getAttachmentContentId()
           
 String getContentType()
           
 Long getId()
           
 String getName()
           
 int getSize()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.jbpm.services.task.impl.model.xml.AbstractJaxbTaskObject
convertListFromInterfaceToJaxbImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbAttachment

public JaxbAttachment()

JaxbAttachment

public JaxbAttachment(Attachment attachment)
Method Detail

getId

public Long getId()
Specified by:
getId in interface Attachment

getName

public String getName()
Specified by:
getName in interface Attachment

getContentType

public String getContentType()
Specified by:
getContentType in interface Attachment

getAttachedAt

public Date getAttachedAt()
Specified by:
getAttachedAt in interface Attachment

getAttachedBy

public User getAttachedBy()
Specified by:
getAttachedBy in interface Attachment

getAttachedById

public String getAttachedById()

getSize

public int getSize()
Specified by:
getSize in interface Attachment

getAttachmentContentId

public long getAttachmentContentId()
Specified by:
getAttachmentContentId in interface Attachment

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

jBPM :: Distribution 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.