public class ProdAllocationObject extends VdmEntity<ProdAllocationObject>
Original entity name from the Odata EDM: A_ProdAllocationObjectType
Modifier and Type | Class and Description |
---|---|
static class |
ProdAllocationObject.ProdAllocationObjectBuilder |
Modifier and Type | Field and Description |
---|---|
static ProdAllocationObjectSelectable |
ALL_FIELDS
Selector for all available fields of ProdAllocationObject.
|
static ProdAllocationObjectField<String> |
COLLECTIVE_ALLOCATION_TYPE
Use with available fluent helpers to apply the CollectiveAllocationType field to query operations.
|
static ProdAllocationObjectField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ProdAllocationObjectField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ProdAllocationObjectField<String> |
FACTORY_CALENDAR
Use with available fluent helpers to apply the FactoryCalendar field to query operations.
|
static ProdAllocationObjectField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ProdAllocationObjectField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ProdAllocationObjectField<String> |
PROD_ALLOC_CHECK_DATE_TIME_TYPE
Use with available fluent helpers to apply the ProdAllocCheckDateTimeType field to query operations.
|
static ProdAllocationObjectField<String> |
PROD_ALLOCATION_PERIOD_TIME_ZONE
Use with available fluent helpers to apply the ProdAllocationPeriodTimeZone field to query operations.
|
static ProdAllocationObjectField<String> |
PRODUCT_ALLOCATION_OBJECT
Use with available fluent helpers to apply the ProductAllocationObject field to query operations.
|
static ProdAllocationObjectField<String> |
PRODUCT_ALLOCATION_OBJECT_TEXT
Use with available fluent helpers to apply the ProductAllocationObject_Text field to query operations.
|
static ProdAllocationObjectField<UUID> |
PRODUCT_ALLOCATION_OBJECT_UUID
Use with available fluent helpers to apply the ProductAllocationObjectUUID field to query operations.
|
static ProdAllocationObjectField<String> |
PRODUCT_ALLOCATION_PERIOD_TYPE
Use with available fluent helpers to apply the ProductAllocationPeriodType field to query operations.
|
static ProdAllocationObjectField<String> |
PRODUCT_ALLOCATION_QUANTITY_UNIT
Use with available fluent helpers to apply the ProductAllocationQuantityUnit field to query operations.
|
static ProdAllocationObjectLink<ProdAllocCharcMetaData> |
TO_PROD_ALLOC_CHARC_META_DATA_TP
Use with available fluent helpers to apply the to_ProdAllocCharcMetaDataTP navigation property to query operations.
|
static ProdAllocationObjectLink<ProdAllocCharcValCombn> |
TO_PROD_ALLOC_CHARC_VAL_COMBN_TP
Use with available fluent helpers to apply the to_ProdAllocCharcValCombnTP navigation property to query operations.
|
static ProdAllocationObjectLink<ProdAllocationObjectT> |
TO_PROD_ALLOCATION_OBJECT_TTP
Use with available fluent helpers to apply the to_ProdAllocationObjectTTP navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProdAllocationObject() |
ProdAllocationObject(UUID productAllocationObjectUUID,
ZonedDateTime creationDateTime,
String createdByUser,
ZonedDateTime lastChangeDateTime,
String lastChangedByUser,
String productAllocationObject,
String productAllocationObject_Text,
String productAllocationPeriodType,
String prodAllocationPeriodTimeZone,
String factoryCalendar,
String prodAllocCheckDateTimeType,
String productAllocationQuantityUnit,
String collectiveAllocationType,
ErpConfigContext erpConfigContext,
List<ProdAllocationObjectT> toProdAllocationObjectTTP,
List<ProdAllocCharcMetaData> toProdAllocCharcMetaDataTP,
List<ProdAllocCharcValCombn> toProdAllocCharcValCombnTP) |
Modifier and Type | Method and Description |
---|---|
void |
addProdAllocationObjectTTP(ProdAllocationObjectT... entity)
Adds elements to the list of associated ProdAllocationObjectT entities.
|
void |
addProdAllocCharcMetaDataTP(ProdAllocCharcMetaData... entity)
Adds elements to the list of associated ProdAllocCharcMetaData entities.
|
void |
addProdAllocCharcValCombnTP(ProdAllocCharcValCombn... entity)
Adds elements to the list of associated ProdAllocCharcValCombn entities.
|
static ProdAllocationObject.ProdAllocationObjectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ProdAllocationObjectT> |
fetchProdAllocationObjectTTP()
Fetches the ProdAllocationObjectT entities (one to many) associated with this entity.
|
List<ProdAllocCharcMetaData> |
fetchProdAllocCharcMetaDataTP()
Fetches the ProdAllocCharcMetaData entities (one to many) associated with this entity.
|
List<ProdAllocCharcValCombn> |
fetchProdAllocCharcValCombnTP()
Fetches the ProdAllocCharcValCombn entities (one to many) associated with this entity.
|
static <T> ProdAllocationObjectField<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 |
getCollectiveAllocationType()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: CollectiveAllocationType
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: CreatedByUser
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: CreationDateTime
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getFactoryCalendar()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: FactoryCalendar
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: LastChangeDateTime
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: LastChangedByUser
|
Optional<List<ProdAllocationObjectT>> |
getProdAllocationObjectTTPIfPresent()
Retrieval of associated ProdAllocationObjectT entities (one to many).
|
List<ProdAllocationObjectT> |
getProdAllocationObjectTTPOrFetch()
Retrieval of associated ProdAllocationObjectT entities (one to many).
|
String |
getProdAllocationPeriodTimeZone()
Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: ProdAllocationPeriodTimeZone
|
Optional<List<ProdAllocCharcMetaData>> |
getProdAllocCharcMetaDataTPIfPresent()
Retrieval of associated ProdAllocCharcMetaData entities (one to many).
|
List<ProdAllocCharcMetaData> |
getProdAllocCharcMetaDataTPOrFetch()
Retrieval of associated ProdAllocCharcMetaData entities (one to many).
|
Optional<List<ProdAllocCharcValCombn>> |
getProdAllocCharcValCombnTPIfPresent()
Retrieval of associated ProdAllocCharcValCombn entities (one to many).
|
List<ProdAllocCharcValCombn> |
getProdAllocCharcValCombnTPOrFetch()
Retrieval of associated ProdAllocCharcValCombn entities (one to many).
|
String |
getProdAllocCheckDateTimeType()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: ProdAllocCheckDateTimeType
|
String |
getProductAllocationObject_Text()
Constraints: Not nullable, Maximum length: 255 Original property name from the Odata EDM: ProductAllocationObject_Text
|
String |
getProductAllocationObject()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProductAllocationObject
|
UUID |
getProductAllocationObjectUUID()
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProductAllocationObjectUUID
|
String |
getProductAllocationPeriodType()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: ProductAllocationPeriodType
|
String |
getProductAllocationQuantityUnit()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: ProductAllocationQuantityUnit
|
Class<ProdAllocationObject> |
getType() |
int |
hashCode() |
void |
setCollectiveAllocationType(String collectiveAllocationType)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: CollectiveAllocationType
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: CreatedByUser
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: CreationDateTime
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setFactoryCalendar(String factoryCalendar)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: FactoryCalendar
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: LastChangeDateTime
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: LastChangedByUser
|
void |
setProdAllocationObjectTTP(List<ProdAllocationObjectT> value)
Overwrites the list of associated ProdAllocationObjectT entities for the loaded navigation property to_ProdAllocationObjectTTP.
|
void |
setProdAllocationPeriodTimeZone(String prodAllocationPeriodTimeZone)
Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: ProdAllocationPeriodTimeZone
|
void |
setProdAllocCharcMetaDataTP(List<ProdAllocCharcMetaData> value)
Overwrites the list of associated ProdAllocCharcMetaData entities for the loaded navigation property to_ProdAllocCharcMetaDataTP.
|
void |
setProdAllocCharcValCombnTP(List<ProdAllocCharcValCombn> value)
Overwrites the list of associated ProdAllocCharcValCombn entities for the loaded navigation property to_ProdAllocCharcValCombnTP.
|
void |
setProdAllocCheckDateTimeType(String prodAllocCheckDateTimeType)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: ProdAllocCheckDateTimeType
|
void |
setProductAllocationObject_Text(String productAllocationObject_Text)
Constraints: Not nullable, Maximum length: 255 Original property name from the Odata EDM: ProductAllocationObject_Text
|
void |
setProductAllocationObject(String productAllocationObject)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProductAllocationObject
|
void |
setProductAllocationObjectUUID(UUID productAllocationObjectUUID)
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProductAllocationObjectUUID
|
void |
setProductAllocationPeriodType(String productAllocationPeriodType)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: ProductAllocationPeriodType
|
void |
setProductAllocationQuantityUnit(String productAllocationQuantityUnit)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: ProductAllocationQuantityUnit
|
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 ProdAllocationObjectSelectable ALL_FIELDS
public static final ProdAllocationObjectField<UUID> PRODUCT_ALLOCATION_OBJECT_UUID
public static final ProdAllocationObjectField<ZonedDateTime> CREATION_DATE_TIME
public static final ProdAllocationObjectField<String> CREATED_BY_USER
public static final ProdAllocationObjectField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final ProdAllocationObjectField<String> LAST_CHANGED_BY_USER
public static final ProdAllocationObjectField<String> PRODUCT_ALLOCATION_OBJECT
public static final ProdAllocationObjectField<String> PRODUCT_ALLOCATION_OBJECT_TEXT
public static final ProdAllocationObjectField<String> PRODUCT_ALLOCATION_PERIOD_TYPE
public static final ProdAllocationObjectField<String> PROD_ALLOCATION_PERIOD_TIME_ZONE
public static final ProdAllocationObjectField<String> FACTORY_CALENDAR
public static final ProdAllocationObjectField<String> PROD_ALLOC_CHECK_DATE_TIME_TYPE
public static final ProdAllocationObjectField<String> PRODUCT_ALLOCATION_QUANTITY_UNIT
public static final ProdAllocationObjectField<String> COLLECTIVE_ALLOCATION_TYPE
public static final ProdAllocationObjectLink<ProdAllocationObjectT> TO_PROD_ALLOCATION_OBJECT_TTP
public static final ProdAllocationObjectLink<ProdAllocCharcMetaData> TO_PROD_ALLOC_CHARC_META_DATA_TP
public static final ProdAllocationObjectLink<ProdAllocCharcValCombn> TO_PROD_ALLOC_CHARC_VAL_COMBN_TP
public ProdAllocationObject()
public ProdAllocationObject(@Nullable UUID productAllocationObjectUUID, @Nullable ZonedDateTime creationDateTime, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable String productAllocationObject, @Nullable String productAllocationObject_Text, @Nullable String productAllocationPeriodType, @Nullable String prodAllocationPeriodTimeZone, @Nullable String factoryCalendar, @Nullable String prodAllocCheckDateTimeType, @Nullable String productAllocationQuantityUnit, @Nullable String collectiveAllocationType, @Nullable ErpConfigContext erpConfigContext, List<ProdAllocationObjectT> toProdAllocationObjectTTP, List<ProdAllocCharcMetaData> toProdAllocCharcMetaDataTP, List<ProdAllocCharcValCombn> toProdAllocCharcValCombnTP)
@Nonnull public Class<ProdAllocationObject> getType()
getType
in class VdmObject<ProdAllocationObject>
public void setProductAllocationObjectUUID(@Nullable UUID productAllocationObjectUUID)
Original property name from the Odata EDM: ProductAllocationObjectUUID
productAllocationObjectUUID
- Product Allocation Object UUIDpublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Creation Date Timepublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created by Userpublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Last Change Date Timepublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed by Userpublic void setProductAllocationObject(@Nullable String productAllocationObject)
Original property name from the Odata EDM: ProductAllocationObject
productAllocationObject
- Product Allocation Objectpublic void setProductAllocationObject_Text(@Nullable String productAllocationObject_Text)
Original property name from the Odata EDM: ProductAllocationObject_Text
productAllocationObject_Text
- Product Allocation Object Descriptionpublic void setProductAllocationPeriodType(@Nullable String productAllocationPeriodType)
Original property name from the Odata EDM: ProductAllocationPeriodType
productAllocationPeriodType
- Product Allocation Period Typepublic void setProdAllocationPeriodTimeZone(@Nullable String prodAllocationPeriodTimeZone)
Original property name from the Odata EDM: ProdAllocationPeriodTimeZone
prodAllocationPeriodTimeZone
- Product Allocation Period Time Zonepublic void setFactoryCalendar(@Nullable String factoryCalendar)
Original property name from the Odata EDM: FactoryCalendar
factoryCalendar
- Factory calendar keypublic void setProdAllocCheckDateTimeType(@Nullable String prodAllocCheckDateTimeType)
Original property name from the Odata EDM: ProdAllocCheckDateTimeType
prodAllocCheckDateTimeType
- Product Allocation Check Date Time Typepublic void setProductAllocationQuantityUnit(@Nullable String productAllocationQuantityUnit)
Original property name from the Odata EDM: ProductAllocationQuantityUnit
productAllocationQuantityUnit
- Product Allocation Quantity Unitpublic void setCollectiveAllocationType(@Nullable String collectiveAllocationType)
Original property name from the Odata EDM: CollectiveAllocationType
collectiveAllocationType
- Collective Allocation Typeprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProdAllocationObject>
protected Map<String,Object> getKey()
getKey
in class VdmObject<ProdAllocationObject>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProdAllocationObject>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProdAllocationObject>
@Nonnull public static <T> ProdAllocationObjectField<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> ProdAllocationObjectField<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<ProdAllocationObject>
@Nonnull public List<ProdAllocationObjectT> fetchProdAllocationObjectTTP() 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.@Nonnull public List<ProdAllocationObjectT> getProdAllocationObjectTTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProdAllocationObjectTTP of a queried ProdAllocationObject 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.@Nonnull public Optional<List<ProdAllocationObjectT>> getProdAllocationObjectTTPIfPresent()
If the navigation property for an entity ProdAllocationObject 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 setProdAllocationObjectTTP(@Nonnull List<ProdAllocationObjectT> value)
If the navigation property to_ProdAllocationObjectTTP of a queried ProdAllocationObject 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 ProdAllocationObjectT entities.public void addProdAllocationObjectTTP(ProdAllocationObjectT... entity)
If the navigation property to_ProdAllocationObjectTTP of a queried ProdAllocationObject 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 ProdAllocationObjectT entities.@Nonnull public List<ProdAllocCharcMetaData> fetchProdAllocCharcMetaDataTP() 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.@Nonnull public List<ProdAllocCharcMetaData> getProdAllocCharcMetaDataTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProdAllocCharcMetaDataTP of a queried ProdAllocationObject 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.@Nonnull public Optional<List<ProdAllocCharcMetaData>> getProdAllocCharcMetaDataTPIfPresent()
If the navigation property for an entity ProdAllocationObject 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 setProdAllocCharcMetaDataTP(@Nonnull List<ProdAllocCharcMetaData> value)
If the navigation property to_ProdAllocCharcMetaDataTP of a queried ProdAllocationObject 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 ProdAllocCharcMetaData entities.public void addProdAllocCharcMetaDataTP(ProdAllocCharcMetaData... entity)
If the navigation property to_ProdAllocCharcMetaDataTP of a queried ProdAllocationObject 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 ProdAllocCharcMetaData entities.@Nonnull public List<ProdAllocCharcValCombn> fetchProdAllocCharcValCombnTP() 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.@Nonnull public List<ProdAllocCharcValCombn> getProdAllocCharcValCombnTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProdAllocCharcValCombnTP of a queried ProdAllocationObject 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.@Nonnull public Optional<List<ProdAllocCharcValCombn>> getProdAllocCharcValCombnTPIfPresent()
If the navigation property for an entity ProdAllocationObject 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 setProdAllocCharcValCombnTP(@Nonnull List<ProdAllocCharcValCombn> value)
If the navigation property to_ProdAllocCharcValCombnTP of a queried ProdAllocationObject 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 ProdAllocCharcValCombn entities.public void addProdAllocCharcValCombnTP(ProdAllocCharcValCombn... entity)
If the navigation property to_ProdAllocCharcValCombnTP of a queried ProdAllocationObject 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 ProdAllocCharcValCombn entities.public static ProdAllocationObject.ProdAllocationObjectBuilder builder()
@Nullable public UUID getProductAllocationObjectUUID()
Original property name from the Odata EDM: ProductAllocationObjectUUID
@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 getProductAllocationObject()
Original property name from the Odata EDM: ProductAllocationObject
@Nullable public String getProductAllocationObject_Text()
Original property name from the Odata EDM: ProductAllocationObject_Text
@Nullable public String getProductAllocationPeriodType()
Original property name from the Odata EDM: ProductAllocationPeriodType
@Nullable public String getProdAllocationPeriodTimeZone()
Original property name from the Odata EDM: ProdAllocationPeriodTimeZone
@Nullable public String getFactoryCalendar()
Original property name from the Odata EDM: FactoryCalendar
@Nullable public String getProdAllocCheckDateTimeType()
Original property name from the Odata EDM: ProdAllocCheckDateTimeType
@Nullable public String getProductAllocationQuantityUnit()
Original property name from the Odata EDM: ProductAllocationQuantityUnit
@Nullable public String getCollectiveAllocationType()
Original property name from the Odata EDM: CollectiveAllocationType
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<ProdAllocationObject>
erpConfigContext
- public String toString()
toString
in class VdmObject<ProdAllocationObject>
public boolean equals(Object o)
equals
in class VdmObject<ProdAllocationObject>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProdAllocationObject>
public int hashCode()
hashCode
in class VdmObject<ProdAllocationObject>
Copyright © 2018 SAP SE. All rights reserved.