org.jbpm.services.task.impl.model
Class ContentImpl
java.lang.Object
org.jbpm.services.task.impl.model.ContentImpl
- All Implemented Interfaces:
- Externalizable, Serializable, 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
ContentImpl
public ContentImpl()
ContentImpl
public ContentImpl(byte[] content)
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
getId
public long getId()
- Specified by:
getId
in interface Content
setId
public void setId(long id)
- Specified by:
setId
in interface org.kie.internal.task.api.model.InternalContent
getContent
public byte[] getContent()
- Specified by:
getContent
in interface Content
setContent
public void setContent(byte[] content)
- Specified by:
setContent
in interface org.kie.internal.task.api.model.InternalContent
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.