Class PropertyPath.PathElement

    • Field Detail

      • m_Name

        protected String m_Name
        the property.
      • m_Index

        protected int m_Index
        the index of the array (-1 for none).
    • Constructor Detail

      • PathElement

        public PathElement​(String property)
        initializes the path element with the given property.
        Parameters:
        property - the property to initialize with
    • Method Detail

      • getName

        public String getName()
        returns the name of the property.
        Returns:
        the name of the property
      • getIndex

        public int getIndex()
        returns the index of the property, -1 if the property is not an index-based one.
        Returns:
        the index of the property
      • toString

        public String toString()
        returns the element once again as string.
        Overrides:
        toString in class Object
        Returns:
        the property as string