Class PurgCat
Original entity name from the Odata EDM: A_PurgCatType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurgCat instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PurgCatSelectableSelector for all available fields of PurgCat.static final PurgCatField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final PurgCatField<ZonedDateTime>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final PurgCatField<String>Use with available fluent helpers to apply the Language field to query operations.static final PurgCatField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final PurgCatField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final PurgCatField<String>Use with available fluent helpers to apply the PurchasingCategory field to query operations.static final PurgCatField<String>Use with available fluent helpers to apply the PurgCatIsInactive field to query operations.static final PurgCatField<String>Use with available fluent helpers to apply the PurgCatName field to query operations.static final PurgCatField<String>Use with available fluent helpers to apply the PurgCatTranslationOvrlStatus field to query operations.static final PurgCatField<UUID>Use with available fluent helpers to apply the PurgCatUUID field to query operations.static final PurgCatLink<PurgCatDescription>Use with available fluent helpers to apply the to_PurgCatDescription navigation property to query operations.static final PurgCatLink<PurgCatMaterialGroup>Use with available fluent helpers to apply the to_PurgCatMaterialGroup navigation property to query operations.static final PurgCatLink<PurgCatMember>Use with available fluent helpers to apply the to_PurgCatMember navigation property to query operations.static final PurgCatLink<PurgCatPlannedSpend>Use with available fluent helpers to apply the to_PurgCatPlannedSpend navigation property to query operations.static final PurgCatOneToOneLink<PurgCatPurchaserResponsible>Use with available fluent helpers to apply the to_PurgCatPurchaserResponsible navigation property to query operations.static final PurgCatLink<PurgCatSupplier>Use with available fluent helpers to apply the to_PurgCatSupplier navigation property to query operations.static final PurgCatLink<PurgCatTranslationStatus>Use with available fluent helpers to apply the to_PurgCatTranslationStatus navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPurgCat()PurgCat(UUID purgCatUUID, String purchasingCategory, String purgCatName, ZonedDateTime creationDateTime, String createdByUser, ZonedDateTime lastChangeDateTime, String lastChangedByUser, String language, String purgCatIsInactive, String purgCatTranslationOvrlStatus, List<PurgCatDescription> toPurgCatDescription, List<PurgCatMaterialGroup> toPurgCatMaterialGroup, List<PurgCatMember> toPurgCatMember, List<PurgCatPlannedSpend> toPurgCatPlannedSpend, PurgCatPurchaserResponsible toPurgCatPurchaserResponsible, List<PurgCatSupplier> toPurgCatSupplier, List<PurgCatTranslationStatus> toPurgCatTranslationStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPurgCatDescription(PurgCatDescription... entity) Adds elements to the list of associated PurgCatDescription entities.voidaddPurgCatMaterialGroup(PurgCatMaterialGroup... entity) Adds elements to the list of associated PurgCatMaterialGroup entities.voidaddPurgCatMember(PurgCatMember... entity) Adds elements to the list of associated PurgCatMember entities.voidaddPurgCatPlannedSpend(PurgCatPlannedSpend... entity) Adds elements to the list of associated PurgCatPlannedSpend entities.voidaddPurgCatSupplier(PurgCatSupplier... entity) Adds elements to the list of associated PurgCatSupplier entities.voidAdds elements to the list of associated PurgCatTranslationStatus entities.voidattachToService(String servicePath, HttpDestinationProperties destination) static PurgCat.PurgCatBuilderbuilder()protected booleanbooleanFetches the PurgCatDescription entities (one to many) associated with this entity.Fetches the PurgCatMaterialGroup entities (one to many) associated with this entity.Fetches the PurgCatMember entities (one to many) associated with this entity.Fetches the PurgCatPlannedSpend entities (one to many) associated with this entity.Fetches the PurgCatPurchaserResponsible entity (one to one) associated with this entity.Fetches the PurgCatSupplier entities (one to many) associated with this entity.Fetches the PurgCatTranslationStatus entities (one to many) associated with this entity.static <T,DomainT>
PurgCatField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PurgCatField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 60Constraints: Not nullable, Precision: 7protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 20io.vavr.control.Option<List<PurgCatDescription>>Retrieval of associated PurgCatDescription entities (one to many).Retrieval of associated PurgCatDescription entities (one to many).Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<PurgCatMaterialGroup>>Retrieval of associated PurgCatMaterialGroup entities (one to many).Retrieval of associated PurgCatMaterialGroup entities (one to many).io.vavr.control.Option<List<PurgCatMember>>Retrieval of associated PurgCatMember entities (one to many).Retrieval of associated PurgCatMember entities (one to many).Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<PurgCatPlannedSpend>>Retrieval of associated PurgCatPlannedSpend entities (one to many).Retrieval of associated PurgCatPlannedSpend entities (one to many).io.vavr.control.Option<PurgCatPurchaserResponsible>Retrieval of associated PurgCatPurchaserResponsible entity (one to one).Retrieval of associated PurgCatPurchaserResponsible entity (one to one).io.vavr.control.Option<List<PurgCatSupplier>>Retrieval of associated PurgCatSupplier entities (one to many).Retrieval of associated PurgCatSupplier entities (one to many).Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<PurgCatTranslationStatus>>Retrieval of associated PurgCatTranslationStatus entities (one to many).Retrieval of associated PurgCatTranslationStatus entities (one to many).(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 60voidsetCreationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 7voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 60voidsetPurchasingCategory(String purchasingCategory) Constraints: Not nullable, Maximum length: 20voidOverwrites the list of associated PurgCatDescription entities for the loaded navigation property to_PurgCatDescription.voidsetPurgCatIsInactive(String purgCatIsInactive) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated PurgCatMaterialGroup entities for the loaded navigation property to_PurgCatMaterialGroup.voidsetPurgCatMember(List<PurgCatMember> value) Overwrites the list of associated PurgCatMember entities for the loaded navigation property to_PurgCatMember.voidsetPurgCatName(String purgCatName) Constraints: Not nullable, Maximum length: 60voidOverwrites the list of associated PurgCatPlannedSpend entities for the loaded navigation property to_PurgCatPlannedSpend.voidOverwrites the associated PurgCatPurchaserResponsible entity for the loaded navigation property to_PurgCatPurchaserResponsible.voidsetPurgCatSupplier(List<PurgCatSupplier> value) Overwrites the list of associated PurgCatSupplier entities for the loaded navigation property to_PurgCatSupplier.voidsetPurgCatTranslationOvrlStatus(String purgCatTranslationOvrlStatus) Constraints: Not nullable, Maximum length: 2voidOverwrites the list of associated PurgCatTranslationStatus entities for the loaded navigation property to_PurgCatTranslationStatus.voidsetPurgCatUUID(UUID purgCatUUID) (Key Field) Constraints: Not nullableprotected 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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of PurgCat. -
PURG_CAT_UUID
Use with available fluent helpers to apply the PurgCatUUID field to query operations. -
PURCHASING_CATEGORY
Use with available fluent helpers to apply the PurchasingCategory field to query operations. -
PURG_CAT_NAME
Use with available fluent helpers to apply the PurgCatName field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
PURG_CAT_IS_INACTIVE
Use with available fluent helpers to apply the PurgCatIsInactive field to query operations. -
PURG_CAT_TRANSLATION_OVRL_STATUS
Use with available fluent helpers to apply the PurgCatTranslationOvrlStatus field to query operations. -
TO_PURG_CAT_DESCRIPTION
Use with available fluent helpers to apply the to_PurgCatDescription navigation property to query operations. -
TO_PURG_CAT_MATERIAL_GROUP
Use with available fluent helpers to apply the to_PurgCatMaterialGroup navigation property to query operations. -
TO_PURG_CAT_MEMBER
Use with available fluent helpers to apply the to_PurgCatMember navigation property to query operations. -
TO_PURG_CAT_PLANNED_SPEND
Use with available fluent helpers to apply the to_PurgCatPlannedSpend navigation property to query operations. -
TO_PURG_CAT_PURCHASER_RESPONSIBLE
public static final PurgCatOneToOneLink<PurgCatPurchaserResponsible> TO_PURG_CAT_PURCHASER_RESPONSIBLEUse with available fluent helpers to apply the to_PurgCatPurchaserResponsible navigation property to query operations. -
TO_PURG_CAT_SUPPLIER
Use with available fluent helpers to apply the to_PurgCatSupplier navigation property to query operations. -
TO_PURG_CAT_TRANSLATION_STATUS
Use with available fluent helpers to apply the to_PurgCatTranslationStatus navigation property to query operations.
-
-
Constructor Details
-
PurgCat
public PurgCat() -
PurgCat
public PurgCat(@Nullable UUID purgCatUUID, @Nullable String purchasingCategory, @Nullable String purgCatName, @Nullable ZonedDateTime creationDateTime, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable String language, @Nullable String purgCatIsInactive, @Nullable String purgCatTranslationOvrlStatus, List<PurgCatDescription> toPurgCatDescription, List<PurgCatMaterialGroup> toPurgCatMaterialGroup, List<PurgCatMember> toPurgCatMember, List<PurgCatPlannedSpend> toPurgCatPlannedSpend, @Nullable PurgCatPurchaserResponsible toPurgCatPurchaserResponsible, List<PurgCatSupplier> toPurgCatSupplier, List<PurgCatTranslationStatus> toPurgCatTranslationStatus)
-
-
Method Details
-
getType
-
setPurgCatUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PurgCatUUID
- Parameters:
purgCatUUID- Purchasing Category UUID
-
setPurchasingCategory
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: PurchasingCategory
- Parameters:
purchasingCategory- Purchasing Category ID
-
setPurgCatName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurgCatName
- Parameters:
purgCatName- Name of Purchasing Category
-
setCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Created On
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created-By Name
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last Changed On
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Changed-By Name
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language
-
setPurgCatIsInactive
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurgCatIsInactive
- Parameters:
purgCatIsInactive- Inactive Status
-
setPurgCatTranslationOvrlStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurgCatTranslationOvrlStatus
- Parameters:
purgCatTranslationOvrlStatus- Status of All Translations
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurgCat>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurgCat>
-
fromMap
-
field
@Nonnull public static <T> PurgCatField<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> PurgCatField<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<PurgCat>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PurgCat>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PurgCat>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurgCat>
-
fetchPurgCatDescription
Fetches the PurgCatDescription entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurgCatDescription.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurgCatDescription entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatDescriptionOrFetch
Retrieval of associated PurgCatDescription entities (one to many). This corresponds to the OData navigation property to_PurgCatDescription.If the navigation property to_PurgCatDescription of a queried PurgCat 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.
- Returns:
- List of associated PurgCatDescription entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatDescriptionIfPresent
Retrieval of associated PurgCatDescription entities (one to many). This corresponds to the OData navigation property to_PurgCatDescription.If the navigation property for an entity PurgCat 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 to_PurgCatDescription is already loaded, the result
will contain the PurgCatDescription entities. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatDescription
Overwrites the list of associated PurgCatDescription entities for the loaded navigation property to_PurgCatDescription.If the navigation property to_PurgCatDescription of a queried PurgCat 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 PurgCatDescription entities.
-
addPurgCatDescription
Adds elements to the list of associated PurgCatDescription entities. This corresponds to the OData navigation property to_PurgCatDescription.If the navigation property to_PurgCatDescription of a queried PurgCat 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 PurgCatDescription entities.
-
fetchPurgCatMaterialGroup
Fetches the PurgCatMaterialGroup entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurgCatMaterialGroup.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurgCatMaterialGroup entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatMaterialGroupOrFetch
Retrieval of associated PurgCatMaterialGroup entities (one to many). This corresponds to the OData navigation property to_PurgCatMaterialGroup.If the navigation property to_PurgCatMaterialGroup of a queried PurgCat 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.
- Returns:
- List of associated PurgCatMaterialGroup entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatMaterialGroupIfPresent
@Nonnull public io.vavr.control.Option<List<PurgCatMaterialGroup>> getPurgCatMaterialGroupIfPresent()Retrieval of associated PurgCatMaterialGroup entities (one to many). This corresponds to the OData navigation property to_PurgCatMaterialGroup.If the navigation property for an entity PurgCat 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 to_PurgCatMaterialGroup is already loaded, the result
will contain the PurgCatMaterialGroup entities. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatMaterialGroup
Overwrites the list of associated PurgCatMaterialGroup entities for the loaded navigation property to_PurgCatMaterialGroup.If the navigation property to_PurgCatMaterialGroup of a queried PurgCat 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 PurgCatMaterialGroup entities.
-
addPurgCatMaterialGroup
Adds elements to the list of associated PurgCatMaterialGroup entities. This corresponds to the OData navigation property to_PurgCatMaterialGroup.If the navigation property to_PurgCatMaterialGroup of a queried PurgCat 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 PurgCatMaterialGroup entities.
-
fetchPurgCatMember
Fetches the PurgCatMember entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurgCatMember.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurgCatMember entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatMemberOrFetch
Retrieval of associated PurgCatMember entities (one to many). This corresponds to the OData navigation property to_PurgCatMember.If the navigation property to_PurgCatMember of a queried PurgCat 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.
- Returns:
- List of associated PurgCatMember entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatMemberIfPresent
Retrieval of associated PurgCatMember entities (one to many). This corresponds to the OData navigation property to_PurgCatMember.If the navigation property for an entity PurgCat 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 to_PurgCatMember is already loaded, the result will
contain the PurgCatMember entities. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatMember
Overwrites the list of associated PurgCatMember entities for the loaded navigation property to_PurgCatMember.If the navigation property to_PurgCatMember of a queried PurgCat 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 PurgCatMember entities.
-
addPurgCatMember
Adds elements to the list of associated PurgCatMember entities. This corresponds to the OData navigation property to_PurgCatMember.If the navigation property to_PurgCatMember of a queried PurgCat 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 PurgCatMember entities.
-
fetchPurgCatPlannedSpend
Fetches the PurgCatPlannedSpend entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurgCatPlannedSpend.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurgCatPlannedSpend entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatPlannedSpendOrFetch
Retrieval of associated PurgCatPlannedSpend entities (one to many). This corresponds to the OData navigation property to_PurgCatPlannedSpend.If the navigation property to_PurgCatPlannedSpend of a queried PurgCat 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.
- Returns:
- List of associated PurgCatPlannedSpend entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatPlannedSpendIfPresent
Retrieval of associated PurgCatPlannedSpend entities (one to many). This corresponds to the OData navigation property to_PurgCatPlannedSpend.If the navigation property for an entity PurgCat 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 to_PurgCatPlannedSpend is already loaded, the result
will contain the PurgCatPlannedSpend entities. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatPlannedSpend
Overwrites the list of associated PurgCatPlannedSpend entities for the loaded navigation property to_PurgCatPlannedSpend.If the navigation property to_PurgCatPlannedSpend of a queried PurgCat 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 PurgCatPlannedSpend entities.
-
addPurgCatPlannedSpend
Adds elements to the list of associated PurgCatPlannedSpend entities. This corresponds to the OData navigation property to_PurgCatPlannedSpend.If the navigation property to_PurgCatPlannedSpend of a queried PurgCat 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 PurgCatPlannedSpend entities.
-
fetchPurgCatPurchaserResponsible
Fetches the PurgCatPurchaserResponsible entity (one to one) associated with this entity. This corresponds to the OData navigation property to_PurgCatPurchaserResponsible.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated PurgCatPurchaserResponsible entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatPurchaserResponsibleOrFetch
Retrieval of associated PurgCatPurchaserResponsible entity (one to one). This corresponds to the OData navigation property to_PurgCatPurchaserResponsible.If the navigation property to_PurgCatPurchaserResponsible of a queried PurgCat 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.
- Returns:
- List of associated PurgCatPurchaserResponsible entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatPurchaserResponsibleIfPresent
@Nonnull public io.vavr.control.Option<PurgCatPurchaserResponsible> getPurgCatPurchaserResponsibleIfPresent()Retrieval of associated PurgCatPurchaserResponsible entity (one to one). This corresponds to the OData navigation property to_PurgCatPurchaserResponsible.If the navigation property for an entity PurgCat 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 to_PurgCatPurchaserResponsible is already loaded, the
result will contain the PurgCatPurchaserResponsible entity. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatPurchaserResponsible
Overwrites the associated PurgCatPurchaserResponsible entity for the loaded navigation property to_PurgCatPurchaserResponsible.- Parameters:
value- New PurgCatPurchaserResponsible entity.
-
fetchPurgCatSupplier
Fetches the PurgCatSupplier entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurgCatSupplier.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurgCatSupplier entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatSupplierOrFetch
Retrieval of associated PurgCatSupplier entities (one to many). This corresponds to the OData navigation property to_PurgCatSupplier.If the navigation property to_PurgCatSupplier of a queried PurgCat 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.
- Returns:
- List of associated PurgCatSupplier entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatSupplierIfPresent
Retrieval of associated PurgCatSupplier entities (one to many). This corresponds to the OData navigation property to_PurgCatSupplier.If the navigation property for an entity PurgCat 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 to_PurgCatSupplier is already loaded, the result will
contain the PurgCatSupplier entities. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatSupplier
Overwrites the list of associated PurgCatSupplier entities for the loaded navigation property to_PurgCatSupplier.If the navigation property to_PurgCatSupplier of a queried PurgCat 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 PurgCatSupplier entities.
-
addPurgCatSupplier
Adds elements to the list of associated PurgCatSupplier entities. This corresponds to the OData navigation property to_PurgCatSupplier.If the navigation property to_PurgCatSupplier of a queried PurgCat 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 PurgCatSupplier entities.
-
fetchPurgCatTranslationStatus
Fetches the PurgCatTranslationStatus entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PurgCatTranslationStatus.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PurgCatTranslationStatus entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatTranslationStatusOrFetch
Retrieval of associated PurgCatTranslationStatus entities (one to many). This corresponds to the OData navigation property to_PurgCatTranslationStatus.If the navigation property to_PurgCatTranslationStatus of a queried PurgCat 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.
- Returns:
- List of associated PurgCatTranslationStatus entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPurgCatTranslationStatusIfPresent
@Nonnull public io.vavr.control.Option<List<PurgCatTranslationStatus>> getPurgCatTranslationStatusIfPresent()Retrieval of associated PurgCatTranslationStatus entities (one to many). This corresponds to the OData navigation property to_PurgCatTranslationStatus.If the navigation property for an entity PurgCat 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 to_PurgCatTranslationStatus is already loaded, the
result will contain the PurgCatTranslationStatus entities. If not, an
Optionwith result stateemptyis returned.
-
setPurgCatTranslationStatus
Overwrites the list of associated PurgCatTranslationStatus entities for the loaded navigation property to_PurgCatTranslationStatus.If the navigation property to_PurgCatTranslationStatus of a queried PurgCat 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 PurgCatTranslationStatus entities.
-
addPurgCatTranslationStatus
Adds elements to the list of associated PurgCatTranslationStatus entities. This corresponds to the OData navigation property to_PurgCatTranslationStatus.If the navigation property to_PurgCatTranslationStatus of a queried PurgCat 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 PurgCatTranslationStatus entities.
-
builder
-
getPurgCatUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PurgCatUUID
- Returns:
- Purchasing Category UUID
-
getPurchasingCategory
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: PurchasingCategory
- Returns:
- Purchasing Category ID
-
getPurgCatName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: PurgCatName
- Returns:
- Name of Purchasing Category
-
getCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Created On
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created-By Name
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last Changed On
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Changed-By Name
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language
-
getPurgCatIsInactive
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurgCatIsInactive
- Returns:
- Inactive Status
-
getPurgCatTranslationOvrlStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PurgCatTranslationOvrlStatus
- Returns:
- Status of All Translations
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-