/** * Create an instance of {@link GeometryAssociationType } * */ public GeometryAssociationType createGeometryAssociationType() { return new GeometryAssociationType(); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); return buffer; }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public Object clone() { return copyTo(createNewInstance()); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof GeometryAssociationType) { final GeometryAssociationType copy = ((GeometryAssociationType) draftCopy); if (this.isSetGeometry()) { JAXBElement<? extends AbstractGeometryType> sourceGeometry; sourceGeometry = this.getGeometry(); @SuppressWarnings("unchecked") JAXBElement<? extends AbstractGeometryType> copyGeometry = ((JAXBElement<? extends AbstractGeometryType> ) strategy.copy(LocatorUtils.property(locator, "geometry", sourceGeometry), sourceGeometry)); copy.setGeometry(copyGeometry); } else { copy.geometry = null; if (this.isSetRemoteSchema()) { String sourceRemoteSchema; sourceRemoteSchema = this.getRemoteSchema(); String copyRemoteSchema = ((String) strategy.copy(LocatorUtils.property(locator, "remoteSchema", sourceRemoteSchema), sourceRemoteSchema)); copy.setRemoteSchema(copyRemoteSchema); } else { copy.remoteSchema = null; if (this.isSetHref()) { String sourceHref; sourceHref = this.getHref(); String copyHref = ((String) strategy.copy(LocatorUtils.property(locator, "href", sourceHref), sourceHref)); copy.setHref(copyHref); } else { copy.href = null; if (this.isSetRole()) {
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { theGeometry = this.getGeometry(); strategy.appendField(locator, this, "geometry", buffer, theGeometry, this.isSetGeometry()); theRemoteSchema = this.getRemoteSchema(); strategy.appendField(locator, this, "remoteSchema", buffer, theRemoteSchema, this.isSetRemoteSchema()); theTYPE = this.getTYPE(); strategy.appendField(locator, this, "type", buffer, theTYPE, this.isSetTYPE()); theHref = this.getHref(); strategy.appendField(locator, this, "href", buffer, theHref, this.isSetHref()); theRole = this.getRole(); strategy.appendField(locator, this, "role", buffer, theRole, this.isSetRole()); theArcrole = this.getArcrole(); strategy.appendField(locator, this, "arcrole", buffer, theArcrole, this.isSetArcrole()); theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle, this.isSetTitle()); theShow = this.getShow(); strategy.appendField(locator, this, "show", buffer, theShow, this.isSetShow()); theActuate = this.getActuate(); strategy.appendField(locator, this, "actuate", buffer, theActuate, this.isSetActuate());
lhsGeometry = leftObject.getGeometry(); JAXBElement<? extends AbstractGeometryType> rhsGeometry; rhsGeometry = rightObject.getGeometry(); target.setGeometry(((JAXBElement<? extends AbstractGeometryType> ) strategy.merge(LocatorUtils.property(leftLocator, "geometry", lhsGeometry), LocatorUtils.property(rightLocator, "geometry", rhsGeometry), lhsGeometry, rhsGeometry))); lhsRemoteSchema = leftObject.getRemoteSchema(); String rhsRemoteSchema; rhsRemoteSchema = rightObject.getRemoteSchema(); target.setRemoteSchema(((String) strategy.merge(LocatorUtils.property(leftLocator, "remoteSchema", lhsRemoteSchema), LocatorUtils.property(rightLocator, "remoteSchema", rhsRemoteSchema), lhsRemoteSchema, rhsRemoteSchema))); lhsHref = leftObject.getHref(); String rhsHref; rhsHref = rightObject.getHref(); target.setHref(((String) strategy.merge(LocatorUtils.property(leftLocator, "href", lhsHref), LocatorUtils.property(rightLocator, "href", rhsHref), lhsHref, rhsHref))); lhsRole = leftObject.getRole(); String rhsRole; rhsRole = rightObject.getRole(); target.setRole(((String) strategy.merge(LocatorUtils.property(leftLocator, "role", lhsRole), LocatorUtils.property(rightLocator, "role", rhsRole), lhsRole, rhsRole))); lhsArcrole = leftObject.getArcrole(); String rhsArcrole; rhsArcrole = rightObject.getArcrole(); target.setArcrole(((String) strategy.merge(LocatorUtils.property(leftLocator, "arcrole", lhsArcrole), LocatorUtils.property(rightLocator, "arcrole", rhsArcrole), lhsArcrole, rhsArcrole))); lhsTitle = leftObject.getTitle(); String rhsTitle; rhsTitle = rightObject.getTitle(); target.setTitle(((String) strategy.merge(LocatorUtils.property(leftLocator, "title", lhsTitle), LocatorUtils.property(rightLocator, "title", rhsTitle), lhsTitle, rhsTitle)));
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { theGeometry = this.getGeometry(); strategy.appendField(locator, this, "geometry", buffer, theGeometry); theRemoteSchema = this.getRemoteSchema(); strategy.appendField(locator, this, "remoteSchema", buffer, theRemoteSchema); theHref = this.getHref(); strategy.appendField(locator, this, "href", buffer, theHref); theRole = this.getRole(); strategy.appendField(locator, this, "role", buffer, theRole); theArcrole = this.getArcrole(); strategy.appendField(locator, this, "arcrole", buffer, theArcrole); theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle); theShow = this.getShow(); strategy.appendField(locator, this, "show", buffer, theShow); theActuate = this.getActuate(); strategy.appendField(locator, this, "actuate", buffer, theActuate);
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof PolygonMemberType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } return true; }
public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
Boolean geometryShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGeometry(), rightObject.isSetGeometry()); if (geometryShouldBeMergedAndSet == Boolean.TRUE) { JAXBElement<? extends AbstractGeometryType> lhsGeometry; lhsGeometry = leftObject.getGeometry(); JAXBElement<? extends AbstractGeometryType> rhsGeometry; rhsGeometry = rightObject.getGeometry(); JAXBElement<? extends AbstractGeometryType> mergedGeometry = ((JAXBElement<? extends AbstractGeometryType> ) strategy.merge(LocatorUtils.property(leftLocator, "geometry", lhsGeometry), LocatorUtils.property(rightLocator, "geometry", rhsGeometry), lhsGeometry, rhsGeometry, leftObject.isSetGeometry(), rightObject.isSetGeometry())); target.setGeometry(mergedGeometry); } else { if (geometryShouldBeMergedAndSet == Boolean.FALSE) { Boolean remoteSchemaShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetRemoteSchema(), rightObject.isSetRemoteSchema()); if (remoteSchemaShouldBeMergedAndSet == Boolean.TRUE) { String lhsRemoteSchema; lhsRemoteSchema = leftObject.getRemoteSchema(); String rhsRemoteSchema; rhsRemoteSchema = rightObject.getRemoteSchema(); String mergedRemoteSchema = ((String) strategy.merge(LocatorUtils.property(leftLocator, "remoteSchema", lhsRemoteSchema), LocatorUtils.property(rightLocator, "remoteSchema", rhsRemoteSchema), lhsRemoteSchema, rhsRemoteSchema, leftObject.isSetRemoteSchema(), rightObject.isSetRemoteSchema())); target.setRemoteSchema(mergedRemoteSchema); } else { if (remoteSchemaShouldBeMergedAndSet == Boolean.FALSE) { Boolean typeShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetTYPE(), rightObject.isSetTYPE()); if (typeShouldBeMergedAndSet == Boolean.TRUE) { TypeType lhsTYPE; lhsTYPE = leftObject.getTYPE(); TypeType rhsTYPE; rhsTYPE = rightObject.getTYPE(); TypeType mergedTYPE = ((TypeType) strategy.merge(LocatorUtils.property(leftLocator, "type", lhsTYPE), LocatorUtils.property(rightLocator, "type", rhsTYPE), lhsTYPE, rhsTYPE, leftObject.isSetTYPE(), rightObject.isSetTYPE()));
theGeometry = this.getGeometry(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "geometry", theGeometry), currentHashCode, theGeometry, this.isSetGeometry()); theRemoteSchema = this.getRemoteSchema(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "remoteSchema", theRemoteSchema), currentHashCode, theRemoteSchema, this.isSetRemoteSchema()); theTYPE = this.getTYPE(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theTYPE), currentHashCode, theTYPE, this.isSetTYPE()); theHref = this.getHref(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "href", theHref), currentHashCode, theHref, this.isSetHref()); theRole = this.getRole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "role", theRole), currentHashCode, theRole, this.isSetRole()); theArcrole = this.getArcrole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arcrole", theArcrole), currentHashCode, theArcrole, this.isSetArcrole()); theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, this.isSetTitle()); theShow = this.getShow(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "show", theShow), currentHashCode, theShow, this.isSetShow()); theActuate = this.getActuate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actuate", theActuate), currentHashCode, theActuate, this.isSetActuate());
lhsGeometry = this.getGeometry(); JAXBElement<? extends AbstractGeometryType> rhsGeometry; rhsGeometry = that.getGeometry(); if (!strategy.equals(LocatorUtils.property(thisLocator, "geometry", lhsGeometry), LocatorUtils.property(thatLocator, "geometry", rhsGeometry), lhsGeometry, rhsGeometry)) { return false; lhsRemoteSchema = this.getRemoteSchema(); String rhsRemoteSchema; rhsRemoteSchema = that.getRemoteSchema(); if (!strategy.equals(LocatorUtils.property(thisLocator, "remoteSchema", lhsRemoteSchema), LocatorUtils.property(thatLocator, "remoteSchema", rhsRemoteSchema), lhsRemoteSchema, rhsRemoteSchema)) { return false; lhsHref = this.getHref(); String rhsHref; rhsHref = that.getHref(); if (!strategy.equals(LocatorUtils.property(thisLocator, "href", lhsHref), LocatorUtils.property(thatLocator, "href", rhsHref), lhsHref, rhsHref)) { return false; lhsRole = this.getRole(); String rhsRole; rhsRole = that.getRole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "role", lhsRole), LocatorUtils.property(thatLocator, "role", rhsRole), lhsRole, rhsRole)) { return false; lhsArcrole = this.getArcrole(); String rhsArcrole; rhsArcrole = that.getArcrole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "arcrole", lhsArcrole), LocatorUtils.property(thatLocator, "arcrole", rhsArcrole), lhsArcrole, rhsArcrole)) { return false;
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof PointPropertyType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } return true; }
public Object clone() { return copyTo(createNewInstance()); }
public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof GeometryAssociationType) { final GeometryAssociationType copy = ((GeometryAssociationType) draftCopy); Boolean geometryShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGeometry()); if (geometryShouldBeCopiedAndSet == Boolean.TRUE) { JAXBElement<? extends AbstractGeometryType> sourceGeometry; sourceGeometry = this.getGeometry(); @SuppressWarnings("unchecked") JAXBElement<? extends AbstractGeometryType> copyGeometry = ((JAXBElement<? extends AbstractGeometryType> ) strategy.copy(LocatorUtils.property(locator, "geometry", sourceGeometry), sourceGeometry, this.isSetGeometry())); copy.setGeometry(copyGeometry); } else { if (geometryShouldBeCopiedAndSet == Boolean.FALSE) { Boolean remoteSchemaShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetRemoteSchema()); if (remoteSchemaShouldBeCopiedAndSet == Boolean.TRUE) { String sourceRemoteSchema; sourceRemoteSchema = this.getRemoteSchema(); String copyRemoteSchema = ((String) strategy.copy(LocatorUtils.property(locator, "remoteSchema", sourceRemoteSchema), sourceRemoteSchema, this.isSetRemoteSchema())); copy.setRemoteSchema(copyRemoteSchema); } else { if (remoteSchemaShouldBeCopiedAndSet == Boolean.FALSE) { Boolean typeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetTYPE()); if (typeShouldBeCopiedAndSet == Boolean.TRUE) { TypeType sourceTYPE; sourceTYPE = this.getTYPE(); TypeType copyTYPE = ((TypeType) strategy.copy(LocatorUtils.property(locator, "type", sourceTYPE), sourceTYPE, this.isSetTYPE())); copy.setTYPE(copyTYPE);
lhsGeometry = this.getGeometry(); JAXBElement<? extends AbstractGeometryType> rhsGeometry; rhsGeometry = that.getGeometry(); if (!strategy.equals(LocatorUtils.property(thisLocator, "geometry", lhsGeometry), LocatorUtils.property(thatLocator, "geometry", rhsGeometry), lhsGeometry, rhsGeometry, this.isSetGeometry(), that.isSetGeometry())) { return false; lhsRemoteSchema = this.getRemoteSchema(); String rhsRemoteSchema; rhsRemoteSchema = that.getRemoteSchema(); if (!strategy.equals(LocatorUtils.property(thisLocator, "remoteSchema", lhsRemoteSchema), LocatorUtils.property(thatLocator, "remoteSchema", rhsRemoteSchema), lhsRemoteSchema, rhsRemoteSchema, this.isSetRemoteSchema(), that.isSetRemoteSchema())) { return false; lhsTYPE = this.getTYPE(); TypeType rhsTYPE; rhsTYPE = that.getTYPE(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsTYPE), LocatorUtils.property(thatLocator, "type", rhsTYPE), lhsTYPE, rhsTYPE, this.isSetTYPE(), that.isSetTYPE())) { return false; lhsHref = this.getHref(); String rhsHref; rhsHref = that.getHref(); if (!strategy.equals(LocatorUtils.property(thisLocator, "href", lhsHref), LocatorUtils.property(thatLocator, "href", rhsHref), lhsHref, rhsHref, this.isSetHref(), that.isSetHref())) { return false; lhsRole = this.getRole(); String rhsRole; rhsRole = that.getRole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "role", lhsRole), LocatorUtils.property(thatLocator, "role", rhsRole), lhsRole, rhsRole, this.isSetRole(), that.isSetRole())) { return false;
theGeometry = this.getGeometry(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "geometry", theGeometry), currentHashCode, theGeometry); theRemoteSchema = this.getRemoteSchema(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "remoteSchema", theRemoteSchema), currentHashCode, theRemoteSchema); theHref = this.getHref(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "href", theHref), currentHashCode, theHref); theRole = this.getRole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "role", theRole), currentHashCode, theRole); theArcrole = this.getArcrole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arcrole", theArcrole), currentHashCode, theArcrole); theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle); theShow = this.getShow(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "show", theShow), currentHashCode, theShow); theActuate = this.getActuate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actuate", theActuate), currentHashCode, theActuate);
public Object copyTo(Object target) { final CopyStrategy strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }