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

public class IncotermsVersionText extends VdmEntity<IncotermsVersionText>
Version Description

Original entity name from the Odata EDM: A_IncotermsVersionTextType

  • Field Details

    • ALL_FIELDS

      public static final IncotermsVersionTextSelectable ALL_FIELDS
      Selector for all available fields of IncotermsVersionText.
    • INCOTERMS_VERSION

      public static final IncotermsVersionTextField<String> INCOTERMS_VERSION
      Use with available fluent helpers to apply the IncotermsVersion field to query operations.
    • LANGUAGE

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

      public static final IncotermsVersionTextField<String> INCOTERMS_VERSION_NAME
      Use with available fluent helpers to apply the IncotermsVersionName field to query operations.
  • Constructor Details

    • IncotermsVersionText

      public IncotermsVersionText()
    • IncotermsVersionText

      public IncotermsVersionText(@Nullable String incotermsVersion, @Nullable String language, @Nullable String incotermsVersionName)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: IncotermsVersion

      Parameters:
      incotermsVersion - Incoterms Version
    • 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
    • setIncotermsVersionName

      public void setIncotermsVersionName(@Nullable String incotermsVersionName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: IncotermsVersionName

      Parameters:
      incotermsVersionName - Description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> IncotermsVersionTextField<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> IncotermsVersionTextField<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<IncotermsVersionText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static IncotermsVersionText.IncotermsVersionTextBuilder builder()
    • getIncotermsVersion

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

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      Incoterms Version
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getIncotermsVersionName

      @Nullable public String getIncotermsVersionName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: IncotermsVersionName

      Returns:
      Description
    • toString

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

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

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

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