Class PurgCatMaterialGroup
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<PurgCatMaterialGroup>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasingcategory.PurgCatMaterialGroup
Material Group
Original entity name from the Odata EDM: A_PurgCatMaterialGroupType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PurgCatMaterialGroupSelectableSelector for all available fields of PurgCatMaterialGroup.static final PurgCatMaterialGroupField<String>Use with available fluent helpers to apply the MaterialGroup field to query operations.static final PurgCatMaterialGroupField<UUID>Use with available fluent helpers to apply the PurCatMaterialGroupUUID field to query operations.static final PurgCatMaterialGroupField<UUID>Use with available fluent helpers to apply the PurgCatUUID field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPurgCatMaterialGroup(UUID purCatMaterialGroupUUID, UUID purgCatUUID, String materialGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
PurgCatMaterialGroupField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PurgCatMaterialGroupField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 9(Key Field) Constraints: Not nullableConstraints: nonegetType()inthashCode()voidsetMaterialGroup(String materialGroup) Constraints: Not nullable, Maximum length: 9voidsetPurCatMaterialGroupUUID(UUID purCatMaterialGroupUUID) (Key Field) Constraints: Not nullablevoidsetPurgCatUUID(UUID purgCatUUID) 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 PurgCatMaterialGroup. -
PUR_CAT_MATERIAL_GROUP_UUID
Use with available fluent helpers to apply the PurCatMaterialGroupUUID field to query operations. -
PURG_CAT_UUID
Use with available fluent helpers to apply the PurgCatUUID field to query operations. -
MATERIAL_GROUP
Use with available fluent helpers to apply the MaterialGroup field to query operations.
-
-
Constructor Details
-
PurgCatMaterialGroup
public PurgCatMaterialGroup() -
PurgCatMaterialGroup
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurgCatMaterialGroup>
-
setPurCatMaterialGroupUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PurCatMaterialGroupUUID
- Parameters:
purCatMaterialGroupUUID- Purchasing Category Material Group Reference UUID
-
setPurgCatUUID
Constraints: noneOriginal property name from the Odata EDM: PurgCatUUID
- Parameters:
purgCatUUID- Purchasing Category UUID
-
setMaterialGroup
Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MaterialGroup
- Parameters:
materialGroup- Material Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurgCatMaterialGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<PurgCatMaterialGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurgCatMaterialGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurgCatMaterialGroup>
-
field
@Nonnull public static <T> PurgCatMaterialGroupField<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> PurgCatMaterialGroupField<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<PurgCatMaterialGroup>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PurgCatMaterialGroup>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PurgCatMaterialGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurgCatMaterialGroup>
-
builder
-
getPurCatMaterialGroupUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PurCatMaterialGroupUUID
- Returns:
- Purchasing Category Material Group Reference UUID
-
getPurgCatUUID
Constraints: noneOriginal property name from the Odata EDM: PurgCatUUID
- Returns:
- Purchasing Category UUID
-
getMaterialGroup
Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MaterialGroup
- Returns:
- Material Group
-
toString
- Overrides:
toStringin classVdmObject<PurgCatMaterialGroup>
-
equals
- Overrides:
equalsin classVdmEntity<PurgCatMaterialGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurgCatMaterialGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurgCatMaterialGroup>
-