@Override
    public int hashCode() {
        int result = name != null ? name.hashCode() : 0;
        result = 31 * result + position;
        result = 31 * result + (mapping != null ? mapping.hashCode() : 0);
        result = 31 * result + (type != null ? type.hashCode() : 0);
        return result;
    }
Holder object to store mapping information for a given Siddhi Attribute
{@link io.siddhi.query.api.definition.Attribute}
modules/siddhi-core/src/main/java/io/siddhi/core/stream/input/source/AttributeMapping.java