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

public class SAP__Format extends VdmEntity<SAP__Format>

Original entity name from the Odata EDM: SAP__Format

  • Field Details

    • ALL_FIELDS

      public static final SAP__FormatSelectable ALL_FIELDS
      Selector for all available fields of SAP__Format.
    • ID

      public static final SAP__FormatField<UUID> ID
      Use with available fluent helpers to apply the Id field to query operations.
    • FONT_SIZE

      public static final SAP__FormatField<Integer> FONT_SIZE
      Use with available fluent helpers to apply the FontSize field to query operations.
    • ORIENTATION

      public static final SAP__FormatField<String> ORIENTATION
      Use with available fluent helpers to apply the Orientation field to query operations.
    • PAPER_SIZE

      public static final SAP__FormatField<String> PAPER_SIZE
      Use with available fluent helpers to apply the PaperSize field to query operations.
    • BORDER_SIZE

      public static final SAP__FormatField<Integer> BORDER_SIZE
      Use with available fluent helpers to apply the BorderSize field to query operations.
    • MARGIN_SIZE

      public static final SAP__FormatField<Integer> MARGIN_SIZE
      Use with available fluent helpers to apply the MarginSize field to query operations.
    • FONT_NAME

      public static final SAP__FormatField<String> FONT_NAME
      Use with available fluent helpers to apply the FontName field to query operations.
  • Constructor Details

    • SAP__Format

      public SAP__Format()
    • SAP__Format

      public SAP__Format(@Nullable SAP__FitToPage fitToPage, @Nullable UUID id, @Nullable Integer fontSize, @Nullable String orientation, @Nullable String paperSize, @Nullable Integer borderSize, @Nullable Integer marginSize, @Nullable String fontName)
  • Method Details

    • getType

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

      public void setFitToPage(@Nullable SAP__FitToPage fitToPage)
      Constraints: Not nullable

      Original property name from the Odata EDM: FitToPage

      Parameters:
      fitToPage - The fitToPage to set.
    • setId

      public void setId(@Nullable UUID id)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: Id

      Parameters:
      id - UUID
    • setFontSize

      public void setFontSize(@Nullable Integer fontSize)
      Constraints: Not nullable

      Original property name from the Odata EDM: FontSize

      Parameters:
      fontSize - The fontSize to set.
    • setOrientation

      public void setOrientation(@Nullable String orientation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Orientation

      Parameters:
      orientation - The orientation to set.
    • setPaperSize

      public void setPaperSize(@Nullable String paperSize)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PaperSize

      Parameters:
      paperSize - The paperSize to set.
    • setBorderSize

      public void setBorderSize(@Nullable Integer borderSize)
      Constraints: Not nullable

      Original property name from the Odata EDM: BorderSize

      Parameters:
      borderSize - The borderSize to set.
    • setMarginSize

      public void setMarginSize(@Nullable Integer marginSize)
      Constraints: Not nullable

      Original property name from the Odata EDM: MarginSize

      Parameters:
      marginSize - The marginSize to set.
    • setFontName

      public void setFontName(@Nullable String fontName)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: FontName

      Parameters:
      fontName - Font Name
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SAP__FormatField<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> SAP__FormatField<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<SAP__Format>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SAP__Format.SAP__FormatBuilder builder()
    • getFitToPage

      @Nullable public SAP__FitToPage getFitToPage()
      Constraints: Not nullable

      Original property name from the Odata EDM: FitToPage

      Returns:
      The fitToPage contained in this entity.
    • getId

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

      Original property name from the Odata EDM: Id

      Returns:
      UUID
    • getFontSize

      @Nullable public Integer getFontSize()
      Constraints: Not nullable

      Original property name from the Odata EDM: FontSize

      Returns:
      The fontSize contained in this entity.
    • getOrientation

      @Nullable public String getOrientation()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Orientation

      Returns:
      The orientation contained in this entity.
    • getPaperSize

      @Nullable public String getPaperSize()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PaperSize

      Returns:
      The paperSize contained in this entity.
    • getBorderSize

      @Nullable public Integer getBorderSize()
      Constraints: Not nullable

      Original property name from the Odata EDM: BorderSize

      Returns:
      The borderSize contained in this entity.
    • getMarginSize

      @Nullable public Integer getMarginSize()
      Constraints: Not nullable

      Original property name from the Odata EDM: MarginSize

      Returns:
      The marginSize contained in this entity.
    • getFontName

      @Nullable public String getFontName()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: FontName

      Returns:
      Font Name
    • toString

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

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

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

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