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 boolean
equals(Object obj)
byte[]
getContent()
Long
getId()
int
hashCode()
void
readExternal(ObjectInput in)
void
setContent(byte[] content)
void
setId(long id)
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
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
-
getId
public Long getId()
- Specified by:
getId
in interfaceorg.kie.api.task.model.Content
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceorg.kie.internal.task.api.model.InternalContent
-
getContent
public byte[] getContent()
- Specified by:
getContent
in interfaceorg.kie.api.task.model.Content
-
setContent
public void setContent(byte[] content)
- Specified by:
setContent
in interfaceorg.kie.internal.task.api.model.InternalContent
-
-