java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProdAllocSqncAssgmt>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productallocationsequence.ProdAllocSqncAssgmt

public class ProdAllocSqncAssgmt extends VdmEntity<ProdAllocSqncAssgmt>
Product Allocation Sequence Assignment

Original entity name from the Odata EDM: A_ProdAllocSqncAssgmtType

  • Field Details

    • ALL_FIELDS

      public static final ProdAllocSqncAssgmtSelectable ALL_FIELDS
      Selector for all available fields of ProdAllocSqncAssgmt.
    • DELETE_SEQUENCE_ASSIGNMENT_AC

      public static final ProdAllocSqncAssgmtField<Boolean> DELETE_SEQUENCE_ASSIGNMENT_AC
      Use with available fluent helpers to apply the DeleteSequenceAssignment_ac field to query operations.
    • MATERIAL_FC

      public static final ProdAllocSqncAssgmtField<Short> MATERIAL_FC
      Use with available fluent helpers to apply the Material_fc field to query operations.
    • PLANT_FC

      public static final ProdAllocSqncAssgmtField<Short> PLANT_FC
      Use with available fluent helpers to apply the Plant_fc field to query operations.
    • UPDATE_MC

      public static final ProdAllocSqncAssgmtField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • PROD_ALLOC_SQNC_ASSIGNMENT_UUID

      public static final ProdAllocSqncAssgmtField<UUID> PROD_ALLOC_SQNC_ASSIGNMENT_UUID
      Use with available fluent helpers to apply the ProdAllocSqncAssignmentUUID field to query operations.
    • PRODUCT_ALLOCATION_SEQUENCE_UUID

      public static final ProdAllocSqncAssgmtField<UUID> PRODUCT_ALLOCATION_SEQUENCE_UUID
      Use with available fluent helpers to apply the ProductAllocationSequenceUUID field to query operations.
    • PRODUCT_ALLOCATION_SEQUENCE

      public static final ProdAllocSqncAssgmtField<String> PRODUCT_ALLOCATION_SEQUENCE
      Use with available fluent helpers to apply the ProductAllocationSequence field to query operations.
    • MATERIAL

      public static final ProdAllocSqncAssgmtField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • PLANT

      public static final ProdAllocSqncAssgmtField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • VALIDITY_START_UTC_DATE_TIME

      public static final ProdAllocSqncAssgmtField<ZonedDateTime> VALIDITY_START_UTC_DATE_TIME
      Use with available fluent helpers to apply the ValidityStartUTCDateTime field to query operations.
    • VALIDITY_START_TIME_ZONE

      public static final ProdAllocSqncAssgmtField<String> VALIDITY_START_TIME_ZONE
      Use with available fluent helpers to apply the ValidityStartTimeZone field to query operations.
    • VALIDITY_END_UTC_DATE_TIME

      public static final ProdAllocSqncAssgmtField<ZonedDateTime> VALIDITY_END_UTC_DATE_TIME
      Use with available fluent helpers to apply the ValidityEndUTCDateTime field to query operations.
    • VALIDITY_END_TIME_ZONE

      public static final ProdAllocSqncAssgmtField<String> VALIDITY_END_TIME_ZONE
      Use with available fluent helpers to apply the ValidityEndTimeZone field to query operations.
    • TO_PROD_ALLOCATION_SEQUENCE_TP

      public static final ProdAllocSqncAssgmtOneToOneLink<ProdAllocationSequence> TO_PROD_ALLOCATION_SEQUENCE_TP
      Use with available fluent helpers to apply the to_ProdAllocationSequenceTP navigation property to query operations.
  • Constructor Details

    • ProdAllocSqncAssgmt

      public ProdAllocSqncAssgmt()
    • ProdAllocSqncAssgmt

      public ProdAllocSqncAssgmt(@Nullable Boolean deleteSequenceAssignment_ac, @Nullable Short material_fc, @Nullable Short plant_fc, @Nullable Boolean update_mc, @Nullable UUID prodAllocSqncAssignmentUUID, @Nullable UUID productAllocationSequenceUUID, @Nullable String productAllocationSequence, @Nullable String material, @Nullable String plant, @Nullable ZonedDateTime validityStartUTCDateTime, @Nullable String validityStartTimeZone, @Nullable ZonedDateTime validityEndUTCDateTime, @Nullable String validityEndTimeZone, @Nullable ProdAllocationSequence toProdAllocationSequenceTP)
  • Method Details

    • getType

      @Nonnull public Class<ProdAllocSqncAssgmt> getType()
      Specified by:
      getType in class VdmObject<ProdAllocSqncAssgmt>
    • setDeleteSequenceAssignment_ac

      public void setDeleteSequenceAssignment_ac(@Nullable Boolean deleteSequenceAssignment_ac)
      Constraints: none

      Original property name from the Odata EDM: DeleteSequenceAssignment_ac

      Parameters:
      deleteSequenceAssignment_ac - Dyn. Action Control
    • setMaterial_fc

      public void setMaterial_fc(@Nullable Short material_fc)
      Constraints: none

      Original property name from the Odata EDM: Material_fc

      Parameters:
      material_fc - Dyn. Field Control
    • setPlant_fc

      public void setPlant_fc(@Nullable Short plant_fc)
      Constraints: none

      Original property name from the Odata EDM: Plant_fc

      Parameters:
      plant_fc - Dyn. Field Control
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setProdAllocSqncAssignmentUUID

      public void setProdAllocSqncAssignmentUUID(@Nullable UUID prodAllocSqncAssignmentUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProdAllocSqncAssignmentUUID

      Parameters:
      prodAllocSqncAssignmentUUID - Product Allocation Sequence Assignment UUID
    • setProductAllocationSequenceUUID

      public void setProductAllocationSequenceUUID(@Nullable UUID productAllocationSequenceUUID)
      Constraints: none

      Original property name from the Odata EDM: ProductAllocationSequenceUUID

      Parameters:
      productAllocationSequenceUUID - Product Allocation Sequence UUID
    • setProductAllocationSequence

      public void setProductAllocationSequence(@Nullable String productAllocationSequence)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductAllocationSequence

      Parameters:
      productAllocationSequence - Product Allocation Sequence
    • setMaterial

      public void setMaterial(@Nullable String material)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setValidityStartUTCDateTime

      public void setValidityStartUTCDateTime(@Nullable ZonedDateTime validityStartUTCDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartUTCDateTime

      Parameters:
      validityStartUTCDateTime - Validity Start UTC Date Time
    • setValidityStartTimeZone

      public void setValidityStartTimeZone(@Nullable String validityStartTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ValidityStartTimeZone

      Parameters:
      validityStartTimeZone - Validity Start Time Zone
    • setValidityEndUTCDateTime

      public void setValidityEndUTCDateTime(@Nullable ZonedDateTime validityEndUTCDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndUTCDateTime

      Parameters:
      validityEndUTCDateTime - Validity End UTC Date Time
    • setValidityEndTimeZone

      public void setValidityEndTimeZone(@Nullable String validityEndTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ValidityEndTimeZone

      Parameters:
      validityEndTimeZone - Validity End Time Zone
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<ProdAllocSqncAssgmt>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<ProdAllocSqncAssgmt>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<ProdAllocSqncAssgmt>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<ProdAllocSqncAssgmt>
    • field

      @Nonnull public static <T> ProdAllocSqncAssgmtField<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> ProdAllocSqncAssgmtField<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ProdAllocSqncAssgmt>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ProdAllocSqncAssgmt>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ProdAllocSqncAssgmt>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProdAllocSqncAssgmt>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ProdAllocSqncAssgmt>
    • fetchProdAllocationSequenceTP

      @Nullable public ProdAllocationSequence fetchProdAllocationSequenceTP()
      Fetches the ProdAllocationSequence entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ProdAllocationSequenceTP.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated ProdAllocationSequence entity, or null if an entity is not associated.
      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.
    • getProdAllocationSequenceTPOrFetch

      @Nullable public ProdAllocationSequence getProdAllocationSequenceTPOrFetch()
      Retrieval of associated ProdAllocationSequence entity (one to one). This corresponds to the OData navigation property to_ProdAllocationSequenceTP.

      If the navigation property to_ProdAllocationSequenceTP of a queried ProdAllocSqncAssgmt 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 ProdAllocationSequence entity.
      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.
    • getProdAllocationSequenceTPIfPresent

      @Nonnull public io.vavr.control.Option<ProdAllocationSequence> getProdAllocationSequenceTPIfPresent()
      Retrieval of associated ProdAllocationSequence entity (one to one). This corresponds to the OData navigation property to_ProdAllocationSequenceTP.

      If the navigation property for an entity ProdAllocSqncAssgmt has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_ProdAllocationSequenceTP is already loaded, the result will contain the ProdAllocationSequence entity. If not, an Option with result state empty is returned.
    • setProdAllocationSequenceTP

      public void setProdAllocationSequenceTP(ProdAllocationSequence value)
      Overwrites the associated ProdAllocationSequence entity for the loaded navigation property to_ProdAllocationSequenceTP.
      Parameters:
      value - New ProdAllocationSequence entity.
    • builder

      @Nonnull public static ProdAllocSqncAssgmt.ProdAllocSqncAssgmtBuilder builder()
    • getDeleteSequenceAssignment_ac

      @Nullable public Boolean getDeleteSequenceAssignment_ac()
      Constraints: none

      Original property name from the Odata EDM: DeleteSequenceAssignment_ac

      Returns:
      Dyn. Action Control
    • getMaterial_fc

      @Nullable public Short getMaterial_fc()
      Constraints: none

      Original property name from the Odata EDM: Material_fc

      Returns:
      Dyn. Field Control
    • getPlant_fc

      @Nullable public Short getPlant_fc()
      Constraints: none

      Original property name from the Odata EDM: Plant_fc

      Returns:
      Dyn. Field Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getProdAllocSqncAssignmentUUID

      @Nullable public UUID getProdAllocSqncAssignmentUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProdAllocSqncAssignmentUUID

      Returns:
      Product Allocation Sequence Assignment UUID
    • getProductAllocationSequenceUUID

      @Nullable public UUID getProductAllocationSequenceUUID()
      Constraints: none

      Original property name from the Odata EDM: ProductAllocationSequenceUUID

      Returns:
      Product Allocation Sequence UUID
    • getProductAllocationSequence

      @Nullable public String getProductAllocationSequence()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductAllocationSequence

      Returns:
      Product Allocation Sequence
    • getMaterial

      @Nullable public String getMaterial()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getValidityStartUTCDateTime

      @Nullable public ZonedDateTime getValidityStartUTCDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartUTCDateTime

      Returns:
      Validity Start UTC Date Time
    • getValidityStartTimeZone

      @Nullable public String getValidityStartTimeZone()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ValidityStartTimeZone

      Returns:
      Validity Start Time Zone
    • getValidityEndUTCDateTime

      @Nullable public ZonedDateTime getValidityEndUTCDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndUTCDateTime

      Returns:
      Validity End UTC Date Time
    • getValidityEndTimeZone

      @Nullable public String getValidityEndTimeZone()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ValidityEndTimeZone

      Returns:
      Validity End Time Zone
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<ProdAllocSqncAssgmt>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<ProdAllocSqncAssgmt>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<ProdAllocSqncAssgmt>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProdAllocSqncAssgmt>