public class ProdAllocationSequence extends VdmEntity<ProdAllocationSequence>
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<Calendar> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static ProdAllocationSequenceField<Calendar> |
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.
|
Constructor and Description |
---|
ProdAllocationSequence() |
ProdAllocationSequence(UUID productAllocationSequenceUUID,
String productAllocationSequence,
String productAllocationSequence_Text,
String prodAllocSqncConsumptionUnit,
Calendar creationDateTime,
String createdByUser,
Calendar 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() |
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.
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Calendar |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
List<ProdAllocSequenceT> |
getProdAllocSequenceTTPOrFetch()
Retrieval of associated ProdAllocSequenceT entities (one to many).
|
com.google.common.base.Optional<List<ProdAllocSequenceT>> |
getProdAllocSequenceTTPOrNull()
Retrieval of associated ProdAllocSequenceT entities (one to many).
|
List<ProdAllocSqncAssgmt> |
getProdAllocSqncAssgmtTPOrFetch()
Retrieval of associated ProdAllocSqncAssgmt entities (one to many).
|
com.google.common.base.Optional<List<ProdAllocSqncAssgmt>> |
getProdAllocSqncAssgmtTPOrNull()
Retrieval of associated ProdAllocSqncAssgmt entities (one to many).
|
String |
getProdAllocSqncConsumptionUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getProductAllocationSequence_Text()
Constraints: Not nullable, Maximum length: 255
|
String |
getProductAllocationSequence()
Constraints: Not nullable, Maximum length: 40
|
UUID |
getProductAllocationSequenceUUID()
(Key Field) Constraints: Not nullable
|
Class<ProdAllocationSequence> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(Calendar 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 |
setLastChangeDateTime(Calendar lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
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
|
void |
setProductAllocationSequence_Text(String productAllocationSequence_Text)
Constraints: Not nullable, Maximum length: 255
|
void |
setProductAllocationSequence(String productAllocationSequence)
Constraints: Not nullable, Maximum length: 40
|
void |
setProductAllocationSequenceUUID(UUID productAllocationSequenceUUID)
(Key Field) Constraints: Not nullable
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
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<Calendar> CREATION_DATE_TIME
public static final ProdAllocationSequenceField<String> CREATED_BY_USER
public static final ProdAllocationSequenceField<Calendar> 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
@Generated(value="lombok") public ProdAllocationSequence()
@ConstructorProperties(value={"productAllocationSequenceUUID","productAllocationSequence","productAllocationSequence_Text","prodAllocSqncConsumptionUnit","creationDateTime","createdByUser","lastChangeDateTime","lastChangedByUser","erpConfigContext","toProdAllocSequenceTTP","toProdAllocSqncAssgmtTP"}) @Generated(value="lombok") public ProdAllocationSequence(@Nullable UUID productAllocationSequenceUUID, @Nullable String productAllocationSequence, @Nullable String productAllocationSequence_Text, @Nullable String prodAllocSqncConsumptionUnit, @Nullable Calendar creationDateTime, @Nullable String createdByUser, @Nullable Calendar lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable ErpConfigContext erpConfigContext, List<ProdAllocSequenceT> toProdAllocSequenceTTP, List<ProdAllocSqncAssgmt> toProdAllocSqncAssgmtTP)
public Class<ProdAllocationSequence> getType()
getType
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.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 com.google.common.base.Optional<List<ProdAllocSequenceT>> getProdAllocSequenceTTPOrNull()
If the navigation property to_ProdAllocSequenceTTP for an entity ProdAllocationSequence has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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 com.google.common.base.Optional<List<ProdAllocSqncAssgmt>> getProdAllocSqncAssgmtTPOrNull()
If the navigation property to_ProdAllocSqncAssgmtTP for an entity ProdAllocationSequence has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
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.@Generated(value="lombok") public static ProdAllocationSequence.ProdAllocationSequenceBuilder builder()
@Nullable @Generated(value="lombok") public UUID getProductAllocationSequenceUUID()
@Nullable @Generated(value="lombok") public String getProductAllocationSequence()
@Nullable @Generated(value="lombok") public String getProductAllocationSequence_Text()
@Nullable @Generated(value="lombok") public String getProdAllocSqncConsumptionUnit()
@Nullable @Generated(value="lombok") public Calendar getCreationDateTime()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public Calendar getLastChangeDateTime()
@Nullable @Generated(value="lombok") public String getLastChangedByUser()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setProductAllocationSequenceUUID(@Nullable UUID productAllocationSequenceUUID)
productAllocationSequenceUUID
- @Generated(value="lombok") public void setProductAllocationSequence(@Nullable String productAllocationSequence)
productAllocationSequence
- @Generated(value="lombok") public void setProductAllocationSequence_Text(@Nullable String productAllocationSequence_Text)
productAllocationSequence_Text
- @Generated(value="lombok") public void setProdAllocSqncConsumptionUnit(@Nullable String prodAllocSqncConsumptionUnit)
prodAllocSqncConsumptionUnit
- @Generated(value="lombok") public void setCreationDateTime(@Nullable Calendar creationDateTime)
creationDateTime
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setLastChangeDateTime(@Nullable Calendar lastChangeDateTime)
lastChangeDateTime
- @Generated(value="lombok") public void setLastChangedByUser(@Nullable String lastChangedByUser)
lastChangedByUser
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<ProdAllocationSequence>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<ProdAllocationSequence>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<ProdAllocationSequence>
Copyright © 2018 SAP SE. All rights reserved.