public class PrintDocumentBlob extends VdmEntity<PrintDocumentBlob>
Original entity name from the Odata EDM: PrintDocumentBlob
Modifier and Type | Class and Description |
---|---|
static class |
PrintDocumentBlob.PrintDocumentBlobBuilder |
Modifier and Type | Field and Description |
---|---|
static PrintDocumentBlobSelectable |
ALL_FIELDS
Selector for all available fields of PrintDocumentBlob.
|
static PrintDocumentBlobField<byte[]> |
BLOB
Use with available fluent helpers to apply the Blob field to query operations.
|
static PrintDocumentBlobField<Short> |
COUNT_ID
Use with available fluent helpers to apply the CountId field to query operations.
|
static PrintDocumentBlobField<String> |
DOCUMENT_NAME
Use with available fluent helpers to apply the DocumentName field to query operations.
|
static PrintDocumentBlobField<String> |
FILESIZE
Use with available fluent helpers to apply the Filesize field to query operations.
|
static PrintDocumentBlobField<String> |
METADATA
Use with available fluent helpers to apply the Metadata field to query operations.
|
static PrintDocumentBlobField<String> |
Q_ITEM_PARAMS
Use with available fluent helpers to apply the QItemParams field to query operations.
|
static PrintDocumentBlobField<String> |
URL
Use with available fluent helpers to apply the Url field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PrintDocumentBlob() |
PrintDocumentBlob(Short countId,
String documentName,
String filesize,
String url,
byte[] blob,
String qItemParams,
String metadata) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static PrintDocumentBlob.PrintDocumentBlobBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> PrintDocumentBlobField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
byte[] |
getBlob()
Constraints: Not nullable
|
Short |
getCountId()
Constraints: Not nullable
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDocumentName()
(Key Field) Constraints: Not nullable, Maximum length: 120
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFilesize()
Constraints: Not nullable, Maximum length: 12
|
protected Map<String,Object> |
getKey() |
String |
getMetadata()
Constraints: Not nullable
|
String |
getQItemParams()
Constraints: Not nullable
|
Class<PrintDocumentBlob> |
getType() |
String |
getUrl()
Constraints: Not nullable, Maximum length: 1333
|
int |
hashCode() |
void |
setBlob(byte[] blob)
Constraints: Not nullable
|
void |
setCountId(Short countId)
Constraints: Not nullable
|
void |
setDocumentName(String documentName)
(Key Field) Constraints: Not nullable, Maximum length: 120
|
void |
setFilesize(String filesize)
Constraints: Not nullable, Maximum length: 12
|
void |
setMetadata(String metadata)
Constraints: Not nullable
|
void |
setQItemParams(String qItemParams)
Constraints: Not nullable
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setUrl(String url)
Constraints: Not nullable, Maximum length: 1333
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final PrintDocumentBlobSelectable ALL_FIELDS
public static final PrintDocumentBlobField<Short> COUNT_ID
public static final PrintDocumentBlobField<String> DOCUMENT_NAME
public static final PrintDocumentBlobField<String> FILESIZE
public static final PrintDocumentBlobField<String> URL
public static final PrintDocumentBlobField<byte[]> BLOB
public static final PrintDocumentBlobField<String> Q_ITEM_PARAMS
public static final PrintDocumentBlobField<String> METADATA
@Nonnull public Class<PrintDocumentBlob> getType()
getType
in class VdmObject<PrintDocumentBlob>
public void setCountId(@Nullable Short countId)
Original property name from the Odata EDM: CountId
countId
- Attachment counterpublic void setDocumentName(@Nullable String documentName)
Original property name from the Odata EDM: DocumentName
documentName
- Documen Namepublic void setFilesize(@Nullable String filesize)
Original property name from the Odata EDM: Filesize
filesize
- Document Sizepublic void setUrl(@Nullable String url)
Original property name from the Odata EDM: Url
url
- Document URLpublic void setBlob(@Nullable byte[] blob)
Original property name from the Odata EDM: Blob
blob
- The blob to set.public void setQItemParams(@Nullable String qItemParams)
Original property name from the Odata EDM: QItemParams
qItemParams
- Print Parameterpublic void setMetadata(@Nullable String metadata)
Original property name from the Odata EDM: Metadata
metadata
- Item metadataprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<PrintDocumentBlob>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PrintDocumentBlob>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PrintDocumentBlob>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PrintDocumentBlob>
@Nonnull public static <T> PrintDocumentBlobField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> PrintDocumentBlobField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<PrintDocumentBlob>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<PrintDocumentBlob>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<PrintDocumentBlob>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<PrintDocumentBlob>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static PrintDocumentBlob.PrintDocumentBlobBuilder builder()
@Nullable public Short getCountId()
Original property name from the Odata EDM: CountId
@Nullable public String getDocumentName()
Original property name from the Odata EDM: DocumentName
@Nullable public String getFilesize()
Original property name from the Odata EDM: Filesize
@Nullable public String getUrl()
Original property name from the Odata EDM: Url
@Nullable public byte[] getBlob()
Original property name from the Odata EDM: Blob
@Nullable public String getQItemParams()
Original property name from the Odata EDM: QItemParams
@Nullable public String getMetadata()
Original property name from the Odata EDM: Metadata
@Nonnull public String toString()
toString
in class VdmObject<PrintDocumentBlob>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<PrintDocumentBlob>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<PrintDocumentBlob>
public int hashCode()
hashCode
in class VdmObject<PrintDocumentBlob>
Copyright © 2021 SAP SE. All rights reserved.