Class MerchandiseCategory
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: MerchandiseCategory_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MerchandiseCategory instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<MerchandiseCategory,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<MerchandiseCategory>Selector for all available fields of MerchandiseCategory.static final SimpleProperty.String<MerchandiseCategory>static final SimpleProperty.String<MerchandiseCategory>static final SimpleProperty.String<MerchandiseCategory>static final SimpleProperty.DateTime<MerchandiseCategory>static final SimpleProperty.String<MerchandiseCategory>static final SimpleProperty.String<MerchandiseCategory>static final SimpleProperty.String<MerchandiseCategory>static final SimpleProperty.String<MerchandiseCategory>Use with available request builders to apply the _MerchandiseCategoryTextTP navigation property to query operations.Use with available request builders to apply the _MrchdsCatCharacteristicTP navigation property to query operations.Use with available request builders to apply the _MrchdsCatCharcValRstrcnTP navigation property to query operations.static final SimpleProperty.String<MerchandiseCategory>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionMerchandiseCategory(String merchandiseCategory, String contactPersonStdDepartment, String division, String authorizationGroup, String materialGroupRefMaterial, String valuationClass, String purchasingValueKey, OffsetDateTime lastChangeDateTime, String mrchdsCategoryHierarchyNode, Collection<SAP__Message> _Messages, List<MerchandiseCategoryText> to_MerchandiseCategoryTextTP, List<MrchdsCatCharacteristic> to_MrchdsCatCharacteristicTP, List<MrchdsCatCharcValRstrcn> to_MrchdsCatCharcValRstrcnTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated MerchandiseCategoryText entities.voidAdds elements to the list of associated MrchdsCatCharacteristic entities.voidAdds elements to the list of associated MrchdsCatCharcValRstrcn entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4protected StringConstraints: Not nullable, Maximum length: 2protected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 9io.vavr.control.Option<List<MerchandiseCategoryText>>Retrieval of associated MerchandiseCategoryText entities (one to many).io.vavr.control.Option<List<MrchdsCatCharacteristic>>Retrieval of associated MrchdsCatCharacteristic entities (one to many).io.vavr.control.Option<List<MrchdsCatCharcValRstrcn>>Retrieval of associated MrchdsCatCharcValRstrcn entities (one to many).Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 4inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetAuthorizationGroup(String authorizationGroup) Constraints: Not nullable, Maximum length: 4voidsetContactPersonStdDepartment(String contactPersonStdDepartment) Constraints: Not nullable, Maximum length: 4voidsetDivision(String division) Constraints: Not nullable, Maximum length: 2voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetMaterialGroupRefMaterial(String materialGroupRefMaterial) Constraints: Not nullable, Maximum length: 18voidsetMerchandiseCategory(String merchandiseCategory) (Key Field) Constraints: Not nullable, Maximum length: 9voidOverwrites the list of associated MerchandiseCategoryText entities for the loaded navigation property _MerchandiseCategoryTextTP.voidOverwrites the list of associated MrchdsCatCharacteristic entities for the loaded navigation property _MrchdsCatCharacteristicTP.voidOverwrites the list of associated MrchdsCatCharcValRstrcn entities for the loaded navigation property _MrchdsCatCharcValRstrcnTP.voidsetMrchdsCategoryHierarchyNode(String mrchdsCategoryHierarchyNode) Constraints: Not nullable, Maximum length: 18voidsetPurchasingValueKey(String purchasingValueKey) Constraints: Not nullable, Maximum length: 4voidsetValuationClass(String valuationClass) Constraints: Not nullable, Maximum length: 4toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of MerchandiseCategory. -
MERCHANDISE_CATEGORY
-
CONTACT_PERSON_STD_DEPARTMENT
-
DIVISION
-
AUTHORIZATION_GROUP
-
MATERIAL_GROUP_REF_MATERIAL
-
VALUATION_CLASS
-
PURCHASING_VALUE_KEY
-
LAST_CHANGE_DATE_TIME
-
MRCHDS_CATEGORY_HIERARCHY_NODE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__MERCHANDISE_CATEGORY_TEXT_TP
public static final NavigationProperty.Collection<MerchandiseCategory,MerchandiseCategoryText> TO__MERCHANDISE_CATEGORY_TEXT_TPUse with available request builders to apply the _MerchandiseCategoryTextTP navigation property to query operations. -
TO__MRCHDS_CAT_CHARACTERISTIC_TP
public static final NavigationProperty.Collection<MerchandiseCategory,MrchdsCatCharacteristic> TO__MRCHDS_CAT_CHARACTERISTIC_TPUse with available request builders to apply the _MrchdsCatCharacteristicTP navigation property to query operations. -
TO__MRCHDS_CAT_CHARC_VAL_RSTRCN_TP
public static final NavigationProperty.Collection<MerchandiseCategory,MrchdsCatCharcValRstrcn> TO__MRCHDS_CAT_CHARC_VAL_RSTRCN_TPUse with available request builders to apply the _MrchdsCatCharcValRstrcnTP navigation property to query operations.
-
-
Constructor Details
-
MerchandiseCategory
public MerchandiseCategory() -
MerchandiseCategory
public MerchandiseCategory(@Nullable String merchandiseCategory, @Nullable String contactPersonStdDepartment, @Nullable String division, @Nullable String authorizationGroup, @Nullable String materialGroupRefMaterial, @Nullable String valuationClass, @Nullable String purchasingValueKey, @Nullable OffsetDateTime lastChangeDateTime, @Nullable String mrchdsCategoryHierarchyNode, @Nullable Collection<SAP__Message> _Messages, List<MerchandiseCategoryText> to_MerchandiseCategoryTextTP, List<MrchdsCatCharacteristic> to_MrchdsCatCharacteristicTP, List<MrchdsCatCharcValRstrcn> to_MrchdsCatCharcValRstrcnTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MerchandiseCategory>
-
setMerchandiseCategory
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MerchandiseCategory
- Parameters:
merchandiseCategory- Merchandise Category
-
setContactPersonStdDepartment
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ContactPersonStdDepartment
- Parameters:
contactPersonStdDepartment- Department number
-
setDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Parameters:
division- Division
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Authorization Group
-
setMaterialGroupRefMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MaterialGroupRefMaterial
- Parameters:
materialGroupRefMaterial- Material group reference material
-
setValuationClass
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationClass
- Parameters:
valuationClass- Valuation Class
-
setPurchasingValueKey
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingValueKey
- Parameters:
purchasingValueKey- Purchasing Value Key
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last changed at (only for merchandise category)
-
setMrchdsCategoryHierarchyNode
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MrchdsCategoryHierarchyNode
- Parameters:
mrchdsCategoryHierarchyNode- Merchandise Category Hierarchy Node
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MerchandiseCategory>
-
getKey
- Overrides:
getKeyin classVdmObject<MerchandiseCategory>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MerchandiseCategory>
-
fromMap
- Overrides:
fromMapin classVdmObject<MerchandiseCategory>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MerchandiseCategory>
-
getMerchandiseCategoryTextTPIfPresent
@Nonnull public io.vavr.control.Option<List<MerchandiseCategoryText>> getMerchandiseCategoryTextTPIfPresent()Retrieval of associated MerchandiseCategoryText entities (one to many). This corresponds to the OData navigation property _MerchandiseCategoryTextTP.If the navigation property for an entity MerchandiseCategory has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _MerchandiseCategoryTextTP is already loaded, the
result will contain the MerchandiseCategoryText entities. If not, an
Optionwith result stateemptyis returned.
-
setMerchandiseCategoryTextTP
Overwrites the list of associated MerchandiseCategoryText entities for the loaded navigation property _MerchandiseCategoryTextTP.If the navigation property _MerchandiseCategoryTextTP of a queried MerchandiseCategory is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MerchandiseCategoryText entities.
-
addMerchandiseCategoryTextTP
Adds elements to the list of associated MerchandiseCategoryText entities. This corresponds to the OData navigation property _MerchandiseCategoryTextTP.If the navigation property _MerchandiseCategoryTextTP of a queried MerchandiseCategory is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MerchandiseCategoryText entities.
-
getMrchdsCatCharacteristicTPIfPresent
@Nonnull public io.vavr.control.Option<List<MrchdsCatCharacteristic>> getMrchdsCatCharacteristicTPIfPresent()Retrieval of associated MrchdsCatCharacteristic entities (one to many). This corresponds to the OData navigation property _MrchdsCatCharacteristicTP.If the navigation property for an entity MerchandiseCategory has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _MrchdsCatCharacteristicTP is already loaded, the
result will contain the MrchdsCatCharacteristic entities. If not, an
Optionwith result stateemptyis returned.
-
setMrchdsCatCharacteristicTP
Overwrites the list of associated MrchdsCatCharacteristic entities for the loaded navigation property _MrchdsCatCharacteristicTP.If the navigation property _MrchdsCatCharacteristicTP of a queried MerchandiseCategory is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MrchdsCatCharacteristic entities.
-
addMrchdsCatCharacteristicTP
Adds elements to the list of associated MrchdsCatCharacteristic entities. This corresponds to the OData navigation property _MrchdsCatCharacteristicTP.If the navigation property _MrchdsCatCharacteristicTP of a queried MerchandiseCategory is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MrchdsCatCharacteristic entities.
-
getMrchdsCatCharcValRstrcnTPIfPresent
@Nonnull public io.vavr.control.Option<List<MrchdsCatCharcValRstrcn>> getMrchdsCatCharcValRstrcnTPIfPresent()Retrieval of associated MrchdsCatCharcValRstrcn entities (one to many). This corresponds to the OData navigation property _MrchdsCatCharcValRstrcnTP.If the navigation property for an entity MerchandiseCategory has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _MrchdsCatCharcValRstrcnTP is already loaded, the
result will contain the MrchdsCatCharcValRstrcn entities. If not, an
Optionwith result stateemptyis returned.
-
setMrchdsCatCharcValRstrcnTP
Overwrites the list of associated MrchdsCatCharcValRstrcn entities for the loaded navigation property _MrchdsCatCharcValRstrcnTP.If the navigation property _MrchdsCatCharcValRstrcnTP of a queried MerchandiseCategory is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MrchdsCatCharcValRstrcn entities.
-
addMrchdsCatCharcValRstrcnTP
Adds elements to the list of associated MrchdsCatCharcValRstrcn entities. This corresponds to the OData navigation property _MrchdsCatCharcValRstrcnTP.If the navigation property _MrchdsCatCharcValRstrcnTP of a queried MerchandiseCategory is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MrchdsCatCharcValRstrcn entities.
-
builder
-
getMerchandiseCategory
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MerchandiseCategory
- Returns:
- Merchandise Category
-
getContactPersonStdDepartment
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ContactPersonStdDepartment
- Returns:
- Department number
-
getDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Returns:
- Division
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Authorization Group
-
getMaterialGroupRefMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MaterialGroupRefMaterial
- Returns:
- Material group reference material
-
getValuationClass
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ValuationClass
- Returns:
- Valuation Class
-
getPurchasingValueKey
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingValueKey
- Returns:
- Purchasing Value Key
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last changed at (only for merchandise category)
-
getMrchdsCategoryHierarchyNode
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MrchdsCategoryHierarchyNode
- Returns:
- Merchandise Category Hierarchy Node
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<MerchandiseCategory>
-
equals
- Overrides:
equalsin classVdmEntity<MerchandiseCategory>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MerchandiseCategory>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MerchandiseCategory>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MerchandiseCategory>
-