public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
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 StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theGid; theGid = this.getGid(); strategy.appendField(locator, this, "gid", buffer, theGid, this.isSetGid()); } { String theSrsName; theSrsName = this.getSrsName(); strategy.appendField(locator, this, "srsName", buffer, theSrsName, this.isSetSrsName()); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { String theGid; theGid = this.getGid(); strategy.appendField(locator, this, "gid", buffer, theGid); } { String theSrsName; theSrsName = this.getSrsName(); strategy.appendField(locator, this, "srsName", buffer, theSrsName); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { if (null == target) { throw new IllegalArgumentException("Target argument must not be null for abstract copyable classes."); } if (target instanceof AbstractGeometryType) { final AbstractGeometryType copy = ((AbstractGeometryType) target); if (this.isSetGid()) { String sourceGid; sourceGid = this.getGid(); String copyGid = ((String) strategy.copy(LocatorUtils.property(locator, "gid", sourceGid), sourceGid)); copy.setGid(copyGid); } else { copy.gid = null; } if (this.isSetSrsName()) { String sourceSrsName; sourceSrsName = this.getSrsName(); String copySrsName = ((String) strategy.copy(LocatorUtils.property(locator, "srsName", sourceSrsName), sourceSrsName)); copy.setSrsName(copySrsName); } else { copy.srsName = null; } } return target; }
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) { if (right instanceof AbstractGeometryType) { final AbstractGeometryType target = this; final AbstractGeometryType leftObject = ((AbstractGeometryType) left); final AbstractGeometryType rightObject = ((AbstractGeometryType) right); { String lhsGid; lhsGid = leftObject.getGid(); String rhsGid; rhsGid = rightObject.getGid(); target.setGid(((String) strategy.merge(LocatorUtils.property(leftLocator, "gid", lhsGid), LocatorUtils.property(rightLocator, "gid", rhsGid), lhsGid, rhsGid))); } { String lhsSrsName; lhsSrsName = leftObject.getSrsName(); String rhsSrsName; rhsSrsName = rightObject.getSrsName(); target.setSrsName(((String) strategy.merge(LocatorUtils.property(leftLocator, "srsName", lhsSrsName), LocatorUtils.property(rightLocator, "srsName", rhsSrsName), lhsSrsName, rhsSrsName))); } } }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof AbstractGeometryCollectionBaseType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } return true; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); return currentHashCode; }
final AbstractGeometryType rightObject = ((AbstractGeometryType) right); Boolean gidShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGid(), rightObject.isSetGid()); if (gidShouldBeMergedAndSet == Boolean.TRUE) { String lhsGid; lhsGid = leftObject.getGid(); String rhsGid; rhsGid = rightObject.getGid(); String mergedGid = ((String) strategy.merge(LocatorUtils.property(leftLocator, "gid", lhsGid), LocatorUtils.property(rightLocator, "gid", rhsGid), lhsGid, rhsGid, leftObject.isSetGid(), rightObject.isSetGid())); target.setGid(mergedGid); } else { if (gidShouldBeMergedAndSet == Boolean.FALSE) { Boolean srsNameShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetSrsName(), rightObject.isSetSrsName()); if (srsNameShouldBeMergedAndSet == Boolean.TRUE) { String lhsSrsName; lhsSrsName = leftObject.getSrsName(); String rhsSrsName; rhsSrsName = rightObject.getSrsName(); String mergedSrsName = ((String) strategy.merge(LocatorUtils.property(leftLocator, "srsName", lhsSrsName), LocatorUtils.property(rightLocator, "srsName", rhsSrsName), lhsSrsName, rhsSrsName, leftObject.isSetSrsName(), rightObject.isSetSrsName())); target.setSrsName(mergedSrsName); } else { if (srsNameShouldBeMergedAndSet == Boolean.FALSE) {
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theGid; theGid = this.getGid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gid", theGid), currentHashCode, theGid, this.isSetGid()); } { String theSrsName; theSrsName = this.getSrsName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "srsName", theSrsName), currentHashCode, theSrsName, this.isSetSrsName()); } return currentHashCode; }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theGid; theGid = this.getGid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "gid", theGid), currentHashCode, theGid); } { String theSrsName; theSrsName = this.getSrsName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "srsName", theSrsName), currentHashCode, theSrsName); } return currentHashCode; }
public Object clone() { return copyTo(createNewInstance()); }
final AbstractGeometryType copy = ((AbstractGeometryType) target); Boolean gidShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGid()); if (gidShouldBeCopiedAndSet == Boolean.TRUE) { String sourceGid; sourceGid = this.getGid(); String copyGid = ((String) strategy.copy(LocatorUtils.property(locator, "gid", sourceGid), sourceGid, this.isSetGid())); copy.setGid(copyGid); } else { if (gidShouldBeCopiedAndSet == Boolean.FALSE) { Boolean srsNameShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetSrsName()); if (srsNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceSrsName; sourceSrsName = this.getSrsName(); String copySrsName = ((String) strategy.copy(LocatorUtils.property(locator, "srsName", sourceSrsName), sourceSrsName, this.isSetSrsName())); copy.setSrsName(copySrsName); } else { if (srsNameShouldBeCopiedAndSet == Boolean.FALSE) {
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final AbstractGeometryType that = ((AbstractGeometryType) object); { String lhsGid; lhsGid = this.getGid(); String rhsGid; rhsGid = that.getGid(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gid", lhsGid), LocatorUtils.property(thatLocator, "gid", rhsGid), lhsGid, rhsGid, this.isSetGid(), that.isSetGid())) { return false; } } { String lhsSrsName; lhsSrsName = this.getSrsName(); String rhsSrsName; rhsSrsName = that.getSrsName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "srsName", lhsSrsName), LocatorUtils.property(thatLocator, "srsName", rhsSrsName), lhsSrsName, rhsSrsName, this.isSetSrsName(), that.isSetSrsName())) { return false; } } return true; }
public Object copyTo(Object target) { final CopyStrategy strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { super.appendFields(locator, buffer, strategy); return buffer; }