/** * Create an instance of {@link StorageUnitDownloadCredential } * */ public StorageUnitDownloadCredential createStorageUnitDownloadCredential() { return new StorageUnitDownloadCredential(); }
public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); }
public Object clone() { return copyTo(createNewInstance()); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { AwsCredential theAwsCredential; theAwsCredential = this.getAwsCredential(); strategy.appendField(locator, this, "awsCredential", buffer, theAwsCredential, (this.awsCredential!= null)); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof StorageUnitDownloadCredential) { final StorageUnitDownloadCredential copy = ((StorageUnitDownloadCredential) draftCopy); { Boolean awsCredentialShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsCredential!= null)); if (awsCredentialShouldBeCopiedAndSet == Boolean.TRUE) { AwsCredential sourceAwsCredential; sourceAwsCredential = this.getAwsCredential(); AwsCredential copyAwsCredential = ((AwsCredential) strategy.copy(LocatorUtils.property(locator, "awsCredential", sourceAwsCredential), sourceAwsCredential, (this.awsCredential!= null))); copy.setAwsCredential(copyAwsCredential); } else { if (awsCredentialShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsCredential = null; } } } } return draftCopy; }
@NamespacePermission(fields = "#businessObjectDataKey?.namespace", permissions = NamespacePermissionEnum.READ) @Override public StorageUnitDownloadCredential getStorageUnitDownloadCredential(BusinessObjectDataKey businessObjectDataKey, String storageName) { StorageUnitDownloadCredential businessObjectDataDownloadCredential = new StorageUnitDownloadCredential(); businessObjectDataDownloadCredential.setAwsCredential(getBusinessObjectDataS3Credential(businessObjectDataKey, null, storageName, false)); return businessObjectDataDownloadCredential; }
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 boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { AwsCredential theAwsCredential; theAwsCredential = this.getAwsCredential(); strategy.appendField(locator, this, "awsCredential", buffer, theAwsCredential, (this.awsCredential!= null)); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof StorageUnitDownloadCredential) { final StorageUnitDownloadCredential copy = ((StorageUnitDownloadCredential) draftCopy); { Boolean awsCredentialShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsCredential!= null)); if (awsCredentialShouldBeCopiedAndSet == Boolean.TRUE) { AwsCredential sourceAwsCredential; sourceAwsCredential = this.getAwsCredential(); AwsCredential copyAwsCredential = ((AwsCredential) strategy.copy(LocatorUtils.property(locator, "awsCredential", sourceAwsCredential), sourceAwsCredential, (this.awsCredential!= null))); copy.setAwsCredential(copyAwsCredential); } else { if (awsCredentialShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsCredential = null; } } } } return draftCopy; }
@NamespacePermission(fields = "#businessObjectDataKey?.namespace", permissions = NamespacePermissionEnum.READ) @Override public StorageUnitDownloadCredential getStorageUnitDownloadCredential(BusinessObjectDataKey businessObjectDataKey, String storageName) { StorageUnitDownloadCredential businessObjectDataDownloadCredential = new StorageUnitDownloadCredential(); businessObjectDataDownloadCredential.setAwsCredential(getBusinessObjectDataS3Credential(businessObjectDataKey, null, storageName, false)); return businessObjectDataDownloadCredential; }
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 boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { AwsCredential theAwsCredential; theAwsCredential = this.getAwsCredential(); strategy.appendField(locator, this, "awsCredential", buffer, theAwsCredential, (this.awsCredential!= null)); } return buffer; }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof StorageUnitDownloadCredential) { final StorageUnitDownloadCredential copy = ((StorageUnitDownloadCredential) draftCopy); { Boolean awsCredentialShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsCredential!= null)); if (awsCredentialShouldBeCopiedAndSet == Boolean.TRUE) { AwsCredential sourceAwsCredential; sourceAwsCredential = this.getAwsCredential(); AwsCredential copyAwsCredential = ((AwsCredential) strategy.copy(LocatorUtils.property(locator, "awsCredential", sourceAwsCredential), sourceAwsCredential, (this.awsCredential!= null))); copy.setAwsCredential(copyAwsCredential); } else { if (awsCredentialShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsCredential = null; } } } } return draftCopy; }
/** * Create an instance of {@link StorageUnitDownloadCredential } * */ public StorageUnitDownloadCredential createStorageUnitDownloadCredential() { return new StorageUnitDownloadCredential(); }