public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { List<DirectedEdgePropertyType> theDirectedEdge; theDirectedEdge = this.getDirectedEdge(); strategy.appendField(locator, this, "directedEdge", buffer, theDirectedEdge); } { PointPropertyType thePointProperty; thePointProperty = this.getPointProperty(); strategy.appendField(locator, this, "pointProperty", buffer, thePointProperty); } return buffer; }
public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) { super.mergeFrom(leftLocator, rightLocator, left, right, strategy); if (right instanceof NodeType) { final NodeType target = this; final NodeType leftObject = ((NodeType) left); final NodeType rightObject = ((NodeType) right); { List<DirectedEdgePropertyType> lhsDirectedEdge; lhsDirectedEdge = leftObject.getDirectedEdge(); List<DirectedEdgePropertyType> rhsDirectedEdge; rhsDirectedEdge = rightObject.getDirectedEdge(); target.unsetDirectedEdge(); List<DirectedEdgePropertyType> uniqueDirectedEdgel = target.getDirectedEdge(); uniqueDirectedEdgel.addAll(((List<DirectedEdgePropertyType> ) strategy.merge(LocatorUtils.property(leftLocator, "directedEdge", lhsDirectedEdge), LocatorUtils.property(rightLocator, "directedEdge", rhsDirectedEdge), lhsDirectedEdge, rhsDirectedEdge))); } { PointPropertyType lhsPointProperty; lhsPointProperty = leftObject.getPointProperty(); PointPropertyType rhsPointProperty; rhsPointProperty = rightObject.getPointProperty(); target.setPointProperty(((PointPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "pointProperty", lhsPointProperty), LocatorUtils.property(rightLocator, "pointProperty", rhsPointProperty), lhsPointProperty, rhsPointProperty))); } } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { List<DirectedEdgePropertyType> theDirectedEdge; theDirectedEdge = this.getDirectedEdge(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "directedEdge", theDirectedEdge), currentHashCode, theDirectedEdge); } { PointPropertyType thePointProperty; thePointProperty = this.getPointProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pointProperty", thePointProperty), currentHashCode, thePointProperty); } return currentHashCode; }
lhsPointProperty = this.getPointProperty(); PointPropertyType rhsPointProperty; rhsPointProperty = that.getPointProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "pointProperty", lhsPointProperty), LocatorUtils.property(thatLocator, "pointProperty", rhsPointProperty), lhsPointProperty, rhsPointProperty)) { return false;
lhsPointProperty = this.getPointProperty(); PointPropertyType rhsPointProperty; rhsPointProperty = that.getPointProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "pointProperty", lhsPointProperty), LocatorUtils.property(thatLocator, "pointProperty", rhsPointProperty), lhsPointProperty, rhsPointProperty, this.isSetPointProperty(), that.isSetPointProperty())) { return false;
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { super.appendFields(locator, buffer, strategy); { List<DirectedEdgePropertyType> theDirectedEdge; theDirectedEdge = (this.isSetDirectedEdge()?this.getDirectedEdge():null); strategy.appendField(locator, this, "directedEdge", buffer, theDirectedEdge, this.isSetDirectedEdge()); } { PointPropertyType thePointProperty; thePointProperty = this.getPointProperty(); strategy.appendField(locator, this, "pointProperty", buffer, thePointProperty, this.isSetPointProperty()); } return buffer; }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = super.hashCode(locator, strategy); { List<DirectedEdgePropertyType> theDirectedEdge; theDirectedEdge = (this.isSetDirectedEdge()?this.getDirectedEdge():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "directedEdge", theDirectedEdge), currentHashCode, theDirectedEdge, this.isSetDirectedEdge()); } { PointPropertyType thePointProperty; thePointProperty = this.getPointProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pointProperty", thePointProperty), currentHashCode, thePointProperty, this.isSetPointProperty()); } return currentHashCode; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof NodeType) { final NodeType copy = ((NodeType) draftCopy); if (this.isSetDirectedEdge()) { List<DirectedEdgePropertyType> sourceDirectedEdge; sourceDirectedEdge = this.getDirectedEdge(); @SuppressWarnings("unchecked") List<DirectedEdgePropertyType> copyDirectedEdge = ((List<DirectedEdgePropertyType> ) strategy.copy(LocatorUtils.property(locator, "directedEdge", sourceDirectedEdge), sourceDirectedEdge)); copy.unsetDirectedEdge(); List<DirectedEdgePropertyType> uniqueDirectedEdgel = copy.getDirectedEdge(); uniqueDirectedEdgel.addAll(copyDirectedEdge); } else { copy.unsetDirectedEdge(); } if (this.isSetPointProperty()) { PointPropertyType sourcePointProperty; sourcePointProperty = this.getPointProperty(); PointPropertyType copyPointProperty = ((PointPropertyType) strategy.copy(LocatorUtils.property(locator, "pointProperty", sourcePointProperty), sourcePointProperty)); copy.setPointProperty(copyPointProperty); } else { copy.pointProperty = null; } } return draftCopy; }
if (pointPropertyShouldBeMergedAndSet == Boolean.TRUE) { PointPropertyType lhsPointProperty; lhsPointProperty = leftObject.getPointProperty(); PointPropertyType rhsPointProperty; rhsPointProperty = rightObject.getPointProperty(); PointPropertyType mergedPointProperty = ((PointPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "pointProperty", lhsPointProperty), LocatorUtils.property(rightLocator, "pointProperty", rhsPointProperty), lhsPointProperty, rhsPointProperty, leftObject.isSetPointProperty(), rightObject.isSetPointProperty())); target.setPointProperty(mergedPointProperty);
if (pointPropertyShouldBeCopiedAndSet == Boolean.TRUE) { PointPropertyType sourcePointProperty; sourcePointProperty = this.getPointProperty(); PointPropertyType copyPointProperty = ((PointPropertyType) strategy.copy(LocatorUtils.property(locator, "pointProperty", sourcePointProperty), sourcePointProperty, this.isSetPointProperty())); copy.setPointProperty(copyPointProperty);