// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.08.01 at 10:33:36 AM MST // package edu.asu.spring.quadriga.domain.impl.networks; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for creationEvent complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="creationEvent"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice maxOccurs="unbounded"> * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="creator" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="creation_date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * <element name="creation_place" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="source_reference" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="interpretation_creator" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="refId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="internal_refId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "creationEvent") @XmlSeeAlso({ AppellationEventType.class, RelationEventType.class }) public abstract class CreationEvent { @XmlElement(name = "source_reference", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String sourceReference; @XmlElement(name = "creation_date", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String creationDate; @XmlElement(name = "internal_refId", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String internalRefId; @XmlElement(name = "creator", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String creator; @XmlElement(name = "interpretation_creator", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String interpretationCreator; @XmlElement(name = "creation_place", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String creationPlace; @XmlElement(name = "refId", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String refId; @XmlElement(name = "id", namespace = "http://digitalhps.org/creationEvents-model", type = String.class) private String id; public String getSourceReference() { return sourceReference; } public void setSourceReference(String sourceReference) { this.sourceReference = sourceReference; } public String getCreationDate() { return creationDate; } public void setCreationDate(String creationDate) { this.creationDate = creationDate; } public String getInternalRefId() { return internalRefId; } public void setInternalRefId(String internalRefId) { this.internalRefId = internalRefId; } public String getCreator() { return creator; } public void setCreator(String creator) { this.creator = creator; } public String getInterpretationCreator() { return interpretationCreator; } public void setInterpretationCreator(String interpretationCreator) { this.interpretationCreator = interpretationCreator; } public String getCreationPlace() { return creationPlace; } public void setCreationPlace(String creationPlace) { this.creationPlace = creationPlace; } public String getRefId() { return refId; } public void setRefId(String refId) { this.refId = refId; } public String getId() { return id; } public void setId(String id) { this.id = id; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((id == null) ? 0 : id.hashCode()); result = prime * result + ((sourceReference == null) ? 0 : sourceReference.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; CreationEvent other = (CreationEvent) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equals(other.id)) return false; if (sourceReference == null) { if (other.sourceReference != null) return false; } else if (!sourceReference.equals(other.sourceReference)) return false; return true; } }