Class ByteArrayField
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.util.ByteArrayField
-
public class ByteArrayField extends java.lang.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 java.lang.String
byteArrayId
protected ByteArrayEntity
byteArrayValue
protected Nameable
nameProvider
protected java.util.Date
removalTime
protected java.lang.String
rootProcessInstanceId
protected ResourceType
type
-
Constructor Summary
Constructors Constructor Description ByteArrayField(Nameable nameProvider, ResourceType type)
ByteArrayField(Nameable nameProvider, ResourceType type, java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByteArrayValue()
protected ByteArrayEntity
getByteArrayEntity()
java.lang.String
getByteArrayId()
byte[]
getByteArrayValue()
void
setByteArrayId(java.lang.String byteArrayId)
void
setByteArrayValue(byte[] bytes)
void
setByteArrayValue(byte[] bytes, boolean isTransient)
void
setByteArrayValue(ByteArrayEntity byteArrayValue)
void
setRemovalTime(java.util.Date removalTime)
void
setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
-
-
-
Field Detail
-
byteArrayValue
protected ByteArrayEntity byteArrayValue
-
byteArrayId
protected java.lang.String byteArrayId
-
nameProvider
protected final Nameable nameProvider
-
type
protected ResourceType type
-
rootProcessInstanceId
protected java.lang.String rootProcessInstanceId
-
removalTime
protected java.util.Date removalTime
-
-
Constructor Detail
-
ByteArrayField
public ByteArrayField(Nameable nameProvider, ResourceType type, java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
ByteArrayField
public ByteArrayField(Nameable nameProvider, ResourceType type)
-
-
Method Detail
-
getByteArrayId
public java.lang.String getByteArrayId()
-
setByteArrayId
public void setByteArrayId(java.lang.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(java.lang.String rootProcessInstanceId)
-
setRemovalTime
public void setRemovalTime(java.util.Date removalTime)
-
-