Class ProdAllocationSequence
Original entity name from the Odata EDM: A_ProdAllocationSequenceType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProdAllocationSequence instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProdAllocationSequenceSelectableSelector for all available fields of ProdAllocationSequence.static final ProdAllocationSequenceField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final ProdAllocationSequenceField<ZonedDateTime>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final ProdAllocationSequenceField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final ProdAllocationSequenceField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final ProdAllocationSequenceField<Boolean>Use with available fluent helpers to apply the to_ProdAllocSqncAssgmtTP_oc field to query operations.static final ProdAllocationSequenceField<String>Use with available fluent helpers to apply the ProdAllocSqncConsumptionUnit field to query operations.static final ProdAllocationSequenceField<String>Use with available fluent helpers to apply the ProductAllocationSequence field to query operations.static final ProdAllocationSequenceField<String>Use with available fluent helpers to apply the ProductAllocationSequence_Text field to query operations.static final ProdAllocationSequenceField<UUID>Use with available fluent helpers to apply the ProductAllocationSequenceUUID field to query operations.static final ProdAllocationSequenceLink<ProdAllocSequenceT>Use with available fluent helpers to apply the to_ProdAllocSequenceTTP navigation property to query operations.static final ProdAllocationSequenceLink<ProdAllocSqncAssgmt>Use with available fluent helpers to apply the to_ProdAllocSqncAssgmtTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProdAllocationSequence(Boolean prodAllocSqncAssgmtTP_oc, UUID productAllocationSequenceUUID, String productAllocationSequence_Text, String productAllocationSequence, String prodAllocSqncConsumptionUnit, ZonedDateTime creationDateTime, String createdByUser, ZonedDateTime lastChangeDateTime, String lastChangedByUser, List<ProdAllocSequenceT> toProdAllocSequenceTTP, List<ProdAllocSqncAssgmt> toProdAllocSqncAssgmtTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProdAllocSequenceTTP(ProdAllocSequenceT... entity) Adds elements to the list of associated ProdAllocSequenceT entities.voidaddProdAllocSqncAssgmtTP(ProdAllocSqncAssgmt... entity) Adds elements to the list of associated ProdAllocSqncAssgmt entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProdAllocSequenceT entities (one to many) associated with this entity.Fetches the ProdAllocSqncAssgmt entities (one to many) associated with this entity.static <T,DomainT>
ProdAllocationSequenceField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProdAllocationSequenceField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 7protected Stringprotected StringgetKey()Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<List<ProdAllocSequenceT>>Retrieval of associated ProdAllocSequenceT entities (one to many).Retrieval of associated ProdAllocSequenceT entities (one to many).Constraints: noneio.vavr.control.Option<List<ProdAllocSqncAssgmt>>Retrieval of associated ProdAllocSqncAssgmt entities (one to many).Retrieval of associated ProdAllocSqncAssgmt entities (one to many).Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 255(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 7voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidOverwrites the list of associated ProdAllocSequenceT entities for the loaded navigation property to_ProdAllocSequenceTTP.voidOverwrites the list of associated ProdAllocSqncAssgmt entities for the loaded navigation property to_ProdAllocSqncAssgmtTP.voidsetProdAllocSqncAssgmtTP_oc(Boolean prodAllocSqncAssgmtTP_oc) Constraints: nonevoidsetProdAllocSqncConsumptionUnit(String prodAllocSqncConsumptionUnit) Constraints: Not nullable, Maximum length: 3voidsetProductAllocationSequence(String productAllocationSequence) Constraints: Not nullable, Maximum length: 40voidsetProductAllocationSequence_Text(String productAllocationSequence_Text) Constraints: Not nullable, Maximum length: 255voidsetProductAllocationSequenceUUID(UUID productAllocationSequenceUUID) (Key Field) Constraints: Not nullableprotected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProdAllocationSequence. -
PROD_ALLOC_SQNC_ASSGMT_TP_OC
Use with available fluent helpers to apply the to_ProdAllocSqncAssgmtTP_oc field to query operations. -
PRODUCT_ALLOCATION_SEQUENCE_UUID
Use with available fluent helpers to apply the ProductAllocationSequenceUUID field to query operations. -
PRODUCT_ALLOCATION_SEQUENCE_TEXT
Use with available fluent helpers to apply the ProductAllocationSequence_Text field to query operations. -
PRODUCT_ALLOCATION_SEQUENCE
Use with available fluent helpers to apply the ProductAllocationSequence field to query operations. -
PROD_ALLOC_SQNC_CONSUMPTION_UNIT
Use with available fluent helpers to apply the ProdAllocSqncConsumptionUnit field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
TO_PROD_ALLOC_SEQUENCE_TTP
Use with available fluent helpers to apply the to_ProdAllocSequenceTTP navigation property to query operations. -
TO_PROD_ALLOC_SQNC_ASSGMT_TP
Use with available fluent helpers to apply the to_ProdAllocSqncAssgmtTP navigation property to query operations.
-
-
Constructor Details
-
ProdAllocationSequence
public ProdAllocationSequence() -
ProdAllocationSequence
public ProdAllocationSequence(@Nullable Boolean prodAllocSqncAssgmtTP_oc, @Nullable UUID productAllocationSequenceUUID, @Nullable String productAllocationSequence_Text, @Nullable String productAllocationSequence, @Nullable String prodAllocSqncConsumptionUnit, @Nullable ZonedDateTime creationDateTime, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, List<ProdAllocSequenceT> toProdAllocSequenceTTP, List<ProdAllocSqncAssgmt> toProdAllocSqncAssgmtTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProdAllocationSequence>
-
setProdAllocSqncAssgmtTP_oc
Constraints: noneOriginal property name from the Odata EDM: to_ProdAllocSqncAssgmtTP_oc
- Parameters:
prodAllocSqncAssgmtTP_oc- Dynamic CbA-Control
-
setProductAllocationSequenceUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProductAllocationSequenceUUID
- Parameters:
productAllocationSequenceUUID- Product Allocation Sequence UUID
-
setProductAllocationSequence_Text
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: ProductAllocationSequence_Text
- Parameters:
productAllocationSequence_Text- Product Allocation Sequence Description
-
setProductAllocationSequence
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProductAllocationSequence
- Parameters:
productAllocationSequence- Product Allocation Sequence
-
setProdAllocSqncConsumptionUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProdAllocSqncConsumptionUnit
- Parameters:
prodAllocSqncConsumptionUnit- Product Allocation Sequence Consumption Unit
-
setCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Creation Date Time
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created by User
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last Change Date Time
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last Changed by User
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProdAllocationSequence>
-
getKey
- Overrides:
getKeyin classVdmObject<ProdAllocationSequence>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProdAllocationSequence>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProdAllocationSequence>
-
field
@Nonnull public static <T> ProdAllocationSequenceField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ProdAllocationSequenceField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ProdAllocationSequence>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProdAllocationSequence>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProdAllocationSequence>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProdAllocationSequence>
-
fetchProdAllocSequenceTTP
Fetches the ProdAllocSequenceT entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ProdAllocSequenceTTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProdAllocSequenceT entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getProdAllocSequenceTTPOrFetch
Retrieval of associated ProdAllocSequenceT entities (one to many). This corresponds to the OData navigation property to_ProdAllocSequenceTTP.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.
- Returns:
- List of associated ProdAllocSequenceT entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getProdAllocSequenceTTPIfPresent
Retrieval of associated ProdAllocSequenceT entities (one to many). This corresponds to the OData navigation property to_ProdAllocSequenceTTP.If the navigation property for an entity ProdAllocationSequence has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_ProdAllocSequenceTTP is already loaded, the result
will contain the ProdAllocSequenceT entities. If not, an
Optionwith result stateemptyis returned.
-
setProdAllocSequenceTTP
Overwrites the list of associated ProdAllocSequenceT entities for the loaded navigation property to_ProdAllocSequenceTTP.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.
- Parameters:
value- List of ProdAllocSequenceT entities.
-
addProdAllocSequenceTTP
Adds elements to the list of associated ProdAllocSequenceT entities. This corresponds to the OData navigation property to_ProdAllocSequenceTTP.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.
- Parameters:
entity- Array of ProdAllocSequenceT entities.
-
fetchProdAllocSqncAssgmtTP
Fetches the ProdAllocSqncAssgmt entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ProdAllocSqncAssgmtTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProdAllocSqncAssgmt entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getProdAllocSqncAssgmtTPOrFetch
Retrieval of associated ProdAllocSqncAssgmt entities (one to many). This corresponds to the OData navigation property to_ProdAllocSqncAssgmtTP.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.
- Returns:
- List of associated ProdAllocSqncAssgmt entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.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.
-
getProdAllocSqncAssgmtTPIfPresent
@Nonnull public io.vavr.control.Option<List<ProdAllocSqncAssgmt>> getProdAllocSqncAssgmtTPIfPresent()Retrieval of associated ProdAllocSqncAssgmt entities (one to many). This corresponds to the OData navigation property to_ProdAllocSqncAssgmtTP.If the navigation property for an entity ProdAllocationSequence has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_ProdAllocSqncAssgmtTP is already loaded, the result
will contain the ProdAllocSqncAssgmt entities. If not, an
Optionwith result stateemptyis returned.
-
setProdAllocSqncAssgmtTP
Overwrites the list of associated ProdAllocSqncAssgmt entities for the loaded navigation property to_ProdAllocSqncAssgmtTP.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.
- Parameters:
value- List of ProdAllocSqncAssgmt entities.
-
addProdAllocSqncAssgmtTP
Adds elements to the list of associated ProdAllocSqncAssgmt entities. This corresponds to the OData navigation property to_ProdAllocSqncAssgmtTP.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.
- Parameters:
entity- Array of ProdAllocSqncAssgmt entities.
-
builder
-
getProdAllocSqncAssgmtTP_oc
Constraints: noneOriginal property name from the Odata EDM: to_ProdAllocSqncAssgmtTP_oc
- Returns:
- Dynamic CbA-Control
-
getProductAllocationSequenceUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProductAllocationSequenceUUID
- Returns:
- Product Allocation Sequence UUID
-
getProductAllocationSequence_Text
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: ProductAllocationSequence_Text
- Returns:
- Product Allocation Sequence Description
-
getProductAllocationSequence
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProductAllocationSequence
- Returns:
- Product Allocation Sequence
-
getProdAllocSqncConsumptionUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProdAllocSqncConsumptionUnit
- Returns:
- Product Allocation Sequence Consumption Unit
-
getCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Creation Date Time
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created by User
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last Change Date Time
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last Changed by User
-
toString
- Overrides:
toStringin classVdmObject<ProdAllocationSequence>
-
equals
- Overrides:
equalsin classVdmEntity<ProdAllocationSequence>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProdAllocationSequence>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProdAllocationSequence>
-