Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
  // 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: 2015.04.16 at 07:39:09 AM CEST 
  //
  
  
  package net.opengis.iso19139.gmd.v_20060504;
 

Java class for CI_Series_Type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CI_Series_Type">
   <complexContent>
     <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
       <sequence>
         <element name="name" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="issueIdentification" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
         <element name="page" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CI_Series_Type", propOrder = {
     "name",
     "issueIdentification",
     "page"
 })
 public class CISeriesType
     extends AbstractObjectType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     protected CharacterStringPropertyType name;
     protected CharacterStringPropertyType page;

    
Gets the value of the name property.

Returns:
possible object is
 
     public CharacterStringPropertyType getName() {
         return ;
     }

    
Sets the value of the name property.

Parameters:
value allowed object is
 
     public void setName(CharacterStringPropertyType value) {
         this. = value;
     }

    
Gets the value of the issueIdentification property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the issueIdentification property.

Parameters:
value allowed object is
        this. = value;
    }

    
Gets the value of the page property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the page property.

Parameters:
value allowed object is
    public void setPage(CharacterStringPropertyType value) {
        this. = value;
    }
    public String toString() {
        final ToStringStrategy strategy = .;
        final StringBuilder buffer = new StringBuilder();
        append(nullbufferstrategy);
        return buffer.toString();
    }
    public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
        strategy.appendStart(locatorthisbuffer);
        appendFields(locatorbufferstrategy);
        strategy.appendEnd(locatorthisbuffer);
        return buffer;
    }
    public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
        super.appendFields(locatorbufferstrategy);
        {
            CharacterStringPropertyType theName;
            theName = this.getName();
            strategy.appendField(locatorthis"name"buffertheName);
        }
        {
            CharacterStringPropertyType theIssueIdentification;
            theIssueIdentification = this.getIssueIdentification();
            strategy.appendField(locatorthis"issueIdentification"buffertheIssueIdentification);
        }
        {
            CharacterStringPropertyType thePage;
            thePage = this.getPage();
            strategy.appendField(locatorthis"page"bufferthePage);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof CISeriesType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final CISeriesType that = ((CISeriesTypeobject);
        {
            CharacterStringPropertyType lhsName;
            lhsName = this.getName();
            CharacterStringPropertyType rhsName;
            rhsName = that.getName();
            if (!strategy.equals(LocatorUtils.property(thisLocator"name"lhsName), LocatorUtils.property(thatLocator"name"rhsName), lhsNamerhsName)) {
                return false;
            }
        }
        {
            CharacterStringPropertyType lhsIssueIdentification;
            lhsIssueIdentification = this.getIssueIdentification();
            CharacterStringPropertyType rhsIssueIdentification;
            rhsIssueIdentification = that.getIssueIdentification();
            if (!strategy.equals(LocatorUtils.property(thisLocator"issueIdentification"lhsIssueIdentification), LocatorUtils.property(thatLocator"issueIdentification"rhsIssueIdentification), lhsIssueIdentificationrhsIssueIdentification)) {
                return false;
            }
        }
        {
            CharacterStringPropertyType lhsPage;
            lhsPage = this.getPage();
            CharacterStringPropertyType rhsPage;
            rhsPage = that.getPage();
            if (!strategy.equals(LocatorUtils.property(thisLocator"page"lhsPage), LocatorUtils.property(thatLocator"page"rhsPage), lhsPagerhsPage)) {
                return false;
            }
        }
        return true;
    }
    public boolean equals(Object object) {
        final EqualsStrategy strategy = .;
        return equals(nullnullobjectstrategy);
    }
    public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
        int currentHashCode = super.hashCode(locatorstrategy);
        {
            CharacterStringPropertyType theName;
            theName = this.getName();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"name"theName), currentHashCodetheName);
        }
        {
            CharacterStringPropertyType theIssueIdentification;
            theIssueIdentification = this.getIssueIdentification();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"issueIdentification"theIssueIdentification), currentHashCodetheIssueIdentification);
        }
        {
            CharacterStringPropertyType thePage;
            thePage = this.getPage();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"page"thePage), currentHashCodethePage);
        }
        return currentHashCode;
    }
    public int hashCode() {
        final HashCodeStrategy strategy = .;
        return this.hashCode(nullstrategy);
    }
    public Object clone() {
        return copyTo(createNewInstance());
    }
    public Object copyTo(Object target) {
        final CopyStrategy strategy = .;
        return copyTo(nulltargetstrategy);
    }
    public Object copyTo(ObjectLocator locatorObject targetCopyStrategy strategy) {
        final Object draftCopy = ((target == null)?createNewInstance():target);
        super.copyTo(locatordraftCopystrategy);
        if (draftCopy instanceof CISeriesType) {
            final CISeriesType copy = ((CISeriesTypedraftCopy);
            if (this.!= null) {
                CharacterStringPropertyType sourceName;
                sourceName = this.getName();
                CharacterStringPropertyType copyName = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"name"sourceName), sourceName));
                copy.setName(copyName);
            } else {
                copy.name = null;
            }
            if (this.!= null) {
                CharacterStringPropertyType sourceIssueIdentification;
                sourceIssueIdentification = this.getIssueIdentification();
                CharacterStringPropertyType copyIssueIdentification = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"issueIdentification"sourceIssueIdentification), sourceIssueIdentification));
                copy.setIssueIdentification(copyIssueIdentification);
            } else {
                copy.issueIdentification = null;
            }
            if (this.!= null) {
                CharacterStringPropertyType sourcePage;
                sourcePage = this.getPage();
                CharacterStringPropertyType copyPage = ((CharacterStringPropertyTypestrategy.copy(LocatorUtils.property(locator"page"sourcePage), sourcePage));
                copy.setPage(copyPage);
            } else {
                copy.page = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new CISeriesType();
    }
    public void mergeFrom(Object leftObject right) {
        final MergeStrategy strategy = .;
        mergeFrom(nullnullleftrightstrategy);
    }
    public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
        super.mergeFrom(leftLocatorrightLocatorleftrightstrategy);
        if (right instanceof CISeriesType) {
            final CISeriesType target = this;
            final CISeriesType leftObject = ((CISeriesTypeleft);
            final CISeriesType rightObject = ((CISeriesTyperight);
            {
                CharacterStringPropertyType lhsName;
                lhsName = leftObject.getName();
                CharacterStringPropertyType rhsName;
                rhsName = rightObject.getName();
                CharacterStringPropertyType mergedName = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"name"lhsName), LocatorUtils.property(rightLocator"name"rhsName), lhsNamerhsName));
                target.setName(mergedName);
            }
            {
                CharacterStringPropertyType lhsIssueIdentification;
                lhsIssueIdentification = leftObject.getIssueIdentification();
                CharacterStringPropertyType rhsIssueIdentification;
                rhsIssueIdentification = rightObject.getIssueIdentification();
                CharacterStringPropertyType mergedIssueIdentification = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"issueIdentification"lhsIssueIdentification), LocatorUtils.property(rightLocator"issueIdentification"rhsIssueIdentification), lhsIssueIdentificationrhsIssueIdentification));
                target.setIssueIdentification(mergedIssueIdentification);
            }
            {
                CharacterStringPropertyType lhsPage;
                lhsPage = leftObject.getPage();
                CharacterStringPropertyType rhsPage;
                rhsPage = rightObject.getPage();
                CharacterStringPropertyType mergedPage = ((CharacterStringPropertyTypestrategy.merge(LocatorUtils.property(leftLocator"page"lhsPage), LocatorUtils.property(rightLocator"page"rhsPage), lhsPagerhsPage));
                target.setPage(mergedPage);
            }
        }
    }
        setName(value);
        return this;
    }
        setIssueIdentification(value);
        return this;
    }
        setPage(value);
        return this;
    }
    @Override
    public CISeriesType withId(String value) {
        setId(value);
        return this;
    }
    @Override
    public CISeriesType withUuid(String value) {
        setUuid(value);
        return this;
    }
New to GrepCode? Check out our FAQ X