Class ReferenceVertexProperty<V>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElement<VertexProperty<V>>
- 
- org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceVertexProperty<V>
 
 
- 
- All Implemented Interfaces:
- Serializable,- Element,- Property<V>,- Attachable<VertexProperty<V>>,- VertexProperty<V>
 
 public class ReferenceVertexProperty<V> extends ReferenceElement<VertexProperty<V>> implements VertexProperty<V> - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.AttachableAttachable.Exceptions, Attachable.Method
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.ElementElement.Exceptions
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.VertexPropertyVertexProperty.Cardinality, VertexProperty.Exceptions
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElementid, label
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachablelogger
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.VertexPropertyDEFAULT_LABEL
 
- 
 - 
Constructor SummaryConstructors Constructor Description ReferenceVertexProperty(Object id, String label, V value)ReferenceVertexProperty(VertexProperty<V> vertexProperty)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Vertexelement()Gets theVertexthat owns thisVertexProperty.booleanisPresent()Whether the property is empty or not.Stringkey()The key of the property.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.<U> Property<U>property(String key, U value)Add or set a property value for theElementgiven its key.voidremove()Remove the property from the associated element.StringtoString()Vvalue()The value of the property.- 
Methods inherited from class org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElementequals, get, graph, hashCode, id
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachableattach
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Elementid, keys, property, value, values
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.PropertyifPresent, orElse, orElseGet, orElseThrow
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.VertexPropertygraph
 
- 
 
- 
- 
- 
Constructor Detail- 
ReferenceVertexPropertypublic ReferenceVertexProperty(VertexProperty<V> vertexProperty) 
 
- 
 - 
Method Detail- 
labelpublic String label() Description copied from interface:ElementGets the label for the graphElementwhich helps categorize it.- Specified by:
- labelin interface- Element
- Specified by:
- labelin interface- VertexProperty<V>
- Overrides:
- labelin class- ReferenceElement<VertexProperty<V>>
- Returns:
- The label of the element
 
 - 
valuepublic V value() throws NoSuchElementException Description copied from interface:PropertyThe value of the property.- Specified by:
- valuein interface- Property<V>
- Returns:
- The property value
- Throws:
- NoSuchElementException- thrown if the property is empty
 
 - 
isPresentpublic boolean isPresent() Description copied from interface:PropertyWhether the property is empty or not.
 - 
elementpublic Vertex element() Description copied from interface:VertexPropertyGets theVertexthat owns thisVertexProperty.- Specified by:
- elementin interface- Property<V>
- Specified by:
- elementin interface- VertexProperty<V>
- Returns:
- The element associated with this property (i.e. Vertex,Edge, orVertexProperty).
 
 - 
propertypublic <U> Property<U> property(String key, U value) Description copied from interface:ElementAdd or set a property value for theElementgiven its key.
 - 
removepublic void remove() Description copied from interface:PropertyRemove the property from the associated element.
 - 
propertiespublic <U> Iterator<Property<U>> properties(String... propertyKeys) Description copied from interface:VertexPropertyGet anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys. If no keys are provide then return all the properties.- Specified by:
- propertiesin interface- Element
- Specified by:
- propertiesin interface- VertexProperty<V>
 
 
- 
 
-