public AbstractWriteCapabilityType manual(Boolean value) { setManual(value); return this; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public DeleteCapabilityType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final DeleteCapabilityType clone = ((DeleteCapabilityType) super.clone()); return clone; } }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof CreateCapabilityType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } return true; }
/** * Creates a new {@code AbstractWriteCapabilityType} instance by deeply copying a given {@code AbstractWriteCapabilityType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public AbstractWriteCapabilityType(final AbstractWriteCapabilityType 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 'AbstractWriteCapabilityType' from 'null'."); } // CBuiltinLeafInfo: java.lang.Boolean this.manual = ((o.manual == null)?null:o.isManual()); }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public AbstractWriteCapabilityType enabled(Boolean value) { setEnabled(value); return this; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public AbstractWriteCapabilityType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final AbstractWriteCapabilityType clone = ((AbstractWriteCapabilityType) super.clone()); // CBuiltinLeafInfo: java.lang.Boolean clone.manual = ((this.manual == null)?null:this.isManual()); return clone; } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); return currentHashCode; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof AbstractWriteCapabilityType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final AbstractWriteCapabilityType that = ((AbstractWriteCapabilityType) object); { Boolean lhsManual; lhsManual = this.isManual(); Boolean rhsManual; rhsManual = that.isManual(); if (!strategy.equals(LocatorUtils.property(thisLocator, "manual", lhsManual), LocatorUtils.property(thatLocator, "manual", rhsManual), lhsManual, rhsManual)) { return false; } } return true; }
private void setManual(AbstractWriteCapabilityType cap) { cap.setManual(true); }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); return currentHashCode; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public CreateCapabilityType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final CreateCapabilityType clone = ((CreateCapabilityType) super.clone()); return clone; } }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { Boolean theManual; theManual = this.isManual(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "manual", theManual), currentHashCode, theManual); } return currentHashCode; }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof DeleteCapabilityType)) { 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); { Boolean theDelta; theDelta = this.isDelta(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "delta", theDelta), currentHashCode, theDelta); } return currentHashCode; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public UpdateCapabilityType clone() { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final UpdateCapabilityType clone = ((UpdateCapabilityType) super.clone()); // CBuiltinLeafInfo: java.lang.Boolean clone.delta = ((this.delta == null)?null:this.isDelta()); return clone; } }
private void assertManual(AbstractWriteCapabilityType cap) { assertEquals("Manual flag not set in capability "+cap, Boolean.TRUE, cap.isManual()); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof UpdateCapabilityType)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final UpdateCapabilityType that = ((UpdateCapabilityType) object); { Boolean lhsDelta; lhsDelta = this.isDelta(); Boolean rhsDelta; rhsDelta = that.isDelta(); if (!strategy.equals(LocatorUtils.property(thisLocator, "delta", lhsDelta), LocatorUtils.property(thatLocator, "delta", rhsDelta), lhsDelta, rhsDelta)) { return false; } } return true; }
private void assertManual(AbstractWriteCapabilityType cap) { assertEquals("Manual flag not set in capability "+cap, Boolean.TRUE, cap.isManual()); }