Class Property<T>


  • public class Property<T>
    extends Object
    A Graph entity property. Has a name, type, and value
    • Constructor Detail

      • Property

        public Property()
        Default constructor
      • Property

        public Property​(String name,
                        T value)
        Parameterized constructor
        Parameters:
        name -
        value -
    • Method Detail

      • getName

        public String getName()
        Returns:
        property name
      • setName

        public void setName​(String name)
        Parameters:
        name - - property name to be set
      • getValue

        public T getValue()
        Returns:
        property value
      • setValue

        public void setValue​(T value)
        Parameters:
        value - property value to be set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Default toString implementation
        Overrides:
        toString in class Object
        Returns: