![JAR search and dependency download from the Maven repository](/logo.png)
org.jvnet.jaxb2_commons.mock_annotations.XmlElementRefsBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxb-api-annotation-mocks Show documentation
Show all versions of jaxb-api-annotation-mocks Show documentation
Mock annotation beans for JAXB API
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