Class ProductSalesText
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductSalesText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductSalesText
Sales Text
Original entity name from the Odata EDM: A_ProductSalesTextType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductSalesTextSelectableSelector for all available fields of ProductSalesText.static final ProductSalesTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final ProductSalesTextField<String>Use with available fluent helpers to apply the LongText field to query operations.static final ProductSalesTextField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductSalesTextField<String>Use with available fluent helpers to apply the ProductDistributionChnl field to query operations.static final ProductSalesTextField<String>Use with available fluent helpers to apply the ProductSalesOrg 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>
ProductSalesTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductSalesTextField<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: 2Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetLongText(String longText) Constraints: nonevoidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProductDistributionChnl(String productDistributionChnl) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProductSalesOrg(String productSalesOrg) (Key Field) Constraints: Not nullable, Maximum length: 4protected 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 ProductSalesText. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
PRODUCT_SALES_ORG
Use with available fluent helpers to apply the ProductSalesOrg field to query operations. -
PRODUCT_DISTRIBUTION_CHNL
Use with available fluent helpers to apply the ProductDistributionChnl field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
LONG_TEXT
Use with available fluent helpers to apply the LongText field to query operations.
-
-
Constructor Details
-
ProductSalesText
public ProductSalesText() -
ProductSalesText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductSalesText>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setProductSalesOrg
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProductSalesOrg
- Parameters:
productSalesOrg- Sales Organization
-
setProductDistributionChnl
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProductDistributionChnl
- Parameters:
productDistributionChnl- Distribution Channel
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setLongText
Constraints: noneOriginal property name from the Odata EDM: LongText
- Parameters:
longText- String
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductSalesText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductSalesText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductSalesText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductSalesText>
-
field
@Nonnull public static <T> ProductSalesTextField<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> ProductSalesTextField<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<ProductSalesText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductSalesText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductSalesText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductSalesText>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getProductSalesOrg
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProductSalesOrg
- Returns:
- Sales Organization
-
getProductDistributionChnl
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProductDistributionChnl
- Returns:
- Distribution Channel
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getLongText
Constraints: noneOriginal property name from the Odata EDM: LongText
- Returns:
- String
-
toString
- Overrides:
toStringin classVdmObject<ProductSalesText>
-
equals
- Overrides:
equalsin classVdmEntity<ProductSalesText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductSalesText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductSalesText>
-