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

public class BusinessPlaceCntryInfo extends VdmEntity<BusinessPlaceCntryInfo>
Country/Region Information of Business Places

Original entity name from the Odata EDM: BusinessPlaceCntryInfo

  • Field Details

  • Constructor Details

    • BusinessPlaceCntryInfo

      public BusinessPlaceCntryInfo()
    • BusinessPlaceCntryInfo

      public BusinessPlaceCntryInfo(@Nullable String companyCode, @Nullable String businessPlaceID, @Nullable String country, @Nullable String fieldName, @Nullable String fieldValue)
  • Method Details

    • getType

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

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setBusinessPlaceID

      public void setBusinessPlaceID(@Nullable String businessPlaceID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessPlaceID

      Parameters:
      businessPlaceID - Business Place
    • setCountry

      public void setCountry(@Nullable String country)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region
    • setFieldName

      public void setFieldName(@Nullable String fieldName)
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FieldName

      Parameters:
      fieldName - Technical Attribute Name
    • setFieldValue

      public void setFieldValue(@Nullable String fieldValue)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: FieldValue

      Parameters:
      fieldValue - Attribute Value
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusinessPlaceCntryInfoField<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> BusinessPlaceCntryInfoField<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<BusinessPlaceCntryInfo>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BusinessPlaceCntryInfo.BusinessPlaceCntryInfoBuilder builder()
    • getCompanyCode

      @Nullable public String getCompanyCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getBusinessPlaceID

      @Nullable public String getBusinessPlaceID()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessPlaceID

      Returns:
      Business Place
    • getCountry

      @Nullable public String getCountry()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region
    • getFieldName

      @Nullable public String getFieldName()
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FieldName

      Returns:
      Technical Attribute Name
    • getFieldValue

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

      Original property name from the Odata EDM: FieldValue

      Returns:
      Attribute Value
    • toString

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

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

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

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