// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.3-b01-fcs // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2007.11.21 at 09:30:17 AM CET // package org.jvnet.hyperjaxb3.ejb.tests.issues; import javax.persistence.Entity; import javax.persistence.Table; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.jvnet.jaxb2_commons.lang.Equals; import org.jvnet.jaxb2_commons.lang.HashCode; import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder; import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder; /** *
Java class for StringSType complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="StringSType">
* <complexContent>
* <extension base="{urn:test}SType">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StringSType")
@Entity(name = "org.jvnet.hyperjaxb3.ejb.tests.issues.StringSType")
@Table(name = "STRINGSTYPE")
public class StringSType
extends SType
implements Equals, HashCode
{
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StringSType)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
super.equals(object, equalsBuilder);
final StringSType that = ((StringSType) object);
}
public boolean equals(Object object) {
if (!(object instanceof StringSType)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
super.hashCode(hashCodeBuilder);
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}