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
Helper class to allow for fluent creation of ProdAllocationObject instances.
|
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,
String productAllocationObject,
String productAllocationObject_Text,
String productAllocationPeriodType,
String prodAllocationPeriodTimeZone,
String factoryCalendar,
String prodAllocCheckDateTimeType,
String productAllocationQuantityUnit,
String collectiveAllocationType,
ZonedDateTime creationDateTime,
String createdByUser,
ZonedDateTime lastChangeDateTime,
String lastChangedByUser,
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.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
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
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
String |
getFactoryCalendar()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
io.vavr.control.Option<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
|
io.vavr.control.Option<List<ProdAllocCharcMetaData>> |
getProdAllocCharcMetaDataTPIfPresent()
Retrieval of associated ProdAllocCharcMetaData entities (one to many).
|
List<ProdAllocCharcMetaData> |
getProdAllocCharcMetaDataTPOrFetch()
Retrieval of associated ProdAllocCharcMetaData entities (one to many).
|
io.vavr.control.Option<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
|
String |
getProductAllocationObject_Text()
Constraints: Not nullable, Maximum length: 255
|
String |
getProductAllocationObject()
Constraints: Not nullable, Maximum length: 40
|
UUID |
getProductAllocationObjectUUID()
(Key Field) Constraints: Not nullable
|
String |
getProductAllocationPeriodType()
Constraints: Not nullable, Maximum length: 2
|
String |
getProductAllocationQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
Class<ProdAllocationObject> |
getType() |
int |
hashCode() |
void |
setCollectiveAllocationType(String collectiveAllocationType)
Constraints: Not nullable, Maximum length: 2
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setFactoryCalendar(String factoryCalendar)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
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
|
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
|
void |
setProductAllocationObject_Text(String productAllocationObject_Text)
Constraints: Not nullable, Maximum length: 255
|
void |
setProductAllocationObject(String productAllocationObject)
Constraints: Not nullable, Maximum length: 40
|
void |
setProductAllocationObjectUUID(UUID productAllocationObjectUUID)
(Key Field) Constraints: Not nullable
|
void |
setProductAllocationPeriodType(String productAllocationPeriodType)
Constraints: Not nullable, Maximum length: 2
|
void |
setProductAllocationQuantityUnit(String productAllocationQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, 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<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 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 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 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 ZonedDateTime creationDateTime, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, 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 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
- Key that uniquely identifies the factory calendar that is valid for this plant.public 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 Typepublic 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 Userprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProdAllocationObject>
@Nonnull 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)
T
- The type of the extension field when performing value comparisons.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)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProdAllocationObject>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProdAllocationObject>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProdAllocationObject>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<ProdAllocationObject>
@Nonnull 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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 io.vavr.control.Option<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 Option
result state will be empty
.
Option
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 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 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
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 © 2019 SAP SE. All rights reserved.