Class DetachedVertexProperty<V>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.detached.DetachedElement<VertexProperty<V>>
- 
- org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertexProperty<V>
 
 
- 
- All Implemented Interfaces:
- Serializable,- Element,- Property<V>,- Attachable<VertexProperty<V>>,- VertexProperty<V>
 
 public class DetachedVertexProperty<V> extends DetachedElement<VertexProperty<V>> implements VertexProperty<V> - Author:
- Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDetachedVertexProperty.Builder- 
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 SummaryFields Modifier and Type Field Description protected Vvalueprotected DetachedVertexvertex- 
Fields inherited from class org.apache.tinkerpop.gremlin.structure.util.detached.DetachedElementid, label, properties
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.VertexPropertyDEFAULT_LABEL
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description DetachedVertexProperty(Object id, String label, V value, Map<String,Object> properties)This constructor is used by GraphSON when deserializing and theHostis not known.DetachedVertexProperty(Object id, String label, V value, Map<String,Object> properties, Vertex vertex)protectedDetachedVertexProperty(VertexProperty<V> vertexProperty, boolean withProperties)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetachedVertexProperty.Builderbuild()Provides a way to construct an immutableDetachedEdge.Vertexelement()Gets theVertexthat owns thisVertexProperty.booleanequals(Object object)voidinternalSetVertex(DetachedVertex vertex)booleanisPresent()Whether the property is empty or not.Stringkey()The key of the property.<U> Iterator<Property<U>>properties(String... propertyKeys)Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.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.detached.DetachedElementget, graph, hashCode, id, label, property, property
 - 
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, 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, label
 
- 
 
- 
- 
- 
Field Detail- 
valueprotected V value 
 - 
vertexprotected transient DetachedVertex vertex 
 
- 
 - 
Method Detail- 
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).
 
 - 
removepublic void remove() Description copied from interface:PropertyRemove the property from the associated element.
 - 
equalspublic boolean equals(Object object) - Overrides:
- equalsin class- DetachedElement<VertexProperty<V>>
 
 - 
propertiespublic <U> Iterator<Property<U>> properties(String... propertyKeys) Description copied from interface:ElementGet 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>
- Overrides:
- propertiesin class- DetachedElement<VertexProperty<V>>
 
 - 
internalSetVertexpublic void internalSetVertex(DetachedVertex vertex) 
 - 
buildpublic static DetachedVertexProperty.Builder build() Provides a way to construct an immutableDetachedEdge.
 
- 
 
-