Class PrintDocumentBlob
Original entity name from the Odata EDM: PrintDocumentBlob
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PrintDocumentBlobSelectableSelector for all available fields of PrintDocumentBlob.static final PrintDocumentBlobField<byte[]>Use with available fluent helpers to apply the Blob field to query operations.static final PrintDocumentBlobField<Short>Use with available fluent helpers to apply the CountId field to query operations.static final PrintDocumentBlobField<String>Use with available fluent helpers to apply the DocumentName field to query operations.static final PrintDocumentBlobField<String>Use with available fluent helpers to apply the Filesize field to query operations.static final PrintDocumentBlobField<String>Use with available fluent helpers to apply the Metadata field to query operations.static final PrintDocumentBlobField<String>Use with available fluent helpers to apply the QItemParams field to query operations.static final PrintDocumentBlobField<String>Use with available fluent helpers to apply the Url 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>
PrintDocumentBlobField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PrintDocumentBlobField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidbyte[]getBlob()Constraints: Not nullableConstraints: Not nullableprotected String(Key Field) Constraints: Not nullable, Maximum length: 120protected StringConstraints: Not nullable, Maximum length: 12getKey()Constraints: Not nullableConstraints: Not nullablegetType()getUrl()Constraints: Not nullable, Maximum length: 1333inthashCode()voidsetBlob(byte[] blob) Constraints: Not nullablevoidsetCountId(Short countId) Constraints: Not nullablevoidsetDocumentName(String documentName) (Key Field) Constraints: Not nullable, Maximum length: 120voidsetFilesize(String filesize) Constraints: Not nullable, Maximum length: 12voidsetMetadata(String metadata) Constraints: Not nullablevoidsetQItemParams(String qItemParams) Constraints: Not nullableprotected voidsetServicePathForFetch(String servicePathForFetch) voidConstraints: Not nullable, Maximum length: 1333toString()Methods 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 PrintDocumentBlob. -
COUNT_ID
Use with available fluent helpers to apply the CountId field to query operations. -
DOCUMENT_NAME
Use with available fluent helpers to apply the DocumentName field to query operations. -
FILESIZE
Use with available fluent helpers to apply the Filesize field to query operations. -
URL
Use with available fluent helpers to apply the Url field to query operations. -
BLOB
Use with available fluent helpers to apply the Blob field to query operations. -
Q_ITEM_PARAMS
Use with available fluent helpers to apply the QItemParams field to query operations. -
METADATA
Use with available fluent helpers to apply the Metadata field to query operations.
-
-
Constructor Details
-
PrintDocumentBlob
public PrintDocumentBlob() -
PrintDocumentBlob
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PrintDocumentBlob>
-
setCountId
Constraints: Not nullableOriginal property name from the Odata EDM: CountId
- Parameters:
countId- Attachment counter
-
setDocumentName
(Key Field) Constraints: Not nullable, Maximum length: 120Original property name from the Odata EDM: DocumentName
- Parameters:
documentName- Documen Name
-
setFilesize
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Filesize
- Parameters:
filesize- Document Size
-
setUrl
Constraints: Not nullable, Maximum length: 1333Original property name from the Odata EDM: Url
- Parameters:
url- Document URL
-
setBlob
public void setBlob(@Nullable byte[] blob) Constraints: Not nullableOriginal property name from the Odata EDM: Blob
- Parameters:
blob- The blob to set.
-
setQItemParams
Constraints: Not nullableOriginal property name from the Odata EDM: QItemParams
- Parameters:
qItemParams- Print Parameter
-
setMetadata
Constraints: Not nullableOriginal property name from the Odata EDM: Metadata
- Parameters:
metadata- Item metadata
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PrintDocumentBlob>
-
getKey
- Overrides:
getKeyin classVdmObject<PrintDocumentBlob>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PrintDocumentBlob>
-
fromMap
- Overrides:
fromMapin classVdmObject<PrintDocumentBlob>
-
field
@Nonnull public static <T> PrintDocumentBlobField<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> PrintDocumentBlobField<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<PrintDocumentBlob>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PrintDocumentBlob>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PrintDocumentBlob>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PrintDocumentBlob>
-
builder
-
getCountId
Constraints: Not nullableOriginal property name from the Odata EDM: CountId
- Returns:
- Attachment counter
-
getDocumentName
(Key Field) Constraints: Not nullable, Maximum length: 120Original property name from the Odata EDM: DocumentName
- Returns:
- Documen Name
-
getFilesize
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Filesize
- Returns:
- Document Size
-
getUrl
Constraints: Not nullable, Maximum length: 1333Original property name from the Odata EDM: Url
- Returns:
- Document URL
-
getBlob
@Nullable public byte[] getBlob()Constraints: Not nullableOriginal property name from the Odata EDM: Blob
- Returns:
- The blob contained in this entity.
-
getQItemParams
Constraints: Not nullableOriginal property name from the Odata EDM: QItemParams
- Returns:
- Print Parameter
-
getMetadata
Constraints: Not nullableOriginal property name from the Odata EDM: Metadata
- Returns:
- Item metadata
-
toString
- Overrides:
toStringin classVdmObject<PrintDocumentBlob>
-
equals
- Overrides:
equalsin classVdmEntity<PrintDocumentBlob>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PrintDocumentBlob>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PrintDocumentBlob>
-