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

public class SalesOrganization extends VdmEntity<SalesOrganization>
Sales Organization

Original entity name from the Odata EDM: SalesOrganization

  • Field Details

    • ALL_FIELDS

      public static final SalesOrganizationSelectable ALL_FIELDS
      Selector for all available fields of SalesOrganization.
    • SALES_ORGANIZATION

      public static final SalesOrganizationField<String> SALES_ORGANIZATION
      Use with available fluent helpers to apply the SalesOrganization field to query operations.
    • SALES_ORGANIZATION_TEXT

      public static final SalesOrganizationField<String> SALES_ORGANIZATION_TEXT
      Use with available fluent helpers to apply the SalesOrganizationText field to query operations.
  • Constructor Details

    • SalesOrganization

      public SalesOrganization()
    • SalesOrganization

      public SalesOrganization(@Nullable String salesOrganization, @Nullable String salesOrganizationText)
  • Method Details

    • getType

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

      public void setSalesOrganization(@Nullable String salesOrganization)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SalesOrganization

      Parameters:
      salesOrganization - Sales Organization
    • setSalesOrganizationText

      public void setSalesOrganizationText(@Nullable String salesOrganizationText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SalesOrganizationText

      Parameters:
      salesOrganizationText - Sales Organization (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SalesOrganizationField<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> SalesOrganizationField<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<SalesOrganization>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SalesOrganization.SalesOrganizationBuilder builder()
    • getSalesOrganization

      @Nullable public String getSalesOrganization()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      Sales Organization
    • getSalesOrganizationText

      @Nullable public String getSalesOrganizationText()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SalesOrganizationText

      Returns:
      Sales Organization (Description)
    • toString

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

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

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

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