/** * Create an instance of {@link PopulateType } * */ public PopulateType createPopulateType() { return new PopulateType(); }
/** * Creates a new {@code PopulateType} instance by deeply copying a given {@code PopulateType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public PopulateType(final PopulateType o) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 super(); if (o == null) { throw new NullPointerException("Cannot create a copy of 'PopulateType' from 'null'."); } // 'PopulateItem' collection. if (o.populateItem!= null) { copyPopulateItem(o.getPopulateItem(), this.getPopulateItem()); } }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public PopulateType populateItem(PopulateItemType value) { getPopulateItem().add(value); return this; }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public PopulateItemType beginPopulateItem() { PopulateItemType value = new PopulateItemType(); populateItem(value); return value; }
public static <V extends PrismValue, D extends ItemDefinition, C extends Containerable> List<ItemDelta<V,D>> computePopulateItemDeltas(PopulateType fromPopulate, PrismContainerDefinition<C> targetContainerDefinition, ExpressionVariables variables, ExpressionEvaluationContext params, String contextDescription, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, SecurityViolationException { if (!(targetContainerDefinition instanceof PrismContainerDefinition)) { return null; } List<ItemDelta<V,D>> deltas = new ArrayList<>(); for (PopulateItemType populateItem: fromPopulate.getPopulateItem()) { ItemDelta<V,D> itemDelta = evaluatePopulateExpression(populateItem, variables, params, targetContainerDefinition, contextDescription, false, task, result); if (itemDelta != null) { deltas.add(itemDelta); } } return deltas; }
/** * Create an instance of {@link PopulateType } * */ public PopulateType createPopulateType() { return new PopulateType(); }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public PopulateType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final PopulateType clone = ((PopulateType) super.clone()); // 'PopulateItem' collection. if (this.populateItem!= null) { clone.populateItem = null; copyPopulateItem(this.getPopulateItem(), clone.getPopulateItem()); } return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<PopulateItemType> thePopulateItem; thePopulateItem = (((this.populateItem!= null)&&(!this.populateItem.isEmpty()))?this.getPopulateItem():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "populateItem", thePopulateItem), currentHashCode, thePopulateItem); } return currentHashCode; }
/** * Create an instance of {@link PopulateType } * */ public PopulateType createPopulateType() { return new PopulateType(); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof PopulateType)) { return false; } if (this == object) { return true; } final PopulateType that = ((PopulateType) object); { List<PopulateItemType> lhsPopulateItem; lhsPopulateItem = (((this.populateItem!= null)&&(!this.populateItem.isEmpty()))?this.getPopulateItem():null); List<PopulateItemType> rhsPopulateItem; rhsPopulateItem = (((that.populateItem!= null)&&(!that.populateItem.isEmpty()))?that.getPopulateItem():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "populateItem", lhsPopulateItem), LocatorUtils.property(thatLocator, "populateItem", rhsPopulateItem), lhsPopulateItem, rhsPopulateItem)) { return false; } } return true; }
public PopulateType beginPopulateObject() { PopulateType value = new PopulateType(); populateObject(value); return value; }
public PopulateType beginPopulate() { PopulateType value = new PopulateType(); populate(value); return value; }
public PopulateType beginPopulate() { PopulateType value = new PopulateType(); populate(value); return value; }
public PopulateType beginPopulateObject() { PopulateType value = new PopulateType(); populateObject(value); return value; }
public PopulateType beginPopulate() { PopulateType value = new PopulateType(); populate(value); return value; }
public PopulateType beginPopulateObject() { PopulateType value = new PopulateType(); populateObject(value); return value; }