Class JaxbContent
- java.lang.Object
-
- org.jbpm.services.task.impl.model.xml.JaxbContent
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.api.task.model.Content
public class JaxbContent extends Object implements org.kie.api.task.model.Content
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JaxbContent()
JaxbContent(org.kie.api.task.model.Content content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
Map<String,Object>
getContentMap()
Long
getId()
byte[]
getSerializedContent()
void
initialize(org.kie.api.task.model.Content content)
void
readExternal(ObjectInput in)
void
setContentMap(Map<String,Object> map)
void
setId(Long id)
void
setSerializedContent(byte[] content)
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
initialize
public void initialize(org.kie.api.task.model.Content content)
-
getContent
public byte[] getContent()
- Specified by:
getContent
in interfaceorg.kie.api.task.model.Content
-
getSerializedContent
public byte[] getSerializedContent()
-
setSerializedContent
public void setSerializedContent(byte[] content)
-
getId
public Long getId()
- Specified by:
getId
in interfaceorg.kie.api.task.model.Content
-
setId
public void setId(Long id)
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-