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

public class ProductionRoutingSequence extends VdmEntity<ProductionRoutingSequence>
Sequence

Original entity name from the Odata EDM: ProductionRoutingSequenceType

  • Field Details

    • ALL_FIELDS

      public static final ProductionRoutingSequenceSelectable ALL_FIELDS
      Selector for all available fields of ProductionRoutingSequence.
    • PRODUCTION_ROUTING_GROUP

      public static final ProductionRoutingSequenceField<String> PRODUCTION_ROUTING_GROUP
      Use with available fluent helpers to apply the ProductionRoutingGroup field to query operations.
    • PRODUCTION_ROUTING

      public static final ProductionRoutingSequenceField<String> PRODUCTION_ROUTING
      Use with available fluent helpers to apply the ProductionRouting field to query operations.
    • PRODUCTION_ROUTING_SEQUENCE

      public static final ProductionRoutingSequenceField<String> PRODUCTION_ROUTING_SEQUENCE
      Use with available fluent helpers to apply the ProductionRoutingSequence field to query operations.
    • PRODUCTION_ROUTING_SQNC_INT_VERS

      public static final ProductionRoutingSequenceField<String> PRODUCTION_ROUTING_SQNC_INT_VERS
      Use with available fluent helpers to apply the ProductionRoutingSqncIntVers field to query operations.
    • CHANGE_NUMBER

      public static final ProductionRoutingSequenceField<String> CHANGE_NUMBER
      Use with available fluent helpers to apply the ChangeNumber field to query operations.
    • VALIDITY_START_DATE

      public static final ProductionRoutingSequenceField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final ProductionRoutingSequenceField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • SEQUENCE_CATEGORY

      public static final ProductionRoutingSequenceField<String> SEQUENCE_CATEGORY
      Use with available fluent helpers to apply the SequenceCategory field to query operations.
    • BILL_OF_OPERATIONS_REF_SEQUENCE

      public static final ProductionRoutingSequenceField<String> BILL_OF_OPERATIONS_REF_SEQUENCE
      Use with available fluent helpers to apply the BillOfOperationsRefSequence field to query operations.
    • BOO_SQNC_BRANCH_OP_INTERNAL_ID

      public static final ProductionRoutingSequenceField<String> BOO_SQNC_BRANCH_OP_INTERNAL_ID
      Use with available fluent helpers to apply the BOOSqncBranchOpInternalID field to query operations.
    • BOO_SQNC_RETURN_OP_INTERNAL_ID

      public static final ProductionRoutingSequenceField<String> BOO_SQNC_RETURN_OP_INTERNAL_ID
      Use with available fluent helpers to apply the BOOSqncReturnOpInternalID field to query operations.
    • MINIMUM_LOT_SIZE_QUANTITY

      public static final ProductionRoutingSequenceField<BigDecimal> MINIMUM_LOT_SIZE_QUANTITY
      Use with available fluent helpers to apply the MinimumLotSizeQuantity field to query operations.
    • MAXIMUM_LOT_SIZE_QUANTITY

      public static final ProductionRoutingSequenceField<BigDecimal> MAXIMUM_LOT_SIZE_QUANTITY
      Use with available fluent helpers to apply the MaximumLotSizeQuantity field to query operations.
    • BILL_OF_OPERATIONS_UNIT

      public static final ProductionRoutingSequenceField<String> BILL_OF_OPERATIONS_UNIT
      Use with available fluent helpers to apply the BillOfOperationsUnit field to query operations.
    • SEQUENCE_TEXT

      public static final ProductionRoutingSequenceField<String> SEQUENCE_TEXT
      Use with available fluent helpers to apply the SequenceText field to query operations.
    • CREATION_DATE

      public static final ProductionRoutingSequenceField<LocalDateTime> CREATION_DATE
      Use with available fluent helpers to apply the CreationDate field to query operations.
    • CREATED_BY_USER

      public static final ProductionRoutingSequenceField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • LAST_CHANGE_DATE

      public static final ProductionRoutingSequenceField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • LAST_CHANGED_BY_USER

      public static final ProductionRoutingSequenceField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • CHANGED_DATE_TIME

      public static final ProductionRoutingSequenceField<ZonedDateTime> CHANGED_DATE_TIME
      Use with available fluent helpers to apply the ChangedDateTime field to query operations.
    • TO_OPERATION

      public static final ProductionRoutingSequenceLink<ProductionRoutingOperation> TO_OPERATION
      Use with available fluent helpers to apply the to_Operation navigation property to query operations.
  • Constructor Details

    • ProductionRoutingSequence

      public ProductionRoutingSequence()
    • ProductionRoutingSequence

      public ProductionRoutingSequence(@Nullable String productionRoutingGroup, @Nullable String productionRouting, @Nullable String productionRoutingSequence, @Nullable String productionRoutingSqncIntVers, @Nullable String changeNumber, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String sequenceCategory, @Nullable String billOfOperationsRefSequence, @Nullable String bOOSqncBranchOpInternalID, @Nullable String bOOSqncReturnOpInternalID, @Nullable BigDecimal minimumLotSizeQuantity, @Nullable BigDecimal maximumLotSizeQuantity, @Nullable String billOfOperationsUnit, @Nullable String sequenceText, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String lastChangedByUser, @Nullable ZonedDateTime changedDateTime, List<ProductionRoutingOperation> toOperation)
  • Method Details

    • getType

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

      public void setProductionRoutingGroup(@Nullable String productionRoutingGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductionRoutingGroup

      Parameters:
      productionRoutingGroup - Key for Task List Group
    • setProductionRouting

      public void setProductionRouting(@Nullable String productionRouting)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProductionRouting

      Parameters:
      productionRouting - Group Counter
    • setProductionRoutingSequence

      public void setProductionRoutingSequence(@Nullable String productionRoutingSequence)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProductionRoutingSequence

      Parameters:
      productionRoutingSequence - Sequence
    • setProductionRoutingSqncIntVers

      public void setProductionRoutingSqncIntVers(@Nullable String productionRoutingSqncIntVers)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductionRoutingSqncIntVers

      Parameters:
      productionRoutingSqncIntVers - Internal counter
    • setChangeNumber

      public void setChangeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-To Date
    • setSequenceCategory

      public void setSequenceCategory(@Nullable String sequenceCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SequenceCategory

      Parameters:
      sequenceCategory - Sequence Category
    • setBillOfOperationsRefSequence

      public void setBillOfOperationsRefSequence(@Nullable String billOfOperationsRefSequence)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: BillOfOperationsRefSequence

      Parameters:
      billOfOperationsRefSequence - Reference Sequence
    • setBOOSqncBranchOpInternalID

      public void setBOOSqncBranchOpInternalID(@Nullable String bOOSqncBranchOpInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BOOSqncBranchOpInternalID

      Parameters:
      bOOSqncBranchOpInternalID - Reference node for start of a sequence
    • setBOOSqncReturnOpInternalID

      public void setBOOSqncReturnOpInternalID(@Nullable String bOOSqncReturnOpInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BOOSqncReturnOpInternalID

      Parameters:
      bOOSqncReturnOpInternalID - Finish reference node of a sequence
    • setMinimumLotSizeQuantity

      public void setMinimumLotSizeQuantity(@Nullable BigDecimal minimumLotSizeQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MinimumLotSizeQuantity

      Parameters:
      minimumLotSizeQuantity - Minimum Lot Size
    • setMaximumLotSizeQuantity

      public void setMaximumLotSizeQuantity(@Nullable BigDecimal maximumLotSizeQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaximumLotSizeQuantity

      Parameters:
      maximumLotSizeQuantity - Maximum Lot Size
    • setBillOfOperationsUnit

      public void setBillOfOperationsUnit(@Nullable String billOfOperationsUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BillOfOperationsUnit

      Parameters:
      billOfOperationsUnit - Task List Unit of Measure
    • setSequenceText

      public void setSequenceText(@Nullable String sequenceText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SequenceText

      Parameters:
      sequenceText - Sequence Description
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Date Record Created On
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By User
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By User
    • setChangedDateTime

      public void setChangedDateTime(@Nullable ZonedDateTime changedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ChangedDateTime

      Parameters:
      changedDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductionRoutingSequenceField<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> ProductionRoutingSequenceField<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<ProductionRoutingSequence>
    • setServicePathForFetch

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

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

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

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

      @Nonnull public List<ProductionRoutingOperation> fetchOperation()
      Fetches the ProductionRoutingOperation entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Operation.

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

      Returns:
      List containing one or more associated ProductionRoutingOperation 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.
    • getOperationOrFetch

      @Nonnull public List<ProductionRoutingOperation> getOperationOrFetch()
      Retrieval of associated ProductionRoutingOperation entities (one to many). This corresponds to the OData navigation property to_Operation.

      If the navigation property to_Operation of a queried ProductionRoutingSequence 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 ProductionRoutingOperation 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.
    • getOperationIfPresent

      @Nonnull public io.vavr.control.Option<List<ProductionRoutingOperation>> getOperationIfPresent()
      Retrieval of associated ProductionRoutingOperation entities (one to many). This corresponds to the OData navigation property to_Operation.

      If the navigation property for an entity ProductionRoutingSequence 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_Operation is already loaded, the result will contain the ProductionRoutingOperation entities. If not, an Option with result state empty is returned.
    • setOperation

      public void setOperation(@Nonnull List<ProductionRoutingOperation> value)
      Overwrites the list of associated ProductionRoutingOperation entities for the loaded navigation property to_Operation.

      If the navigation property to_Operation of a queried ProductionRoutingSequence 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 ProductionRoutingOperation entities.
    • addOperation

      public void addOperation(ProductionRoutingOperation... entity)
      Adds elements to the list of associated ProductionRoutingOperation entities. This corresponds to the OData navigation property to_Operation.

      If the navigation property to_Operation of a queried ProductionRoutingSequence 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 ProductionRoutingOperation entities.
    • builder

    • getProductionRoutingGroup

      @Nullable public String getProductionRoutingGroup()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductionRoutingGroup

      Returns:
      Key for Task List Group
    • getProductionRouting

      @Nullable public String getProductionRouting()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProductionRouting

      Returns:
      Group Counter
    • getProductionRoutingSequence

      @Nullable public String getProductionRoutingSequence()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProductionRoutingSequence

      Returns:
      Sequence
    • getProductionRoutingSqncIntVers

      @Nullable public String getProductionRoutingSqncIntVers()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductionRoutingSqncIntVers

      Returns:
      Internal counter
    • getChangeNumber

      @Nullable public String getChangeNumber()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-To Date
    • getSequenceCategory

      @Nullable public String getSequenceCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SequenceCategory

      Returns:
      Sequence Category
    • getBillOfOperationsRefSequence

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

      Original property name from the Odata EDM: BillOfOperationsRefSequence

      Returns:
      Reference Sequence
    • getBOOSqncBranchOpInternalID

      @Nullable public String getBOOSqncBranchOpInternalID()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BOOSqncBranchOpInternalID

      Returns:
      Reference node for start of a sequence
    • getBOOSqncReturnOpInternalID

      @Nullable public String getBOOSqncReturnOpInternalID()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BOOSqncReturnOpInternalID

      Returns:
      Finish reference node of a sequence
    • getMinimumLotSizeQuantity

      @Nullable public BigDecimal getMinimumLotSizeQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MinimumLotSizeQuantity

      Returns:
      Minimum Lot Size
    • getMaximumLotSizeQuantity

      @Nullable public BigDecimal getMaximumLotSizeQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaximumLotSizeQuantity

      Returns:
      Maximum Lot Size
    • getBillOfOperationsUnit

      @Nullable public String getBillOfOperationsUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BillOfOperationsUnit

      Returns:
      Task List Unit of Measure
    • getSequenceText

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

      Original property name from the Odata EDM: SequenceText

      Returns:
      Sequence Description
    • getCreationDate

      @Nullable public LocalDateTime getCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      Date Record Created On
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • getLastChangeDate

      @Nullable public LocalDateTime getLastChangeDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By User
    • getChangedDateTime

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

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • toString

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

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

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

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