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,
JpaInstanceStore jpaInstanceStore) |
| Modifier and Type | Method and Description |
|---|---|
protected InstancePropertyEntity |
getOrCreatePropertyEntity(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.instance.FlowInstanceProperty property) |
brainslug.flow.instance.FlowInstanceProperties<?,brainslug.flow.instance.FlowInstanceProperty<?>> |
getProperties(brainslug.flow.definition.Identifier<?> instanceId) |
Option<brainslug.flow.instance.FlowInstanceProperty<?>> |
getProperty(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.definition.Identifier<?> key) |
ObjectSerializer |
getSerializer() |
protected InstancePropertyEntity |
newInstancePropertyEntity(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.instance.FlowInstanceProperty property) |
void |
setProperties(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.instance.FlowInstanceProperties<?,brainslug.flow.instance.FlowInstanceProperty<?>> executionProperties) |
void |
setProperty(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.instance.FlowInstanceProperty<?> property) |
protected InstancePropertyEntity |
withPropertyValue(InstancePropertyEntity entity,
brainslug.flow.instance.FlowInstanceProperty<?> property) |
protected final Database database
protected final IdGenerator idGenerator
public JpaPropertyStore(Database database, IdGenerator idGenerator, JpaInstanceStore jpaInstanceStore)
public void setProperty(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.instance.FlowInstanceProperty<?> property)
setProperty in interface PropertyStorepublic void setProperties(brainslug.flow.definition.Identifier<?> instanceId,
brainslug.flow.instance.FlowInstanceProperties<?,brainslug.flow.instance.FlowInstanceProperty<?>> executionProperties)
setProperties in interface PropertyStorepublic Option<brainslug.flow.instance.FlowInstanceProperty<?>> getProperty(brainslug.flow.definition.Identifier<?> instanceId, brainslug.flow.definition.Identifier<?> key)
getProperty in interface PropertyStoreprotected InstancePropertyEntity getOrCreatePropertyEntity(brainslug.flow.definition.Identifier<?> instanceId, brainslug.flow.instance.FlowInstanceProperty property)
protected InstancePropertyEntity newInstancePropertyEntity(brainslug.flow.definition.Identifier<?> instanceId, brainslug.flow.instance.FlowInstanceProperty property)
public brainslug.flow.instance.FlowInstanceProperties<?,brainslug.flow.instance.FlowInstanceProperty<?>> getProperties(brainslug.flow.definition.Identifier<?> instanceId)
getProperties in interface PropertyStoreprotected InstancePropertyEntity withPropertyValue(InstancePropertyEntity entity, brainslug.flow.instance.FlowInstanceProperty<?> property)
public ObjectSerializer getSerializer()
Copyright © 2015. All rights reserved.