Class Mapping

    • Constructor Detail

      • Mapping

        public Mapping()
        Initializes a new instance of the Mapping class.
      • Mapping

        public Mapping​(String key,
                       String property)
        Initializes a new instance of the Mapping class.
        Parameters:
        key - the key
        property - the path
    • Method Detail

      • getKey

        public String getKey()
        Gets the key for this mapping.
        Returns:
        the key
      • getProperty

        public String getProperty()
        Gets the property for this mapping.
        Returns:
        the property
      • hashCode

        public int hashCode()
        Returns a hash code value for this mapping.
        Overrides:
        hashCode in class Object
        Returns:
        the hash code
      • equals

        public boolean equals​(Object object)
        Returns a value indicating whether this mapping is equal to another object.
        Overrides:
        equals in class Object
        Returns:
        true if the this mapping is equal to the object; otherwise, false