/** * Create an instance of {@link DataProvider } * */ public DataProvider createDataProvider() { return new DataProvider(); }
public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public static DataProvider.Builder<Void> copyExcept(final DataProvider _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); }
public Object clone() { return copyTo(createNewInstance()); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof DataProvider) { final DataProvider copy = ((DataProvider) draftCopy); { Boolean nameShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.name!= null)); if (nameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceName; sourceName = this.getName(); String copyName = ((String) strategy.copy(LocatorUtils.property(locator, "name", sourceName), sourceName, (this.name!= null))); copy.setName(copyName); } else { if (nameShouldBeCopiedAndSet == Boolean.FALSE) { copy.name = null; } } } } return draftCopy; }
public DataProvider.Builder<Void> newCopyBuilder() { return newCopyBuilder(null); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } return buffer; }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; }
public DataProvider.Builder<Void> newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final DataProvider that = ((DataProvider) object); { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } return true; }
public static<_B >DataProvider.Builder<_B> copyOf(final DataProvider _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final DataProvider.Builder<_B> _newBuilder = new DataProvider.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; }
/** * Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code. * * @param _other * A builder instance to which the state of this object will be copied. */ public<_B >void copyTo(final BusinessObjectDefinitionIndexSearchResponseDto.Builder<_B> _other) { _other.dataProvider = ((this.dataProvider == null)?null:this.dataProvider.newCopyBuilder(_other)); _other.description = this.description; _other.displayName = this.displayName; _other.name = this.name; _other.namespace = ((this.namespace == null)?null:this.namespace.newCopyBuilder(_other)); }
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } return currentHashCode; }
public Object createNewInstance() { return new DataProvider(); }
public static<_B >DataProvider.Builder<_B> copyOf(final DataProvider _other) { final DataProvider.Builder<_B> _newBuilder = new DataProvider.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; }
public static DataProvider.Builder<Void> copyOnly(final DataProvider _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); }
public Builder(final _B _parentBuilder, final BusinessObjectDefinitionIndexSearchResponseDto _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.dataProvider = ((_other.dataProvider == null)?null:_other.dataProvider.newCopyBuilder(this)); this.description = _other.description; this.displayName = _other.displayName; this.name = _other.name; this.namespace = ((_other.namespace == null)?null:_other.namespace.newCopyBuilder(this)); } else { _storedValue = _other; } } else { _storedValue = null; } }