Class SymbolicName

  • All Implemented Interfaces:
    Expression, Visitable

    @API(status=EXPERIMENTAL,
         since="1.0")
    public class SymbolicName
    extends java.lang.Object
    implements Expression
    A symbolic name to identify nodes, relationships and aliased items.

    See SchemaName SymbolicName

    While OpenCypher extends the UNICODE IDENTIFIER AND PATTERN SYNTAX with some characters, this DSL uses the same identifier Java itself uses for simplicity and until otherwise needed.

    Since:
    1.0
    Author:
    Michael J. Simons
    • Method Detail

      • getValue

        public java.lang.String getValue()
      • concat

        public SymbolicName concat​(java.lang.String otherValue)
        Creates a new symbolic name by concatenating otherValue to this names value. Returns this if otherValue is empty.
        Parameters:
        otherValue - The value to concat.
        Returns:
        A new symbolic name
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object