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

org.jvnet.jaxb2_commons.mock_annotations.XmlElementsBean 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.XmlElement;
import javax.xml.bind.annotation.XmlElements;

public class XmlElementsBean
    implements XmlElements
{

    private XmlElement[] value;

    public XmlElementsBean(XmlElement[] value) {
        this.value = value;
    }

    public XmlElementsBean() {
    }

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy