Class ContentImpl
- java.lang.Object
-
- org.jbpm.services.task.impl.model.ContentImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,org.kie.api.task.model.Content,org.kie.internal.task.api.model.InternalContent
@Entity public class ContentImpl extends Object implements org.kie.internal.task.api.model.InternalContent
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentImpl()ContentImpl(byte[] content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)byte[]getContent()LonggetId()inthashCode()voidreadExternal(ObjectInput in)voidsetContent(byte[] content)voidsetId(long id)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getId
public Long getId()
- Specified by:
getIdin interfaceorg.kie.api.task.model.Content
-
setId
public void setId(long id)
- Specified by:
setIdin interfaceorg.kie.internal.task.api.model.InternalContent
-
getContent
public byte[] getContent()
- Specified by:
getContentin interfaceorg.kie.api.task.model.Content
-
setContent
public void setContent(byte[] content)
- Specified by:
setContentin interfaceorg.kie.internal.task.api.model.InternalContent
-
-