All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.jaxb2_commons.mock_annotations.XmlElementRefsBean Maven / Gradle / Ivy

There is a newer version: 2.1-2
Show newest version

package org.jvnet.jaxb2_commons.mock_annotations;

import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;

public class XmlElementRefsBean
    implements XmlElementRefs
{

    private XmlElementRef[] value;

    public XmlElementRefsBean(XmlElementRef[] value) {
        this.value = value;
    }

    public XmlElementRefsBean() {
    }

    public Class annotationType() {
        return XmlElementRefs.class;
    }

    public boolean equals(Object that) {
        if (!(that instanceof XmlElementRefs)) {
            return false;
        }
        if (!value.equals(((XmlElementRefsBean) that).value)) {
            return false;
        }
        return true;
    }

    public int hashCode() {
        int r = 0;
        r = (r^ 0);
        return r;
    }

    public void value(XmlElementRef[] value) {
        value = value;
    }

    public XmlElementRef[] value() {
        return value;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy