@Override public Updater<Update, Relationship> update() { return new Updater<>((u) -> new Relationship(getId(), getName(), getSource(), getTarget(), u.getProperties())); }
blueprint.getProperties()); Relationship rel = new Relationship(tx.extractId(r), defines.name(), parentPath, entityPath); rel = new Relationship(tx.extractId(r), incorporates.name(), parentPath, entityPath); notifs.add(new Notification<>(rel, rel, created()));
@Override public Single visitRelationship(Relationship relationship, Void parameter) { return accessInterface.cast(relationships().get(relationship.getId())); }
@Override public T visitRelationship(Relationship relationship, Void parameter) { return entityType.cast(relationship.update().with(Relationship.Update.builder() .withProperties(filteredProperties).build())); }
tx.extractId(entity)).get(), null, null, null, resourceType, blueprint.getProperties()); Relationship definesRel = new Relationship(tx.extractId(r), defines.name(), resourceTypePath, entityPath); r = tx.relate(parent, entity, relationshipName, null); Relationship parentRel = new Relationship(tx.extractId(r), isParentOf.name(), parentPath, entityPath);
default Relationships.Single inspect(Relationship relationship) { return relationships().get(relationship.getId()); }
CanonicalPath target = extractCanonicalPath(edge.inVertex()); e = new Relationship(extractId(edge), edge.label(), source, target); } else { Vertex v = (Vertex) entityRepresentation;