Class ReferenceDocument
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ReferenceDocument>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.ReferenceDocument
Reference Document Type (Master Data)
Original entity name from the Odata EDM: ReferenceDocumentType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReferenceDocumentSelectableSelector for all available fields of ReferenceDocument.static final ReferenceDocumentField<String>Use with available fluent helpers to apply the ReferenceDocumentType_ID field to query operations.static final ReferenceDocumentField<String>Use with available fluent helpers to apply the ReferenceDocumentTypeText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionReferenceDocument(String referenceDocumentType_ID, String referenceDocumentTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ReferenceDocumentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ReferenceDocumentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: nonegetType()inthashCode()voidsetReferenceDocumentType_ID(String referenceDocumentType_ID) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetReferenceDocumentTypeText(String referenceDocumentTypeText) Constraints: noneprotected 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 ReferenceDocument. -
REFERENCE_DOCUMENT_TYPE_ID
Use with available fluent helpers to apply the ReferenceDocumentType_ID field to query operations. -
REFERENCE_DOCUMENT_TYPE_TEXT
Use with available fluent helpers to apply the ReferenceDocumentTypeText field to query operations.
-
-
Constructor Details
-
ReferenceDocument
public ReferenceDocument() -
ReferenceDocument
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ReferenceDocument>
-
setReferenceDocumentType_ID
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ReferenceDocumentType_ID
- Parameters:
referenceDocumentType_ID- Reference Document Type
-
setReferenceDocumentTypeText
Constraints: noneOriginal property name from the Odata EDM: ReferenceDocumentTypeText
- Parameters:
referenceDocumentTypeText- Reference Document Type (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ReferenceDocument>
-
getKey
- Overrides:
getKeyin classVdmObject<ReferenceDocument>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ReferenceDocument>
-
fromMap
- Overrides:
fromMapin classVdmObject<ReferenceDocument>
-
field
@Nonnull public static <T> ReferenceDocumentField<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> ReferenceDocumentField<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<ReferenceDocument>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ReferenceDocument>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ReferenceDocument>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ReferenceDocument>
-
builder
-
getReferenceDocumentType_ID
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ReferenceDocumentType_ID
- Returns:
- Reference Document Type
-
getReferenceDocumentTypeText
Constraints: noneOriginal property name from the Odata EDM: ReferenceDocumentTypeText
- Returns:
- Reference Document Type (Description)
-
toString
- Overrides:
toStringin classVdmObject<ReferenceDocument>
-
equals
- Overrides:
equalsin classVdmEntity<ReferenceDocument>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ReferenceDocument>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ReferenceDocument>
-