Class OrientVertexProperty<V>

java.lang.Object
org.apache.tinkerpop.gremlin.orientdb.OrientProperty<V>
org.apache.tinkerpop.gremlin.orientdb.OrientVertexProperty<V>
All Implemented Interfaces:
org.apache.tinkerpop.gremlin.structure.Element, org.apache.tinkerpop.gremlin.structure.Property<V>, org.apache.tinkerpop.gremlin.structure.VertexProperty<V>

public class OrientVertexProperty<V> extends OrientProperty<V> implements org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Property

    org.apache.tinkerpop.gremlin.structure.Property.Exceptions

    Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.VertexProperty

    org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality, org.apache.tinkerpop.gremlin.structure.VertexProperty.Exceptions
  • Field Summary

    Fields inherited from class org.apache.tinkerpop.gremlin.orientdb.OrientProperty

    element, key, value, wrappedValue

    Fields inherited from interface org.apache.tinkerpop.gremlin.structure.VertexProperty

    DEFAULT_LABEL
  • Constructor Summary

    Constructors
    Constructor
    Description
    OrientVertexProperty(String key, V value, OrientVertex vertex)
     
    OrientVertexProperty(org.apache.tinkerpop.gremlin.structure.Property<V> property, OrientVertex vertex)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.tinkerpop.gremlin.structure.Vertex
     
    boolean
    equals(Object object)
     
    int
     
    id()
     
    <U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>>
    properties(String... propertyKeys)
     
    <U> org.apache.tinkerpop.gremlin.structure.Property<U>
    property(String key, U value)
     
    void
     
    void
     

    Methods inherited from class org.apache.tinkerpop.gremlin.orientdb.OrientProperty

    isPresent, key, toString, value

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Element

    keys, property, value, values

    Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Property

    ifPresent, isPresent, key, orElse, orElseGet, orElseThrow, value

    Methods inherited from interface org.apache.tinkerpop.gremlin.structure.VertexProperty

    graph, label
  • Constructor Details

    • OrientVertexProperty

      public OrientVertexProperty(org.apache.tinkerpop.gremlin.structure.Property<V> property, OrientVertex vertex)
    • OrientVertexProperty

      public OrientVertexProperty(String key, V value, OrientVertex vertex)
  • Method Details

    • id

      public String id()
      Specified by:
      id in interface org.apache.tinkerpop.gremlin.structure.Element
    • property

      public <U> org.apache.tinkerpop.gremlin.structure.Property<U> property(String key, U value)
      Specified by:
      property in interface org.apache.tinkerpop.gremlin.structure.Element
    • properties

      public <U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> properties(String... propertyKeys)
      Specified by:
      properties in interface org.apache.tinkerpop.gremlin.structure.Element
      Specified by:
      properties in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
    • removeMetadata

      public void removeMetadata(String key)
    • remove

      public void remove()
      Specified by:
      remove in interface org.apache.tinkerpop.gremlin.structure.Element
      Specified by:
      remove in interface org.apache.tinkerpop.gremlin.structure.Property<V>
      Overrides:
      remove in class OrientProperty<V>
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class OrientProperty<V>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class OrientProperty<V>
    • element

      public org.apache.tinkerpop.gremlin.structure.Vertex element()
      Specified by:
      element in interface org.apache.tinkerpop.gremlin.structure.Property<V>
      Specified by:
      element in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
      Overrides:
      element in class OrientProperty<V>