Class ProductGroup
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductGroup>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.ProductGroup
Product Group (Master Data)
Original entity name from the Odata EDM: ProductGroup
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductGroupSelectableSelector for all available fields of ProductGroup.static final ProductGroupField<String>Use with available fluent helpers to apply the ProductGroup_ID field to query operations.static final ProductGroupField<String>Use with available fluent helpers to apply the ProductGroupText 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>
ProductGroupField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductGroupField<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: 9Constraints: nonegetType()inthashCode()voidsetProductGroup_ID(String productGroup_ID) (Key Field) Constraints: Not nullable, Maximum length: 9voidsetProductGroupText(String productGroupText) 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 ProductGroup. -
PRODUCT_GROUP_ID
Use with available fluent helpers to apply the ProductGroup_ID field to query operations. -
PRODUCT_GROUP_TEXT
Use with available fluent helpers to apply the ProductGroupText field to query operations.
-
-
Constructor Details
-
ProductGroup
public ProductGroup() -
ProductGroup
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductGroup>
-
setProductGroup_ID
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProductGroup_ID
- Parameters:
productGroup_ID- Product Group
-
setProductGroupText
Constraints: noneOriginal property name from the Odata EDM: ProductGroupText
- Parameters:
productGroupText- Product Group (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductGroup>
-
field
@Nonnull public static <T> ProductGroupField<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> ProductGroupField<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<ProductGroup>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductGroup>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductGroup>
-
builder
-
getProductGroup_ID
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProductGroup_ID
- Returns:
- Product Group
-
getProductGroupText
Constraints: noneOriginal property name from the Odata EDM: ProductGroupText
- Returns:
- Product Group (Description)
-
toString
- Overrides:
toStringin classVdmObject<ProductGroup>
-
equals
- Overrides:
equalsin classVdmEntity<ProductGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductGroup>
-