public class MemoryProperty extends MemoryEdge implements Property
Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Modifier and Type | Method and Description |
---|---|
Property |
createProperty(String type,
Object attribute) |
Relationship |
createRelationship(String type,
Node n) |
void |
delete() |
Object |
getAttribute() |
<O> O |
getAttribute(Class<O> clazz) |
Collection<? extends Node> |
getNodes() |
String |
getPropertyType() |
boolean |
isIncidentOn(Node n) |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isRelationship() |
getStart
getAttribute, getAttribute, getEdgeIterator, getEdges, getNoEdges, getNoProperties, getNoRelationships, getProperties, getProperties, getPropertyIterator, getPropertyIterator, getRelationshipIterator, getRelationshipIterator, getRelationships, getRelationships
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttribute, getEdgeIterator, getEdges, getNoEdges, getNoProperties, getNoRelationships, getProperties, getProperties, getPropertyIterator, getPropertyIterator, getRelationshipIterator, getRelationshipIterator, getRelationships, getRelationships
public boolean isProperty
isProperty
in interface Edge
public Property createProperty(String type, Object attribute)
createProperty
in interface Node
createProperty
in class MemoryNode
public Relationship createRelationship(String type, Node n)
createRelationship
in interface Node
createRelationship
in class MemoryNode
public boolean isProperty()
isProperty
in interface Edge
public boolean isRelationship()
isRelationship
in interface Edge
public Object getAttribute()
getAttribute
in interface Property
public <O> O getAttribute(Class<O> clazz)
getAttribute
in interface Property
public String getPropertyType()
getPropertyType
in interface Property
public Collection<? extends Node> getNodes()
public boolean isIncidentOn(Node n)
isIncidentOn
in interface Edge
public void delete()
delete
in interface Node
delete
in class MemoryNode
Copyright © 2018 University of California, Santa Cruz. All rights reserved.