Class SAPObjectDocument
Original entity name from the Odata EDM: SAPObjectDocumentType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SAPObjectDocumentSelectableSelector for all available fields of SAPObjectDocument.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the AttachmentFramework field to query operations.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the DocumentTypeDescription field to query operations.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the DocumentTypeIsDefault field to query operations.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the HarmonizedDocumentType field to query operations.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the PermittedArchiveLinkMimeType field to query operations.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the SAPObjectNodeType field to query operations.static final SAPObjectDocumentField<String>Use with available fluent helpers to apply the SAPObjectType 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>
SAPObjectDocumentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SAPObjectDocumentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1protected String(Key Field) Constraints: Not nullable, Maximum length: 40getKey()Constraints: Not nullable, Maximum length: 128(Key Field) Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetAttachmentFramework(String attachmentFramework) Constraints: Not nullable, Maximum length: 3voidsetDocumentTypeDescription(String documentTypeDescription) Constraints: Not nullable, Maximum length: 40voidsetDocumentTypeIsDefault(String documentTypeIsDefault) Constraints: Not nullable, Maximum length: 1voidsetHarmonizedDocumentType(String harmonizedDocumentType) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetPermittedArchiveLinkMimeType(String permittedArchiveLinkMimeType) Constraints: Not nullable, Maximum length: 128voidsetSAPObjectNodeType(String sAPObjectNodeType) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetSAPObjectType(String sAPObjectType) (Key Field) Constraints: Not nullable, Maximum length: 30protected voidsetServicePathForFetch(String servicePathForFetch) toString()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 SAPObjectDocument. -
SAP_OBJECT_TYPE
Use with available fluent helpers to apply the SAPObjectType field to query operations. -
SAP_OBJECT_NODE_TYPE
Use with available fluent helpers to apply the SAPObjectNodeType field to query operations. -
HARMONIZED_DOCUMENT_TYPE
Use with available fluent helpers to apply the HarmonizedDocumentType field to query operations. -
DOCUMENT_TYPE_DESCRIPTION
Use with available fluent helpers to apply the DocumentTypeDescription field to query operations. -
PERMITTED_ARCHIVE_LINK_MIME_TYPE
Use with available fluent helpers to apply the PermittedArchiveLinkMimeType field to query operations. -
ATTACHMENT_FRAMEWORK
Use with available fluent helpers to apply the AttachmentFramework field to query operations. -
DOCUMENT_TYPE_IS_DEFAULT
Use with available fluent helpers to apply the DocumentTypeIsDefault field to query operations.
-
-
Constructor Details
-
SAPObjectDocument
public SAPObjectDocument() -
SAPObjectDocument
public SAPObjectDocument(@Nullable String sAPObjectType, @Nullable String sAPObjectNodeType, @Nullable String harmonizedDocumentType, @Nullable String documentTypeDescription, @Nullable String permittedArchiveLinkMimeType, @Nullable String attachmentFramework, @Nullable String documentTypeIsDefault)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SAPObjectDocument>
-
setSAPObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SAPObjectType
- Parameters:
sAPObjectType- SAPObjectType
-
setSAPObjectNodeType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SAPObjectNodeType
- Parameters:
sAPObjectNodeType- SAPObjectNodeType
-
setHarmonizedDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: HarmonizedDocumentType
- Parameters:
harmonizedDocumentType- HarmonizedDocumentType
-
setDocumentTypeDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: DocumentTypeDescription
- Parameters:
documentTypeDescription- DocumentTypeDescription
-
setPermittedArchiveLinkMimeType
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: PermittedArchiveLinkMimeType
- Parameters:
permittedArchiveLinkMimeType- PermittedArchiveLinkMimeType
-
setAttachmentFramework
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AttachmentFramework
- Parameters:
attachmentFramework- AttachmentFramework
-
setDocumentTypeIsDefault
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DocumentTypeIsDefault
- Parameters:
documentTypeIsDefault- DocumentTypeIsDefault
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SAPObjectDocument>
-
getKey
- Overrides:
getKeyin classVdmObject<SAPObjectDocument>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SAPObjectDocument>
-
fromMap
- Overrides:
fromMapin classVdmObject<SAPObjectDocument>
-
field
@Nonnull public static <T> SAPObjectDocumentField<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> SAPObjectDocumentField<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<SAPObjectDocument>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SAPObjectDocument>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SAPObjectDocument>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SAPObjectDocument>
-
builder
-
getSAPObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SAPObjectType
- Returns:
- SAPObjectType
-
getSAPObjectNodeType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SAPObjectNodeType
- Returns:
- SAPObjectNodeType
-
getHarmonizedDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: HarmonizedDocumentType
- Returns:
- HarmonizedDocumentType
-
getDocumentTypeDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: DocumentTypeDescription
- Returns:
- DocumentTypeDescription
-
getPermittedArchiveLinkMimeType
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: PermittedArchiveLinkMimeType
- Returns:
- PermittedArchiveLinkMimeType
-
getAttachmentFramework
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: AttachmentFramework
- Returns:
- AttachmentFramework
-
getDocumentTypeIsDefault
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DocumentTypeIsDefault
- Returns:
- DocumentTypeIsDefault
-
toString
- Overrides:
toStringin classVdmObject<SAPObjectDocument>
-
equals
- Overrides:
equalsin classVdmEntity<SAPObjectDocument>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SAPObjectDocument>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SAPObjectDocument>
-