/** * Creates a new {@code ExpressionPipelineType} instance by deeply copying a given {@code ExpressionPipelineType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public ExpressionPipelineType(final ExpressionPipelineType o) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 super(o); if (o == null) { throw new NullPointerException("Cannot create a copy of 'ExpressionPipelineType' from 'null'."); } // 'ScriptingExpression' collection. if (o.scriptingExpression!= null) { copyScriptingExpression(o.getScriptingExpression(), this.getScriptingExpression()); } // CBuiltinLeafInfo: java.lang.Boolean this.list = ((o.list == null)?null:o.isList()); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { List<JAXBElement<? extends ScriptingExpressionType>> theScriptingExpression; theScriptingExpression = (((this.scriptingExpression!= null)&&(!this.scriptingExpression.isEmpty()))?this.getScriptingExpression():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scriptingExpression", theScriptingExpression), currentHashCode, theScriptingExpression); } { Boolean theList; theList = this.isList(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "list", theList), currentHashCode, theList); } return currentHashCode; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public ExpressionPipelineType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final ExpressionPipelineType clone = ((ExpressionPipelineType) super.clone()); // 'ScriptingExpression' collection. if (this.scriptingExpression!= null) { clone.scriptingExpression = null; copyScriptingExpression(this.getScriptingExpression(), clone.getScriptingExpression()); } // CBuiltinLeafInfo: java.lang.Boolean clone.list = ((this.list == null)?null:this.isList()); return clone; } }