jBPM :: Distribution 6.2.0.Final

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

java.lang.Object
  extended by org.jbpm.services.task.impl.model.xml.JaxbContent
All Implemented Interfaces:
Externalizable, Serializable, Content

public class JaxbContent
extends Object
implements Content

See Also:
Serialized Form

Constructor Summary
JaxbContent()
           
JaxbContent(Content content)
           
 
Method Summary
 byte[] getContent()
           
 Map<String,Object> getContentMap()
           
 long getId()
           
 byte[] getSerializedContent()
           
 void initialize(Content content)
           
 void readExternal(ObjectInput in)
           
 void setContentMap(Map<String,Object> map)
           
 void setId(Long id)
           
 void setSerializedContent(byte[] content)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbContent

public JaxbContent()

JaxbContent

public JaxbContent(Content content)
Method Detail

initialize

public void initialize(Content content)

getContent

public byte[] getContent()
Specified by:
getContent in interface Content

getSerializedContent

public byte[] getSerializedContent()

setSerializedContent

public void setSerializedContent(byte[] content)

getContentMap

public Map<String,Object> getContentMap()

setContentMap

public void setContentMap(Map<String,Object> map)

getId

public long getId()
Specified by:
getId in interface Content

setId

public void setId(Long id)

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.