public class JobByteArrayRef extends Object implements Serializable
Encapsulates the logic for transparently working with JobByteArrayEntity .
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deleted |
| Constructor and Description |
|---|
JobByteArrayRef() |
JobByteArrayRef(String id) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
|
JobByteArrayRef |
copy()
This makes a copy of this
JobByteArrayRef: a new
JobByteArrayRef instance will be created, however with the same id,
name and JobByteArrayEntity instances. |
void |
delete() |
byte[] |
getBytes() |
JobByteArrayEntity |
getEntity() |
String |
getId() |
String |
getName() |
boolean |
isDeleted() |
void |
setValue(String name,
byte[] bytes) |
void |
setValue(String name,
String value)
Set the specified
String as the value of the byte array reference. |
String |
toString() |
public JobByteArrayRef()
public JobByteArrayRef(String id)
public String getId()
public String getName()
public byte[] getBytes()
public String asString()
StandardCharsets.UTF_8 Stringpublic void setValue(String name, byte[] bytes)
public void setValue(String name, String value)
String as the value of the byte array reference. It uses the
StandardCharsets.UTF_8 charset to convert the String to the byte array.name - the name of the byte array referencevalue - the value of the byte array referencepublic JobByteArrayEntity getEntity()
public void delete()
public boolean isDeleted()
public JobByteArrayRef copy()
JobByteArrayRef: a new
JobByteArrayRef instance will be created, however with the same id,
name and JobByteArrayEntity instances.Copyright © 2018 Flowable. All rights reserved.