use of org.ff4j.arangodb.document.ArangoDBProperty in project ff4j by ff4j.
the class PropertyStoreArangoDB method createProperty.
/**
* {@inheritDoc}
*/
@Override
public <T> void createProperty(final Property<T> prop) {
assertPropertyNotNull(prop);
assertPropertyNotExist(prop.getName());
ArangoDBProperty arangoDBProperty = StoreMapper.toPropertyStore(prop);
insertProperty(arangoDBProperty);
}
use of org.ff4j.arangodb.document.ArangoDBProperty in project ff4j by ff4j.
the class PropertyStoreArangoDB method updateProperty.
/**
* {@inheritDoc}
*/
@Override
public <T> void updateProperty(final Property<T> prop) {
assertPropertyNotNull(prop);
assertPropertyExist(prop.getName());
ArangoDBProperty arangoDBProperty = StoreMapper.toPropertyStore(prop);
replaceProperty(arangoDBProperty);
}
Aggregations