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

public class WorkCenterCapacityText extends VdmEntity<WorkCenterCapacityText>
Capacity Description

Original entity name from the Odata EDM: A_WorkCenterCapacityTextType

  • Field Details

    • ALL_FIELDS

      public static final WorkCenterCapacityTextSelectable ALL_FIELDS
      Selector for all available fields of WorkCenterCapacityText.
    • CAPACITY_INTERNAL_ID

      public static final WorkCenterCapacityTextField<String> CAPACITY_INTERNAL_ID
      Use with available fluent helpers to apply the CapacityInternalID field to query operations.
    • LANGUAGE

      public static final WorkCenterCapacityTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • CAPACITY_TEXT

      public static final WorkCenterCapacityTextField<String> CAPACITY_TEXT
      Use with available fluent helpers to apply the CapacityText field to query operations.
    • CAPACITY_LAST_CHANGE_DATE_TIME

      public static final WorkCenterCapacityTextField<ZonedDateTime> CAPACITY_LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the CapacityLastChangeDateTime field to query operations.
  • Constructor Details

    • WorkCenterCapacityText

      public WorkCenterCapacityText()
    • WorkCenterCapacityText

      public WorkCenterCapacityText(@Nullable String capacityInternalID, @Nullable String language, @Nullable String capacityText, @Nullable ZonedDateTime capacityLastChangeDateTime)
  • Method Details

    • getType

      @Nonnull public Class<WorkCenterCapacityText> getType()
      Specified by:
      getType in class VdmObject<WorkCenterCapacityText>
    • 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 ZonedDateTime capacityLastChangeDateTime)
      Constraints: Not 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<WorkCenterCapacityText>
    • getKey

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

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

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

      @Nonnull public static <T> WorkCenterCapacityTextField<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> WorkCenterCapacityTextField<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<WorkCenterCapacityText>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WorkCenterCapacityText>
    • builder

      @Nonnull public static WorkCenterCapacityText.WorkCenterCapacityTextBuilder builder()
    • 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 ZonedDateTime getCapacityLastChangeDateTime()
      Constraints: Not 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<WorkCenterCapacityText>
    • equals

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

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

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