Interface VertexProperty<V>
- 
 public interface VertexProperty<V> extends Property<V>, Element AVertexPropertyis similar to aPropertyin that it denotes a key/value pair associated with anVertex, however it is different in the sense that it also represents an entity that it is anElementthat can have properties of its own. A property is much like a Java8Optionalin that a property can be not present (i.e. empty). The key of a property is always a String and the value of a property is an arbitrary Java object. Each underlying graph engine will typically have constraints on what Java objects are allowed to be used as values.- Author:
- Matthias Broecheler (me@matthiasb.com), Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classVertexProperty.Cardinalitystatic classVertexProperty.ExceptionsCommon exceptions to use with a property.
 - 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_LABEL
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Vertexelement()Gets theVertexthat owns thisVertexProperty.static <V> VertexProperty<V>empty()Constructs an emptyVertexProperty.default Graphgraph()Get the graph that this element is within.default Stringlabel()Gets the label for the graphElementwhich helps categorize it.<U> Iterator<Property<U>>properties(String... propertyKeys)Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.
 
- 
- 
- 
Field Detail- 
DEFAULT_LABELstatic final String DEFAULT_LABEL - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
graphdefault Graph graph() Get the graph that this element is within.
 - 
labeldefault String label() Gets the label for the graphElementwhich helps categorize it.
 - 
emptystatic <V> VertexProperty<V> empty() Constructs an emptyVertexProperty.- Type Parameters:
- V- The value class of the empty property
- Returns:
- A property that is not present
 
 
- 
 
-