public class ProdAllocationSequence extends VdmEntity<ProdAllocationSequence>
Original entity name from the Odata EDM: A_ProdAllocationSequenceType
Modifier and Type | Class and Description |
---|---|
static class |
ProdAllocationSequence.ProdAllocationSequenceBuilder |
Modifier and Type | Field and Description |
---|---|
static ProdAllocationSequenceSelectable |
ALL_FIELDS
Selector for all available fields of ProdAllocationSequence.
|
static ProdAllocationSequenceField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static ProdAllocationSequenceField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ProdAllocationSequenceField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ProdAllocationSequenceField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static ProdAllocationSequenceField<String> |
PROD_ALLOC_SQNC_CONSUMPTION_UNIT
Use with available fluent helpers to apply the ProdAllocSqncConsumptionUnit field to query operations.
|
static ProdAllocationSequenceField<String> |
PRODUCT_ALLOCATION_SEQUENCE
Use with available fluent helpers to apply the ProductAllocationSequence field to query operations.
|
static ProdAllocationSequenceField<String> |
PRODUCT_ALLOCATION_SEQUENCE_TEXT
Use with available fluent helpers to apply the ProductAllocationSequence_Text field to query operations.
|
static ProdAllocationSequenceField<UUID> |
PRODUCT_ALLOCATION_SEQUENCE_UUID
Use with available fluent helpers to apply the ProductAllocationSequenceUUID field to query operations.
|
static ProdAllocationSequenceLink<ProdAllocSequenceT> |
TO_PROD_ALLOC_SEQUENCE_TTP
Use with available fluent helpers to apply the to_ProdAllocSequenceTTP navigation property to query operations.
|
static ProdAllocationSequenceLink<ProdAllocSqncAssgmt> |
TO_PROD_ALLOC_SQNC_ASSGMT_TP
Use with available fluent helpers to apply the to_ProdAllocSqncAssgmtTP navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProdAllocationSequence() |
ProdAllocationSequence(UUID productAllocationSequenceUUID,
String productAllocationSequence,
String productAllocationSequence_Text,
String prodAllocSqncConsumptionUnit,
ZonedDateTime creationDateTime,
String createdByUser,
ZonedDateTime lastChangeDateTime,
String lastChangedByUser,
ErpConfigContext erpConfigContext,
List<ProdAllocSequenceT> toProdAllocSequenceTTP,
List<ProdAllocSqncAssgmt> toProdAllocSqncAssgmtTP) |
Modifier and Type | Method and Description |
---|---|
void |
addProdAllocSequenceTTP(ProdAllocSequenceT... entity)
Adds elements to the list of associated ProdAllocSequenceT entities.
|
void |
addProdAllocSqncAssgmtTP(ProdAllocSqncAssgmt... entity)
Adds elements to the list of associated ProdAllocSqncAssgmt entities.
|
static ProdAllocationSequence.ProdAllocationSequenceBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<ProdAllocSequenceT> |
fetchProdAllocSequenceTTP()
Fetches the ProdAllocSequenceT entities (one to many) associated with this entity.
|
List<ProdAllocSqncAssgmt> |
fetchProdAllocSqncAssgmtTP()
Fetches the ProdAllocSqncAssgmt entities (one to many) associated with this entity.
|
static <T> ProdAllocationSequenceField<T> |
field(String fieldName,
Class<T> fieldType)
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: 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 |
getEndpointUrl() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
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<ProdAllocSequenceT>> |
getProdAllocSequenceTTPIfPresent()
Retrieval of associated ProdAllocSequenceT entities (one to many).
|
List<ProdAllocSequenceT> |
getProdAllocSequenceTTPOrFetch()
Retrieval of associated ProdAllocSequenceT entities (one to many).
|
Optional<List<ProdAllocSqncAssgmt>> |
getProdAllocSqncAssgmtTPIfPresent()
Retrieval of associated ProdAllocSqncAssgmt entities (one to many).
|
List<ProdAllocSqncAssgmt> |
getProdAllocSqncAssgmtTPOrFetch()
Retrieval of associated ProdAllocSqncAssgmt entities (one to many).
|
String |
getProdAllocSqncConsumptionUnit()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: ProdAllocSqncConsumptionUnit
|
String |
getProductAllocationSequence_Text()
Constraints: Not nullable, Maximum length: 255 Original property name from the Odata EDM: ProductAllocationSequence_Text
|
String |
getProductAllocationSequence()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProductAllocationSequence
|
UUID |
getProductAllocationSequenceUUID()
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProductAllocationSequenceUUID
|
Class<ProdAllocationSequence> |
getType() |
int |
hashCode() |
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 |
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 |
setProdAllocSequenceTTP(List<ProdAllocSequenceT> value)
Overwrites the list of associated ProdAllocSequenceT entities for the loaded navigation property to_ProdAllocSequenceTTP.
|
void |
setProdAllocSqncAssgmtTP(List<ProdAllocSqncAssgmt> value)
Overwrites the list of associated ProdAllocSqncAssgmt entities for the loaded navigation property to_ProdAllocSqncAssgmtTP.
|
void |
setProdAllocSqncConsumptionUnit(String prodAllocSqncConsumptionUnit)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: ProdAllocSqncConsumptionUnit
|
void |
setProductAllocationSequence_Text(String productAllocationSequence_Text)
Constraints: Not nullable, Maximum length: 255 Original property name from the Odata EDM: ProductAllocationSequence_Text
|
void |
setProductAllocationSequence(String productAllocationSequence)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: ProductAllocationSequence
|
void |
setProductAllocationSequenceUUID(UUID productAllocationSequenceUUID)
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProductAllocationSequenceUUID
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ProdAllocationSequenceSelectable ALL_FIELDS
public static final ProdAllocationSequenceField<UUID> PRODUCT_ALLOCATION_SEQUENCE_UUID
public static final ProdAllocationSequenceField<String> PRODUCT_ALLOCATION_SEQUENCE
public static final ProdAllocationSequenceField<String> PRODUCT_ALLOCATION_SEQUENCE_TEXT
public static final ProdAllocationSequenceField<String> PROD_ALLOC_SQNC_CONSUMPTION_UNIT
public static final ProdAllocationSequenceField<ZonedDateTime> CREATION_DATE_TIME
public static final ProdAllocationSequenceField<String> CREATED_BY_USER
public static final ProdAllocationSequenceField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final ProdAllocationSequenceField<String> LAST_CHANGED_BY_USER
public static final ProdAllocationSequenceLink<ProdAllocSequenceT> TO_PROD_ALLOC_SEQUENCE_TTP
public static final ProdAllocationSequenceLink<ProdAllocSqncAssgmt> TO_PROD_ALLOC_SQNC_ASSGMT_TP
public ProdAllocationSequence()
public ProdAllocationSequence(@Nullable UUID productAllocationSequenceUUID, @Nullable String productAllocationSequence, @Nullable String productAllocationSequence_Text, @Nullable String prodAllocSqncConsumptionUnit, @Nullable ZonedDateTime creationDateTime, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable ErpConfigContext erpConfigContext, List<ProdAllocSequenceT> toProdAllocSequenceTTP, List<ProdAllocSqncAssgmt> toProdAllocSqncAssgmtTP)
public Class<ProdAllocationSequence> getType()
getType
in class VdmObject<ProdAllocationSequence>
public void setProductAllocationSequenceUUID(@Nullable UUID productAllocationSequenceUUID)
Original property name from the Odata EDM: ProductAllocationSequenceUUID
productAllocationSequenceUUID
- Product Allocation Sequence UUIDpublic void setProductAllocationSequence(@Nullable String productAllocationSequence)
Original property name from the Odata EDM: ProductAllocationSequence
productAllocationSequence
- Product Allocation Sequencepublic void setProductAllocationSequence_Text(@Nullable String productAllocationSequence_Text)
Original property name from the Odata EDM: ProductAllocationSequence_Text
productAllocationSequence_Text
- Product Allocation Sequence Descriptionpublic void setProdAllocSqncConsumptionUnit(@Nullable String prodAllocSqncConsumptionUnit)
Original property name from the Odata EDM: ProdAllocSqncConsumptionUnit
prodAllocSqncConsumptionUnit
- Product Allocation Consumption Unitpublic 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 getEndpointUrl()
getEndpointUrl
in class VdmEntity<ProdAllocationSequence>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProdAllocationSequence>
protected Map<String,Object> getKey()
getKey
in class VdmObject<ProdAllocationSequence>
protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProdAllocationSequence>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProdAllocationSequence>
public static <T> ProdAllocationSequenceField<T> field(String fieldName, 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.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ProdAllocationSequence>
public List<ProdAllocSequenceT> fetchProdAllocSequenceTTP() 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<ProdAllocSequenceT> getProdAllocSequenceTTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProdAllocSequenceTTP of a queried ProdAllocationSequence 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<ProdAllocSequenceT>> getProdAllocSequenceTTPIfPresent()
If the navigation property for an entity ProdAllocationSequence 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 setProdAllocSequenceTTP(@Nonnull List<ProdAllocSequenceT> value)
If the navigation property to_ProdAllocSequenceTTP of a queried ProdAllocationSequence 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 ProdAllocSequenceT entities.public void addProdAllocSequenceTTP(ProdAllocSequenceT... entity)
If the navigation property to_ProdAllocSequenceTTP of a queried ProdAllocationSequence 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 ProdAllocSequenceT entities.public List<ProdAllocSqncAssgmt> fetchProdAllocSqncAssgmtTP() 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<ProdAllocSqncAssgmt> getProdAllocSqncAssgmtTPOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProdAllocSqncAssgmtTP of a queried ProdAllocationSequence 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<ProdAllocSqncAssgmt>> getProdAllocSqncAssgmtTPIfPresent()
If the navigation property for an entity ProdAllocationSequence 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 setProdAllocSqncAssgmtTP(@Nonnull List<ProdAllocSqncAssgmt> value)
If the navigation property to_ProdAllocSqncAssgmtTP of a queried ProdAllocationSequence 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 ProdAllocSqncAssgmt entities.public void addProdAllocSqncAssgmtTP(ProdAllocSqncAssgmt... entity)
If the navigation property to_ProdAllocSqncAssgmtTP of a queried ProdAllocationSequence 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 ProdAllocSqncAssgmt entities.public static ProdAllocationSequence.ProdAllocationSequenceBuilder builder()
@Nullable public UUID getProductAllocationSequenceUUID()
Original property name from the Odata EDM: ProductAllocationSequenceUUID
@Nullable public String getProductAllocationSequence()
Original property name from the Odata EDM: ProductAllocationSequence
@Nullable public String getProductAllocationSequence_Text()
Original property name from the Odata EDM: ProductAllocationSequence_Text
@Nullable public String getProdAllocSqncConsumptionUnit()
Original property name from the Odata EDM: ProdAllocSqncConsumptionUnit
@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 ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<ProdAllocationSequence>
erpConfigContext
- public String toString()
toString
in class VdmObject<ProdAllocationSequence>
public boolean equals(Object o)
equals
in class VdmObject<ProdAllocationSequence>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProdAllocationSequence>
public int hashCode()
hashCode
in class VdmObject<ProdAllocationSequence>
Copyright © 2018 SAP SE. All rights reserved.