+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
-\r
-<!--\r
- $LastChangedRevision: 1341 $\r
- $LastChangedDate: 2010-02-15 22:01:55 -0800 (Mon, 15 Feb 2010) $\r
--->\r
-\r
-<xs:schema \r
- xmlns:xs="http://www.w3.org/2001/XMLSchema"\r
- xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"\r
- xmlns:hj="http://hyperjaxb3.jvnet.org/ejb/schemas/customizations"\r
- xmlns:ns="http://collectionspace.org/services/hyperjaxb"\r
- xmlns="http://collectionspace.org/services/hyperjaxb"\r
- targetNamespace="http://collectionspace.org/services/hyperjaxb"\r
- jaxb:extensionBindingPrefixes="hj"\r
- version="0.9">\r
- \r
- <xs:element name="abstract-common-list">\r
- <xs:complexType>\r
- <xs:annotation>\r
- <xs:documentation>\r
- </xs:documentation>\r
- <xs:appinfo>\r
- <hj:ignored/>\r
- </xs:appinfo>\r
- </xs:annotation> \r
- <xs:sequence>\r
- <xs:element name="pageNum" type="xs:unsignedInt" />\r
- <xs:element name="pageSize" type="xs:unsignedInt" />\r
- <!-- "itemsInPage" is useful to our testing framework's unit tests -->\r
- <xs:element name="itemsInPage" type="xs:unsignedInt" />\r
- <xs:element name="totalItems" type="xs:unsignedInt" />\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- \r
-</xs:schema>
\ No newline at end of file
+++ /dev/null
-//\r
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v3.0-03/04/2009 09:20 AM(valikov)-fcs \r
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
-// Any modifications to this file will be lost upon recompilation of the source schema. \r
-// Generated on: 2010.08.19 at 08:39:19 AM PDT \r
-//\r
-\r
-\r
-package org.collectionspace.services.hyperjaxb;\r
-\r
-import javax.xml.bind.annotation.XmlAccessType;\r
-import javax.xml.bind.annotation.XmlAccessorType;\r
-import javax.xml.bind.annotation.XmlRootElement;\r
-import javax.xml.bind.annotation.XmlSchemaType;\r
-import javax.xml.bind.annotation.XmlType;\r
-import org.apache.commons.lang.builder.EqualsBuilder;\r
-import org.apache.commons.lang.builder.HashCodeBuilder;\r
-import org.jvnet.jaxb2_commons.lang.Equals;\r
-import org.jvnet.jaxb2_commons.lang.HashCode;\r
-import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;\r
-import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;\r
-\r
-\r
-/**\r
- * \r
- * \r
- * \r
- * <p>Java class for anonymous complex type.\r
- * \r
- * <p>The following schema fragment specifies the expected content contained within this class.\r
- * \r
- * <pre>\r
- * <complexType>\r
- * <complexContent>\r
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">\r
- * <sequence>\r
- * <element name="pageNum" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>\r
- * <element name="pageSize" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>\r
- * <element name="itemsInPage" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>\r
- * <element name="totalItems" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>\r
- * </sequence>\r
- * </restriction>\r
- * </complexContent>\r
- * </complexType>\r
- * </pre>\r
- * \r
- * \r
- */\r
-@XmlAccessorType(XmlAccessType.FIELD)\r
-@XmlType(name = "", propOrder = {\r
- "pageNum",\r
- "pageSize",\r
- "itemsInPage",\r
- "totalItems"\r
-})\r
-@XmlRootElement(name = "abstract-common-list")\r
-public class AbstractCommonList\r
- implements Equals, HashCode\r
-{\r
-\r
- @XmlSchemaType(name = "unsignedInt")\r
- protected long pageNum;\r
- @XmlSchemaType(name = "unsignedInt")\r
- protected long pageSize;\r
- @XmlSchemaType(name = "unsignedInt")\r
- protected long itemsInPage;\r
- @XmlSchemaType(name = "unsignedInt")\r
- protected long totalItems;\r
-\r
- /**\r
- * Gets the value of the pageNum property.\r
- * \r
- */\r
- public long getPageNum() {\r
- return pageNum;\r
- }\r
-\r
- /**\r
- * Sets the value of the pageNum property.\r
- * \r
- */\r
- public void setPageNum(long value) {\r
- this.pageNum = value;\r
- }\r
-\r
- /**\r
- * Gets the value of the pageSize property.\r
- * \r
- */\r
- public long getPageSize() {\r
- return pageSize;\r
- }\r
-\r
- /**\r
- * Sets the value of the pageSize property.\r
- * \r
- */\r
- public void setPageSize(long value) {\r
- this.pageSize = value;\r
- }\r
-\r
- /**\r
- * Gets the value of the itemsInPage property.\r
- * \r
- */\r
- public long getItemsInPage() {\r
- return itemsInPage;\r
- }\r
-\r
- /**\r
- * Sets the value of the itemsInPage property.\r
- * \r
- */\r
- public void setItemsInPage(long value) {\r
- this.itemsInPage = value;\r
- }\r
-\r
- /**\r
- * Gets the value of the totalItems property.\r
- * \r
- */\r
- public long getTotalItems() {\r
- return totalItems;\r
- }\r
-\r
- /**\r
- * Sets the value of the totalItems property.\r
- * \r
- */\r
- public void setTotalItems(long value) {\r
- this.totalItems = value;\r
- }\r
-\r
- public void equals(Object object, EqualsBuilder equalsBuilder) {\r
- if (!(object instanceof AbstractCommonList)) {\r
- equalsBuilder.appendSuper(false);\r
- return ;\r
- }\r
- if (this == object) {\r
- return ;\r
- }\r
- final AbstractCommonList that = ((AbstractCommonList) object);\r
- equalsBuilder.append(this.getPageNum(), that.getPageNum());\r
- equalsBuilder.append(this.getPageSize(), that.getPageSize());\r
- equalsBuilder.append(this.getItemsInPage(), that.getItemsInPage());\r
- equalsBuilder.append(this.getTotalItems(), that.getTotalItems());\r
- }\r
-\r
- public boolean equals(Object object) {\r
- if (!(object instanceof AbstractCommonList)) {\r
- return false;\r
- }\r
- if (this == object) {\r
- return true;\r
- }\r
- final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();\r
- equals(object, equalsBuilder);\r
- return equalsBuilder.isEquals();\r
- }\r
-\r
- public void hashCode(HashCodeBuilder hashCodeBuilder) {\r
- hashCodeBuilder.append(this.getPageNum());\r
- hashCodeBuilder.append(this.getPageSize());\r
- hashCodeBuilder.append(this.getItemsInPage());\r
- hashCodeBuilder.append(this.getTotalItems());\r
- }\r
-\r
- public int hashCode() {\r
- final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();\r
- hashCode(hashCodeBuilder);\r
- return hashCodeBuilder.toHashCode();\r
- }\r
-\r
-}\r