Modifier and Type | Class and Description |
---|---|
static class |
PurgCat.PurgCatBuilder |
Modifier and Type | Field and Description |
---|---|
static PurgCatSelectable |
ALL_FIELDS
Selector for all available fields of PurgCat.
|
static PurgCatField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static PurgCatField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static PurgCatField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static PurgCatField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static PurgCatField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static PurgCatField<String> |
PURCHASING_CATEGORY
Use with available fluent helpers to apply the PurchasingCategory field to query operations.
|
static PurgCatField<String> |
PURG_CAT_IS_INACTIVE
Use with available fluent helpers to apply the PurgCatIsInactive field to query operations.
|
static PurgCatField<String> |
PURG_CAT_NAME
Use with available fluent helpers to apply the PurgCatName field to query operations.
|
static PurgCatField<String> |
PURG_CAT_TRANSLATION_OVRL_STATUS
Use with available fluent helpers to apply the PurgCatTranslationOvrlStatus field to query operations.
|
static PurgCatField<UUID> |
PURG_CAT_UUID
Use with available fluent helpers to apply the PurgCatUUID field to query operations.
|
static PurgCatLink<PurgCatDescription> |
TO_PURG_CAT_DESCRIPTION
Use with available fluent helpers to apply the to_PurgCatDescription navigation property to query operations.
|
static PurgCatLink<PurgCatMaterialGroup> |
TO_PURG_CAT_MATERIAL_GROUP
Use with available fluent helpers to apply the to_PurgCatMaterialGroup navigation property to query operations.
|
static PurgCatLink<PurgCatMember> |
TO_PURG_CAT_MEMBER
Use with available fluent helpers to apply the to_PurgCatMember navigation property to query operations.
|
static PurgCatLink<PurgCatPlannedSpend> |
TO_PURG_CAT_PLANNED_SPEND
Use with available fluent helpers to apply the to_PurgCatPlannedSpend navigation property to query operations.
|
static PurgCatLink<PurgCatPurchaserResponsible> |
TO_PURG_CAT_PURCHASER_RESPONSIBLE
Use with available fluent helpers to apply the to_PurgCatPurchaserResponsible navigation property to query operations.
|
static PurgCatLink<PurgCatSupplier> |
TO_PURG_CAT_SUPPLIER
Use with available fluent helpers to apply the to_PurgCatSupplier navigation property to query operations.
|
static PurgCatLink<PurgCatTranslationStatus> |
TO_PURG_CAT_TRANSLATION_STATUS
Use with available fluent helpers to apply the to_PurgCatTranslationStatus navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurgCat() |
PurgCat(UUID purgCatUUID,
String purchasingCategory,
String purgCatName,
ZonedDateTime creationDateTime,
String createdByUser,
ZonedDateTime lastChangeDateTime,
String lastChangedByUser,
String language,
String purgCatIsInactive,
String purgCatTranslationOvrlStatus,
ErpConfigContext erpConfigContext,
List<PurgCatDescription> toPurgCatDescription,
List<PurgCatMaterialGroup> toPurgCatMaterialGroup,
List<PurgCatMember> toPurgCatMember,
List<PurgCatPlannedSpend> toPurgCatPlannedSpend,
PurgCatPurchaserResponsible toPurgCatPurchaserResponsible,
List<PurgCatSupplier> toPurgCatSupplier,
List<PurgCatTranslationStatus> toPurgCatTranslationStatus) |
Modifier and Type | Method and Description |
---|---|
void |
addPurgCatDescription(PurgCatDescription... entity)
Adds elements to the list of associated PurgCatDescription entities.
|
void |
addPurgCatMaterialGroup(PurgCatMaterialGroup... entity)
Adds elements to the list of associated PurgCatMaterialGroup entities.
|
void |
addPurgCatMember(PurgCatMember... entity)
Adds elements to the list of associated PurgCatMember entities.
|
void |
addPurgCatPlannedSpend(PurgCatPlannedSpend... entity)
Adds elements to the list of associated PurgCatPlannedSpend entities.
|
void |
addPurgCatSupplier(PurgCatSupplier... entity)
Adds elements to the list of associated PurgCatSupplier entities.
|
void |
addPurgCatTranslationStatus(PurgCatTranslationStatus... entity)
Adds elements to the list of associated PurgCatTranslationStatus entities.
|
static PurgCat.PurgCatBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PurgCatDescription> |
fetchPurgCatDescription()
Fetches the PurgCatDescription entities (one to many) associated with this entity.
|
List<PurgCatMaterialGroup> |
fetchPurgCatMaterialGroup()
Fetches the PurgCatMaterialGroup entities (one to many) associated with this entity.
|
List<PurgCatMember> |
fetchPurgCatMember()
Fetches the PurgCatMember entities (one to many) associated with this entity.
|
List<PurgCatPlannedSpend> |
fetchPurgCatPlannedSpend()
Fetches the PurgCatPlannedSpend entities (one to many) associated with this entity.
|
PurgCatPurchaserResponsible |
fetchPurgCatPurchaserResponsible()
Fetches the PurgCatPurchaserResponsible entity (one to one) associated with this entity.
|
List<PurgCatSupplier> |
fetchPurgCatSupplier()
Fetches the PurgCatSupplier entities (one to many) associated with this entity.
|
List<PurgCatTranslationStatus> |
fetchPurgCatTranslationStatus()
Fetches the PurgCatTranslationStatus entities (one to many) associated with this entity.
|
static <T> PurgCatField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 60
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 60
|
String |
getPurchasingCategory()
Constraints: Not nullable, Maximum length: 20
|
Optional<List<PurgCatDescription>> |
getPurgCatDescriptionIfPresent()
Retrieval of associated PurgCatDescription entities (one to many).
|
List<PurgCatDescription> |
getPurgCatDescriptionOrFetch()
Retrieval of associated PurgCatDescription entities (one to many).
|
String |
getPurgCatIsInactive()
Constraints: Not nullable, Maximum length: 1
|
Optional<List<PurgCatMaterialGroup>> |
getPurgCatMaterialGroupIfPresent()
Retrieval of associated PurgCatMaterialGroup entities (one to many).
|
List<PurgCatMaterialGroup> |
getPurgCatMaterialGroupOrFetch()
Retrieval of associated PurgCatMaterialGroup entities (one to many).
|
Optional<List<PurgCatMember>> |
getPurgCatMemberIfPresent()
Retrieval of associated PurgCatMember entities (one to many).
|
List<PurgCatMember> |
getPurgCatMemberOrFetch()
Retrieval of associated PurgCatMember entities (one to many).
|
String |
getPurgCatName()
Constraints: Not nullable, Maximum length: 60
|
Optional<List<PurgCatPlannedSpend>> |
getPurgCatPlannedSpendIfPresent()
Retrieval of associated PurgCatPlannedSpend entities (one to many).
|
List<PurgCatPlannedSpend> |
getPurgCatPlannedSpendOrFetch()
Retrieval of associated PurgCatPlannedSpend entities (one to many).
|
Optional<PurgCatPurchaserResponsible> |
getPurgCatPurchaserResponsibleIfPresent()
Retrieval of associated PurgCatPurchaserResponsible entity (one to one).
|
PurgCatPurchaserResponsible |
getPurgCatPurchaserResponsibleOrFetch()
Retrieval of associated PurgCatPurchaserResponsible entity (one to one).
|
Optional<List<PurgCatSupplier>> |
getPurgCatSupplierIfPresent()
Retrieval of associated PurgCatSupplier entities (one to many).
|
List<PurgCatSupplier> |
getPurgCatSupplierOrFetch()
Retrieval of associated PurgCatSupplier entities (one to many).
|
String |
getPurgCatTranslationOvrlStatus()
Constraints: Not nullable, Maximum length: 2
|
Optional<List<PurgCatTranslationStatus>> |
getPurgCatTranslationStatusIfPresent()
Retrieval of associated PurgCatTranslationStatus entities (one to many).
|
List<PurgCatTranslationStatus> |
getPurgCatTranslationStatusOrFetch()
Retrieval of associated PurgCatTranslationStatus entities (one to many).
|
UUID |
getPurgCatUUID()
(Key Field) Constraints: Not nullable
|
Class<PurgCat> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 60
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 60
|
void |
setPurchasingCategory(String purchasingCategory)
Constraints: Not nullable, Maximum length: 20
|
void |
setPurgCatDescription(List<PurgCatDescription> value)
Overwrites the list of associated PurgCatDescription entities for the loaded navigation property to_PurgCatDescription.
|
void |
setPurgCatIsInactive(String purgCatIsInactive)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurgCatMaterialGroup(List<PurgCatMaterialGroup> value)
Overwrites the list of associated PurgCatMaterialGroup entities for the loaded navigation property to_PurgCatMaterialGroup.
|
void |
setPurgCatMember(List<PurgCatMember> value)
Overwrites the list of associated PurgCatMember entities for the loaded navigation property to_PurgCatMember.
|
void |
setPurgCatName(String purgCatName)
Constraints: Not nullable, Maximum length: 60
|
void |
setPurgCatPlannedSpend(List<PurgCatPlannedSpend> value)
Overwrites the list of associated PurgCatPlannedSpend entities for the loaded navigation property to_PurgCatPlannedSpend.
|
void |
setPurgCatPurchaserResponsible(PurgCatPurchaserResponsible value)
Overwrites the associated PurgCatPurchaserResponsible entity for the loaded navigation property to_PurgCatPurchaserResponsible.
|
void |
setPurgCatSupplier(List<PurgCatSupplier> value)
Overwrites the list of associated PurgCatSupplier entities for the loaded navigation property to_PurgCatSupplier.
|
void |
setPurgCatTranslationOvrlStatus(String purgCatTranslationOvrlStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setPurgCatTranslationStatus(List<PurgCatTranslationStatus> value)
Overwrites the list of associated PurgCatTranslationStatus entities for the loaded navigation property to_PurgCatTranslationStatus.
|
void |
setPurgCatUUID(UUID purgCatUUID)
(Key Field) Constraints: Not nullable
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PurgCatSelectable ALL_FIELDS
public static final PurgCatField<UUID> PURG_CAT_UUID
public static final PurgCatField<String> PURCHASING_CATEGORY
public static final PurgCatField<String> PURG_CAT_NAME
public static final PurgCatField<ZonedDateTime> CREATION_DATE_TIME
public static final PurgCatField<String> CREATED_BY_USER
public static final PurgCatField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final PurgCatField<String> LAST_CHANGED_BY_USER
public static final PurgCatField<String> LANGUAGE
public static final PurgCatField<String> PURG_CAT_IS_INACTIVE
public static final PurgCatField<String> PURG_CAT_TRANSLATION_OVRL_STATUS
public static final PurgCatLink<PurgCatDescription> TO_PURG_CAT_DESCRIPTION
public static final PurgCatLink<PurgCatMaterialGroup> TO_PURG_CAT_MATERIAL_GROUP
public static final PurgCatLink<PurgCatMember> TO_PURG_CAT_MEMBER
public static final PurgCatLink<PurgCatPlannedSpend> TO_PURG_CAT_PLANNED_SPEND
public static final PurgCatLink<PurgCatPurchaserResponsible> TO_PURG_CAT_PURCHASER_RESPONSIBLE
public static final PurgCatLink<PurgCatSupplier> TO_PURG_CAT_SUPPLIER
public static final PurgCatLink<PurgCatTranslationStatus> TO_PURG_CAT_TRANSLATION_STATUS
public 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, @Nullable ErpConfigContext erpConfigContext, List<PurgCatDescription> toPurgCatDescription, List<PurgCatMaterialGroup> toPurgCatMaterialGroup, List<PurgCatMember> toPurgCatMember, List<PurgCatPlannedSpend> toPurgCatPlannedSpend, @Nullable PurgCatPurchaserResponsible toPurgCatPurchaserResponsible, List<PurgCatSupplier> toPurgCatSupplier, List<PurgCatTranslationStatus> toPurgCatTranslationStatus)
public void setPurgCatUUID(@Nullable UUID purgCatUUID)
Original property name from the Odata EDM: PurgCatUUID
purgCatUUID
- Purchasing Category UUIDpublic void setPurchasingCategory(@Nullable String purchasingCategory)
Original property name from the Odata EDM: PurchasingCategory
purchasingCategory
- Purchasing Category IDpublic void setPurgCatName(@Nullable String purgCatName)
Original property name from the Odata EDM: PurgCatName
purgCatName
- Name of Purchasing Categorypublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Created Onpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created-By Namepublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Last Changed Onpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Changed-By Namepublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Languagepublic void setPurgCatIsInactive(@Nullable String purgCatIsInactive)
Original property name from the Odata EDM: PurgCatIsInactive
purgCatIsInactive
- Inactive Statuspublic void setPurgCatTranslationOvrlStatus(@Nullable String purgCatTranslationOvrlStatus)
Original property name from the Odata EDM: PurgCatTranslationOvrlStatus
purgCatTranslationOvrlStatus
- Status of All Translationsprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<PurgCat>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurgCat>
@Nonnull public static <T> PurgCatField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
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.@Nonnull public static <T,DomainT> PurgCatField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PurgCat>
public List<PurgCatDescription> fetchPurgCatDescription() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public List<PurgCatDescription> getPurgCatDescriptionOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<List<PurgCatDescription>> getPurgCatDescriptionIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatDescription(@Nonnull List<PurgCatDescription> value)
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.
value
- List of PurgCatDescription entities.public void addPurgCatDescription(PurgCatDescription... entity)
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.
entity
- Array of PurgCatDescription entities.public List<PurgCatMaterialGroup> fetchPurgCatMaterialGroup() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public List<PurgCatMaterialGroup> getPurgCatMaterialGroupOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<List<PurgCatMaterialGroup>> getPurgCatMaterialGroupIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatMaterialGroup(@Nonnull List<PurgCatMaterialGroup> value)
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.
value
- List of PurgCatMaterialGroup entities.public void addPurgCatMaterialGroup(PurgCatMaterialGroup... entity)
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.
entity
- Array of PurgCatMaterialGroup entities.public List<PurgCatMember> fetchPurgCatMember() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public List<PurgCatMember> getPurgCatMemberOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<List<PurgCatMember>> getPurgCatMemberIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatMember(@Nonnull List<PurgCatMember> value)
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.
value
- List of PurgCatMember entities.public void addPurgCatMember(PurgCatMember... entity)
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.
entity
- Array of PurgCatMember entities.public List<PurgCatPlannedSpend> fetchPurgCatPlannedSpend() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public List<PurgCatPlannedSpend> getPurgCatPlannedSpendOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<List<PurgCatPlannedSpend>> getPurgCatPlannedSpendIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatPlannedSpend(@Nonnull List<PurgCatPlannedSpend> value)
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.
value
- List of PurgCatPlannedSpend entities.public void addPurgCatPlannedSpend(PurgCatPlannedSpend... entity)
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.
entity
- Array of PurgCatPlannedSpend entities.public PurgCatPurchaserResponsible fetchPurgCatPurchaserResponsible() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public PurgCatPurchaserResponsible getPurgCatPurchaserResponsibleOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<PurgCatPurchaserResponsible> getPurgCatPurchaserResponsibleIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatPurchaserResponsible(PurgCatPurchaserResponsible value)
value
- New PurgCatPurchaserResponsible entity.public List<PurgCatSupplier> fetchPurgCatSupplier() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public List<PurgCatSupplier> getPurgCatSupplierOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<List<PurgCatSupplier>> getPurgCatSupplierIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatSupplier(@Nonnull List<PurgCatSupplier> value)
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.
value
- List of PurgCatSupplier entities.public void addPurgCatSupplier(PurgCatSupplier... entity)
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.
entity
- Array of PurgCatSupplier entities.public List<PurgCatTranslationStatus> fetchPurgCatTranslationStatus() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public List<PurgCatTranslationStatus> getPurgCatTranslationStatusOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public Optional<List<PurgCatTranslationStatus>> getPurgCatTranslationStatusIfPresent()
If the navigation property for an entity PurgCat has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setPurgCatTranslationStatus(@Nonnull List<PurgCatTranslationStatus> value)
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.
value
- List of PurgCatTranslationStatus entities.public void addPurgCatTranslationStatus(PurgCatTranslationStatus... entity)
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.
entity
- Array of PurgCatTranslationStatus entities.public static PurgCat.PurgCatBuilder builder()
@Nullable public UUID getPurgCatUUID()
Original property name from the Odata EDM: PurgCatUUID
@Nullable public String getPurchasingCategory()
Original property name from the Odata EDM: PurchasingCategory
@Nullable public String getPurgCatName()
Original property name from the Odata EDM: PurgCatName
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getPurgCatIsInactive()
Original property name from the Odata EDM: PurgCatIsInactive
@Nullable public String getPurgCatTranslationOvrlStatus()
Original property name from the Odata EDM: PurgCatTranslationOvrlStatus
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<PurgCat>
erpConfigContext
- Copyright © 2018 SAP SE. All rights reserved.