Package com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmasterdataincludingclassification
Class ProductDescription
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductDescription>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmasterdataincludingclassification.ProductDescription
Product Description
Original entity name from the Odata EDM: A_ProductDescriptionType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductDescriptionSelectableSelector for all available fields of ProductDescription.static final ProductDescriptionField<String>Use with available fluent helpers to apply the Language field to query operations.static final ProductDescriptionField<String>Use with available fluent helpers to apply the Product field to query operations.static final ProductDescriptionField<String>Use with available fluent helpers to apply the ProductDescription field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductDescription(String product, String language, String productDescription) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductDescriptionField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductDescriptionField<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: 2(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetProductDescription(String productDescription) Constraints: Not nullable, Maximum length: 40protected 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 ProductDescription. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
PRODUCT_DESCRIPTION
Use with available fluent helpers to apply the ProductDescription field to query operations.
-
-
Constructor Details
-
ProductDescription
public ProductDescription() -
ProductDescription
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductDescription>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProductDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProductDescription
- Parameters:
productDescription- Product Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductDescription>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductDescription>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductDescription>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductDescription>
-
field
@Nonnull public static <T> ProductDescriptionField<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> ProductDescriptionField<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<ProductDescription>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductDescription>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductDescription>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductDescription>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProductDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProductDescription
- Returns:
- Product Description
-
toString
- Overrides:
toStringin classVdmObject<ProductDescription>
-
equals
- Overrides:
equalsin classVdmEntity<ProductDescription>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductDescription>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductDescription>
-