public class JpaPropertyStore extends Object implements PropertyStore
| Modifier and Type | Field and Description |
|---|---|
protected Database |
database |
protected IdGenerator |
idGenerator |
| Constructor and Description |
|---|
JpaPropertyStore(Database database,
IdGenerator idGenerator) |
| Modifier and Type | Method and Description |
|---|---|
protected InstancePropertyEntity |
getOrCreatePropertyEntity(brainslug.flow.Identifier<?> instanceId,
ExecutionProperty property) |
ExecutionProperties |
loadProperties(brainslug.flow.Identifier<?> instanceId) |
protected InstancePropertyEntity |
newInstancePropertyEntity(brainslug.flow.Identifier<?> instanceId,
ExecutionProperty property) |
InstancePropertyEntity |
setValueField(InstancePropertyEntity entity,
Object value) |
void |
storeProperties(brainslug.flow.Identifier<?> instanceId,
ExecutionProperties executionProperties) |
protected final Database database
protected final IdGenerator idGenerator
public JpaPropertyStore(Database database, IdGenerator idGenerator)
public void storeProperties(brainslug.flow.Identifier<?> instanceId,
ExecutionProperties executionProperties)
storeProperties in interface PropertyStoreprotected InstancePropertyEntity getOrCreatePropertyEntity(brainslug.flow.Identifier<?> instanceId, ExecutionProperty property)
protected InstancePropertyEntity newInstancePropertyEntity(brainslug.flow.Identifier<?> instanceId, ExecutionProperty property)
public ExecutionProperties loadProperties(brainslug.flow.Identifier<?> instanceId)
loadProperties in interface PropertyStorepublic InstancePropertyEntity setValueField(InstancePropertyEntity entity, Object value)
Copyright © 2014. All rights reserved.