Class ByteArrayField
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.util.ByteArrayField
-
public class ByteArrayField extends Object
A byte array value field what load and saveByteArrayEntity
. It can be used in an entity which implementsValueFields
.- Author:
- Philipp Ossler
-
-
Field Summary
Fields Modifier and Type Field Description protected String
byteArrayId
protected ByteArrayEntity
byteArrayValue
protected Nameable
nameProvider
protected Date
removalTime
protected String
rootProcessInstanceId
protected ResourceType
type
-
Constructor Summary
Constructors Constructor Description ByteArrayField(Nameable nameProvider, ResourceType type)
ByteArrayField(Nameable nameProvider, ResourceType type, String rootProcessInstanceId, Date removalTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByteArrayValue()
protected ByteArrayEntity
getByteArrayEntity()
String
getByteArrayId()
byte[]
getByteArrayValue()
void
setByteArrayId(String byteArrayId)
void
setByteArrayValue(byte[] bytes)
void
setByteArrayValue(byte[] bytes, boolean isTransient)
void
setByteArrayValue(ByteArrayEntity byteArrayValue)
void
setRemovalTime(Date removalTime)
void
setRootProcessInstanceId(String rootProcessInstanceId)
-
-
-
Field Detail
-
byteArrayValue
protected ByteArrayEntity byteArrayValue
-
byteArrayId
protected String byteArrayId
-
nameProvider
protected final Nameable nameProvider
-
type
protected ResourceType type
-
rootProcessInstanceId
protected String rootProcessInstanceId
-
removalTime
protected Date removalTime
-
-
Constructor Detail
-
ByteArrayField
public ByteArrayField(Nameable nameProvider, ResourceType type, String rootProcessInstanceId, Date removalTime)
-
ByteArrayField
public ByteArrayField(Nameable nameProvider, ResourceType type)
-
-
Method Detail
-
getByteArrayId
public String getByteArrayId()
-
setByteArrayId
public void setByteArrayId(String byteArrayId)
-
getByteArrayValue
public byte[] getByteArrayValue()
-
getByteArrayEntity
protected ByteArrayEntity getByteArrayEntity()
-
setByteArrayValue
public void setByteArrayValue(byte[] bytes)
-
setByteArrayValue
public void setByteArrayValue(byte[] bytes, boolean isTransient)
-
deleteByteArrayValue
public void deleteByteArrayValue()
-
setByteArrayValue
public void setByteArrayValue(ByteArrayEntity byteArrayValue)
-
setRootProcessInstanceId
public void setRootProcessInstanceId(String rootProcessInstanceId)
-
setRemovalTime
public void setRemovalTime(Date removalTime)
-
-