Class SalesDocumentItem
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SalesDocumentItem>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.SalesDocumentItem
Sales Document Item (Master Data)
Original entity name from the Odata EDM: SalesDocumentItem
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SalesDocumentItemSelectableSelector for all available fields of SalesDocumentItem.static final SalesDocumentItemField<String>Use with available fluent helpers to apply the SalesDocument field to query operations.static final SalesDocumentItemField<String>Use with available fluent helpers to apply the SalesDocumentItem_ID field to query operations.static final SalesDocumentItemField<String>Use with available fluent helpers to apply the SalesDocumentItemText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSalesDocumentItem(String salesDocumentItem_ID, String salesDocumentItemText, String salesDocument) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SalesDocumentItemField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SalesDocumentItemField<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: 10(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: nonegetType()inthashCode()voidsetSalesDocument(String salesDocument) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSalesDocumentItem_ID(String salesDocumentItem_ID) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetSalesDocumentItemText(String salesDocumentItemText) 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 SalesDocumentItem. -
SALES_DOCUMENT_ITEM_ID
Use with available fluent helpers to apply the SalesDocumentItem_ID field to query operations. -
SALES_DOCUMENT_ITEM_TEXT
Use with available fluent helpers to apply the SalesDocumentItemText field to query operations. -
SALES_DOCUMENT
Use with available fluent helpers to apply the SalesDocument field to query operations.
-
-
Constructor Details
-
SalesDocumentItem
public SalesDocumentItem() -
SalesDocumentItem
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SalesDocumentItem>
-
setSalesDocumentItem_ID
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SalesDocumentItem_ID
- Parameters:
salesDocumentItem_ID- Sales Document Item
-
setSalesDocumentItemText
Constraints: noneOriginal property name from the Odata EDM: SalesDocumentItemText
- Parameters:
salesDocumentItemText- Sales Document Item (Description)
-
setSalesDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesDocument
- Parameters:
salesDocument- Sales Document Item (Sales Document)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SalesDocumentItem>
-
getKey
- Overrides:
getKeyin classVdmObject<SalesDocumentItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SalesDocumentItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<SalesDocumentItem>
-
field
@Nonnull public static <T> SalesDocumentItemField<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> SalesDocumentItemField<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<SalesDocumentItem>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SalesDocumentItem>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SalesDocumentItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SalesDocumentItem>
-
builder
-
getSalesDocumentItem_ID
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SalesDocumentItem_ID
- Returns:
- Sales Document Item
-
getSalesDocumentItemText
Constraints: noneOriginal property name from the Odata EDM: SalesDocumentItemText
- Returns:
- Sales Document Item (Description)
-
getSalesDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesDocument
- Returns:
- Sales Document Item (Sales Document)
-
toString
- Overrides:
toStringin classVdmObject<SalesDocumentItem>
-
equals
- Overrides:
equalsin classVdmEntity<SalesDocumentItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SalesDocumentItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SalesDocumentItem>
-