public XSkewColList withElements(String... values) { if (values!= null) { for (String value: values) { getElements().add(value); } } return this; }
public XSkewColList withElements(String... values) { if (values!= null) { for (String value: values) { getElements().add(value); } } return this; }
public XSkewColList withElements(Collection<String> values) { if (values!= null) { getElements().addAll(values); } return this; }
public XSkewColList withElements(Collection<String> values) { if (values!= null) { getElements().addAll(values); } return this; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { List<String> theElements; theElements = (((this.elements!= null)&&(!this.elements.isEmpty()))?this.getElements():null); strategy.appendField(locator, this, "elements", buffer, theElements); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { List<String> theElements; theElements = (((this.elements!= null)&&(!this.elements.isEmpty()))?this.getElements():null); strategy.appendField(locator, this, "elements", buffer, theElements); } return buffer; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<String> theElements; theElements = (((this.elements!= null)&&(!this.elements.isEmpty()))?this.getElements():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elements", theElements), currentHashCode, theElements); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<String> theElements; theElements = (((this.elements!= null)&&(!this.elements.isEmpty()))?this.getElements():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elements", theElements), currentHashCode, theElements); } return currentHashCode; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof XSkewColList)) { return false; } if (this == object) { return true; } final XSkewColList that = ((XSkewColList) object); { List<String> lhsElements; lhsElements = (((this.elements!= null)&&(!this.elements.isEmpty()))?this.getElements():null); List<String> rhsElements; rhsElements = (((that.elements!= null)&&(!that.elements.isEmpty()))?that.getElements():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "elements", lhsElements), LocatorUtils.property(thatLocator, "elements", rhsElements), lhsElements, rhsElements)) { return false; } } return true; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof XSkewColList)) { return false; } if (this == object) { return true; } final XSkewColList that = ((XSkewColList) object); { List<String> lhsElements; lhsElements = (((this.elements!= null)&&(!this.elements.isEmpty()))?this.getElements():null); List<String> rhsElements; rhsElements = (((that.elements!= null)&&(!that.elements.isEmpty()))?that.getElements():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "elements", lhsElements), LocatorUtils.property(thatLocator, "elements", rhsElements), lhsElements, rhsElements)) { return false; } } return true; }
for (List<String> value : tbl.getSkewedColValues()) { XSkewColList colVallist = new XSkewColList(); colVallist.getElements().addAll(value); xskewinfo.getColValues().add(colVallist); XSkewedValueLocation valueLocation = new XSkewedValueLocation();
for (List<String> value : tbl.getSkewedColValues()) { XSkewColList colVallist = new XSkewColList(); colVallist.getElements().addAll(value); xskewinfo.getColValues().add(colVallist); XSkewedValueLocation valueLocation = new XSkewedValueLocation();