/** * RemotePage.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package org.openehealth.ipf.labs.maven.confluence.export.html.v2; public class RemotePage extends org.openehealth.ipf.labs.maven.confluence.export.html.v2.RemotePageSummary implements java.io.Serializable { private java.lang.String content; private java.lang.String contentStatus; private java.util.Calendar created; private java.lang.String creator; private boolean current; private boolean homePage; private java.util.Calendar modified; private java.lang.String modifier; public RemotePage() { } public RemotePage( long id, int permissions, java.lang.String space, java.lang.String title, java.lang.String url, long parentId, int version, java.lang.String content, java.lang.String contentStatus, java.util.Calendar created, java.lang.String creator, boolean current, boolean homePage, java.util.Calendar modified, java.lang.String modifier) { super( id, permissions, space, title, url, parentId, version); this.content = content; this.contentStatus = contentStatus; this.created = created; this.creator = creator; this.current = current; this.homePage = homePage; this.modified = modified; this.modifier = modifier; } /** * Gets the content value for this RemotePage. * * @return content */ public java.lang.String getContent() { return content; } /** * Sets the content value for this RemotePage. * * @param content */ public void setContent(java.lang.String content) { this.content = content; } /** * Gets the contentStatus value for this RemotePage. * * @return contentStatus */ public java.lang.String getContentStatus() { return contentStatus; } /** * Sets the contentStatus value for this RemotePage. * * @param contentStatus */ public void setContentStatus(java.lang.String contentStatus) { this.contentStatus = contentStatus; } /** * Gets the created value for this RemotePage. * * @return created */ public java.util.Calendar getCreated() { return created; } /** * Sets the created value for this RemotePage. * * @param created */ public void setCreated(java.util.Calendar created) { this.created = created; } /** * Gets the creator value for this RemotePage. * * @return creator */ public java.lang.String getCreator() { return creator; } /** * Sets the creator value for this RemotePage. * * @param creator */ public void setCreator(java.lang.String creator) { this.creator = creator; } /** * Gets the current value for this RemotePage. * * @return current */ public boolean isCurrent() { return current; } /** * Sets the current value for this RemotePage. * * @param current */ public void setCurrent(boolean current) { this.current = current; } /** * Gets the homePage value for this RemotePage. * * @return homePage */ public boolean isHomePage() { return homePage; } /** * Sets the homePage value for this RemotePage. * * @param homePage */ public void setHomePage(boolean homePage) { this.homePage = homePage; } /** * Gets the modified value for this RemotePage. * * @return modified */ public java.util.Calendar getModified() { return modified; } /** * Sets the modified value for this RemotePage. * * @param modified */ public void setModified(java.util.Calendar modified) { this.modified = modified; } /** * Gets the modifier value for this RemotePage. * * @return modifier */ public java.lang.String getModifier() { return modifier; } /** * Sets the modifier value for this RemotePage. * * @param modifier */ public void setModifier(java.lang.String modifier) { this.modifier = modifier; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof RemotePage)) return false; RemotePage other = (RemotePage) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = super.equals(obj) && ((this.content==null && other.getContent()==null) || (this.content!=null && this.content.equals(other.getContent()))) && ((this.contentStatus==null && other.getContentStatus()==null) || (this.contentStatus!=null && this.contentStatus.equals(other.getContentStatus()))) && ((this.created==null && other.getCreated()==null) || (this.created!=null && this.created.equals(other.getCreated()))) && ((this.creator==null && other.getCreator()==null) || (this.creator!=null && this.creator.equals(other.getCreator()))) && this.current == other.isCurrent() && this.homePage == other.isHomePage() && ((this.modified==null && other.getModified()==null) || (this.modified!=null && this.modified.equals(other.getModified()))) && ((this.modifier==null && other.getModifier()==null) || (this.modifier!=null && this.modifier.equals(other.getModifier()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = super.hashCode(); if (getContent() != null) { _hashCode += getContent().hashCode(); } if (getContentStatus() != null) { _hashCode += getContentStatus().hashCode(); } if (getCreated() != null) { _hashCode += getCreated().hashCode(); } if (getCreator() != null) { _hashCode += getCreator().hashCode(); } _hashCode += (isCurrent() ? Boolean.TRUE : Boolean.FALSE).hashCode(); _hashCode += (isHomePage() ? Boolean.TRUE : Boolean.FALSE).hashCode(); if (getModified() != null) { _hashCode += getModified().hashCode(); } if (getModifier() != null) { _hashCode += getModifier().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(RemotePage.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.confluence.atlassian.com", "RemotePage")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("content"); elemField.setXmlName(new javax.xml.namespace.QName("", "content")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("contentStatus"); elemField.setXmlName(new javax.xml.namespace.QName("", "contentStatus")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("created"); elemField.setXmlName(new javax.xml.namespace.QName("", "created")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("creator"); elemField.setXmlName(new javax.xml.namespace.QName("", "creator")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("current"); elemField.setXmlName(new javax.xml.namespace.QName("", "current")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("homePage"); elemField.setXmlName(new javax.xml.namespace.QName("", "homePage")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("modified"); elemField.setXmlName(new javax.xml.namespace.QName("", "modified")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("modifier"); elemField.setXmlName(new javax.xml.namespace.QName("", "modifier")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); } /** * Return type metadata object */ public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; } /** * Get Custom Serializer */ public static org.apache.axis.encoding.Serializer getSerializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer( _javaType, _xmlType, typeDesc); } /** * Get Custom Deserializer */ public static org.apache.axis.encoding.Deserializer getDeserializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer( _javaType, _xmlType, typeDesc); } }