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
Helper class to allow for fluent creation of ProdAllocationSequence instances.
|
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,
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.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
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.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
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<ProdAllocSequenceT>> |
getProdAllocSequenceTTPIfPresent()
Retrieval of associated ProdAllocSequenceT entities (one to many).
|
List<ProdAllocSequenceT> |
getProdAllocSequenceTTPOrFetch()
Retrieval of associated ProdAllocSequenceT entities (one to many).
|
io.vavr.control.Option<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
|
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(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangeDateTime(ZonedDateTime 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
|
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 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, List<ProdAllocSequenceT> toProdAllocSequenceTTP, List<ProdAllocSqncAssgmt> toProdAllocSqncAssgmtTP)
@Nonnull 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 getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProdAllocationSequence>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProdAllocationSequence>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProdAllocationSequence>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProdAllocationSequence>
@Nonnull public static <T> ProdAllocationSequenceField<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> ProdAllocationSequenceField<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<ProdAllocationSequence>
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<ProdAllocationSequence>
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<ProdAllocationSequence>
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()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProdAllocationSequence>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ProdAllocationSequence>
@Nonnull 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.@Nonnull 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.@Nonnull public io.vavr.control.Option<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 Option
result state will be
empty
.
Option
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.@Nonnull 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.@Nonnull 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.@Nonnull public io.vavr.control.Option<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 Option
result state will be
empty
.
Option
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.@Nonnull 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
@Nonnull public String toString()
toString
in class VdmObject<ProdAllocationSequence>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProdAllocationSequence>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProdAllocationSequence>
public int hashCode()
hashCode
in class VdmObject<ProdAllocationSequence>
Copyright © 2021 SAP SE. All rights reserved.