Class WorkCenterCapacityDescription

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<WorkCenterCapacityDescription>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.workcenter.WorkCenterCapacityDescription
All Implemented Interfaces:
VdmEntitySet

public class WorkCenterCapacityDescription extends VdmEntity<WorkCenterCapacityDescription> implements VdmEntitySet
Work Center Capacity Text

Original entity name from the Odata EDM: WorkCenterCapacityDescriptionType

  • Field Details

  • Constructor Details

    • WorkCenterCapacityDescription

      public WorkCenterCapacityDescription()
    • WorkCenterCapacityDescription

      public WorkCenterCapacityDescription(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityCategoryAllocation, @Nullable String capacityInternalID, @Nullable String language, @Nullable String capacityText, @Nullable OffsetDateTime capacityLastChangeDateTime, @Nullable WorkCenterCapacity to_CapHeader, @Nullable WorkCenterHeader to_Header)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: WorkCenterInternalID

      Parameters:
      workCenterInternalID - Object ID of the resource
    • setWorkCenterTypeCode

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

      Original property name from the Odata EDM: WorkCenterTypeCode

      Parameters:
      workCenterTypeCode - Object types of the CIM resource
    • setCapacityCategoryAllocation

      public void setCapacityCategoryAllocation(@Nullable String capacityCategoryAllocation)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CapacityCategoryAllocation

      Parameters:
      capacityCategoryAllocation - Capacity Category Allocation
    • setCapacityInternalID

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

      Original property name from the Odata EDM: CapacityInternalID

      Parameters:
      capacityInternalID - Capacity ID
    • setLanguage

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

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setCapacityText

      public void setCapacityText(@Nullable String capacityText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CapacityText

      Parameters:
      capacityText - Capacity Short Text
    • setCapacityLastChangeDateTime

      public void setCapacityLastChangeDateTime(@Nullable OffsetDateTime capacityLastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CapacityLastChangeDateTime

      Parameters:
      capacityLastChangeDateTime - Capacity Last Change Date Time
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<WorkCenterCapacityDescription>
    • toMapOfFields

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

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

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

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

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

      If the navigation property for an entity WorkCenterCapacityDescription 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 _CapHeader is already loaded, the result will contain the WorkCenterCapacity entity. If not, an Option with result state empty is returned.
    • setCapHeader

      public void setCapHeader(WorkCenterCapacity value)
      Overwrites the associated WorkCenterCapacity entity for the loaded navigation property _CapHeader.
      Parameters:
      value - New WorkCenterCapacity entity.
    • getHeaderIfPresent

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

      If the navigation property for an entity WorkCenterCapacityDescription 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 _Header is already loaded, the result will contain the WorkCenterHeader entity. If not, an Option with result state empty is returned.
    • setHeader

      public void setHeader(WorkCenterHeader value)
      Overwrites the associated WorkCenterHeader entity for the loaded navigation property _Header.
      Parameters:
      value - New WorkCenterHeader entity.
    • builder

    • getWorkCenterInternalID

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

      Original property name from the Odata EDM: WorkCenterInternalID

      Returns:
      Object ID of the resource
    • getWorkCenterTypeCode

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

      Original property name from the Odata EDM: WorkCenterTypeCode

      Returns:
      Object types of the CIM resource
    • getCapacityCategoryAllocation

      @Nullable public String getCapacityCategoryAllocation()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CapacityCategoryAllocation

      Returns:
      Capacity Category Allocation
    • getCapacityInternalID

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

      Original property name from the Odata EDM: CapacityInternalID

      Returns:
      Capacity ID
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getCapacityText

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

      Original property name from the Odata EDM: CapacityText

      Returns:
      Capacity Short Text
    • getCapacityLastChangeDateTime

      @Nullable public OffsetDateTime getCapacityLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CapacityLastChangeDateTime

      Returns:
      Capacity Last Change Date Time
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<WorkCenterCapacityDescription>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<WorkCenterCapacityDescription>