public class BlueprintsNaiveHandler extends AbstractBlueprintsHandler
PersistenceHandler for BlueprintsPersistenceBackends, without key conflict resolution.
Unlike the BlueprintsAwareHandler, this handler does not solve key conflicts. However, they are
detected and an exception is raised to avoid the creation of an unusable back-end.
verticesCacheDEFAULT_CACHE_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
BlueprintsNaiveHandler(BlueprintsPersistenceBackend backend)
Constructs a new
BlueprintsNaiveHandler on the given backend. |
| Modifier and Type | Method and Description |
|---|---|
protected Vertex |
createVertex(Id id)
Creates a
Vertex identified by the specified id. |
protected Vertex |
getVertex(Id id)
Returns the
Vertex which has the specified id. |
addAttribute, addElement, addReference, getId, processStartDocument, setMetaClasscreateElement, getOrCreateMetaClass, getPersistenceBackend, processAttribute, processCharacters, processEndDocument, processEndElement, processReference, processStartElementprotected BlueprintsNaiveHandler(BlueprintsPersistenceBackend backend)
BlueprintsNaiveHandler on the given backend.backend - the back-end where to store dataprotected Vertex getVertex(Id id)
AbstractBlueprintsHandlerVertex which has the specified id.getVertex in class AbstractBlueprintsHandlerid - the identifier of the vertexVertexprotected Vertex createVertex(Id id)
AbstractBlueprintsHandlerVertex identified by the specified id.createVertex in class AbstractBlueprintsHandlerid - the identifier of the vertexVertexCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.