Class DownloadFile
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmMediaEntity<DownloadFile>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerdatareturnfiledownload.DownloadFile
ZIP File
Original entity name from the Odata EDM: DownloadFile
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DownloadFileSelectableSelector for all available fields of DownloadFile.static final DownloadFileField<String>Use with available fluent helpers to apply the FileName field to query operations.static final DownloadFileField<String>Use with available fluent helpers to apply the PackageName field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
DownloadFileField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> DownloadFileField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 60getKey()(Key Field) Constraints: Not nullable, Maximum length: 32getType()inthashCode()voidsetFileName(String fileName) (Key Field) Constraints: Not nullable, Maximum length: 60voidsetPackageName(String packageName) (Key Field) Constraints: Not nullable, Maximum length: 32protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmMediaEntity
fetchMediaStreamMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of DownloadFile. -
PACKAGE_NAME
Use with available fluent helpers to apply the PackageName field to query operations. -
FILE_NAME
Use with available fluent helpers to apply the FileName field to query operations.
-
-
Constructor Details
-
DownloadFile
public DownloadFile() -
DownloadFile
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DownloadFile>
-
setPackageName
(Key Field) Constraints: Not nullable, Maximum length: 32Original property name from the Odata EDM: PackageName
- Parameters:
packageName- Package Name
-
setFileName
(Key Field) Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: FileName
- Parameters:
fileName- ZIP File Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DownloadFile>
-
getKey
- Overrides:
getKeyin classVdmObject<DownloadFile>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DownloadFile>
-
fromMap
- Overrides:
fromMapin classVdmObject<DownloadFile>
-
field
@Nonnull public static <T> DownloadFileField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> DownloadFileField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<DownloadFile>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<DownloadFile>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<DownloadFile>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DownloadFile>
-
builder
-
getPackageName
(Key Field) Constraints: Not nullable, Maximum length: 32Original property name from the Odata EDM: PackageName
- Returns:
- Package Name
-
getFileName
(Key Field) Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: FileName
- Returns:
- ZIP File Name
-
toString
- Overrides:
toStringin classVdmObject<DownloadFile>
-
equals
- Overrides:
equalsin classVdmMediaEntity<DownloadFile>
-
canEqual
- Overrides:
canEqualin classVdmMediaEntity<DownloadFile>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmMediaEntity<DownloadFile>
-