Class ByteArrayRef
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.ByteArrayRef
- All Implemented Interfaces:
Serializable
Encapsulates the logic for transparently working with ByteArrayEntity
.
- Author:
- Marcus Klimstra (CGI)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
This makes a copy of thisByteArrayRef
: a newByteArrayRef
instance will be created, however with the same id, name andByteArrayEntity
instances.void
protected void
ensureInitialized
(String engineType) byte[]
protected AbstractEngineConfiguration
getEngineConfiguration
(String engineType) protected AbstractEngineConfiguration
getEngineConfiguration
(String engineType, CommandContext commandContext) protected AbstractEngineConfiguration
getEngineConfigurationForAllType
(CommandContext commandContext) protected AbstractEngineConfiguration
getFirstEngineConfigurationWithByteArrayEntityManager
(CommandContext commandContext) getId()
getName()
boolean
protected void
void
void
Set the specifiedString
as the value of the byte array reference.toString()
-
Field Details
-
commandExecutor
-
deleted
protected boolean deleted
-
-
Constructor Details
-
ByteArrayRef
public ByteArrayRef() -
ByteArrayRef
-
-
Method Details
-
getId
-
getName
-
getBytes
-
asString
- Returns:
- the byte array as
StandardCharsets.UTF_8
String
-
setValue
-
setValue
Set the specifiedString
as the value of the byte array reference. It uses theStandardCharsets.UTF_8
charset to convert theString
to the byte array.- Parameters:
name
- the name of the byte array referencevalue
- the value of the byte array reference
-
setBytes
-
getEntity
-
delete
-
ensureInitialized
-
isDeleted
public boolean isDeleted() -
copy
This makes a copy of thisByteArrayRef
: a newByteArrayRef
instance will be created, however with the same id, name andByteArrayEntity
instances. -
getEngineConfiguration
-
getEngineConfiguration
protected AbstractEngineConfiguration getEngineConfiguration(String engineType, CommandContext commandContext) -
getEngineConfigurationForAllType
protected AbstractEngineConfiguration getEngineConfigurationForAllType(CommandContext commandContext) -
getFirstEngineConfigurationWithByteArrayEntityManager
protected AbstractEngineConfiguration getFirstEngineConfigurationWithByteArrayEntityManager(CommandContext commandContext) -
toString
-