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

public class BPAddrDepdntIntlLocNumber extends VdmEntity<BPAddrDepdntIntlLocNumber>
Business Partner Address-Dependent ILN

Original entity name from the Odata EDM: A_BPAddrDepdntIntlLocNumberType

  • Field Details

    • ALL_FIELDS

      public static final BPAddrDepdntIntlLocNumberSelectable ALL_FIELDS
      Selector for all available fields of BPAddrDepdntIntlLocNumber.
    • BUSINESS_PARTNER

      public static final BPAddrDepdntIntlLocNumberField<String> BUSINESS_PARTNER
      Use with available fluent helpers to apply the BusinessPartner field to query operations.
    • ADDRESS_ID

      public static final BPAddrDepdntIntlLocNumberField<String> ADDRESS_ID
      Use with available fluent helpers to apply the AddressID field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER1

      public static final BPAddrDepdntIntlLocNumberField<String> INTERNATIONAL_LOCATION_NUMBER1
      Use with available fluent helpers to apply the InternationalLocationNumber1 field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER2

      public static final BPAddrDepdntIntlLocNumberField<String> INTERNATIONAL_LOCATION_NUMBER2
      Use with available fluent helpers to apply the InternationalLocationNumber2 field to query operations.
    • INTERNATIONAL_LOCATION_NUMBER3

      public static final BPAddrDepdntIntlLocNumberField<String> INTERNATIONAL_LOCATION_NUMBER3
      Use with available fluent helpers to apply the InternationalLocationNumber3 field to query operations.
  • Constructor Details

    • BPAddrDepdntIntlLocNumber

      public BPAddrDepdntIntlLocNumber()
    • BPAddrDepdntIntlLocNumber

      public BPAddrDepdntIntlLocNumber(@Nullable String businessPartner, @Nullable String addressID, @Nullable String internationalLocationNumber1, @Nullable String internationalLocationNumber2, @Nullable String internationalLocationNumber3)
  • Method Details

    • getType

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

      public void setBusinessPartner(@Nullable String businessPartner)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setAddressID

      public void setAddressID(@Nullable String addressID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address Number
    • setInternationalLocationNumber1

      public void setInternationalLocationNumber1(@Nullable String internationalLocationNumber1)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: InternationalLocationNumber1

      Parameters:
      internationalLocationNumber1 - International location number (part 1)
    • setInternationalLocationNumber2

      public void setInternationalLocationNumber2(@Nullable String internationalLocationNumber2)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: InternationalLocationNumber2

      Parameters:
      internationalLocationNumber2 - International location number (Part 2)
    • setInternationalLocationNumber3

      public void setInternationalLocationNumber3(@Nullable String internationalLocationNumber3)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InternationalLocationNumber3

      Parameters:
      internationalLocationNumber3 - Check digit for the international location number
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BPAddrDepdntIntlLocNumberField<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> BPAddrDepdntIntlLocNumberField<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<BPAddrDepdntIntlLocNumber>
    • setServicePathForFetch

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

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

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

    • getBusinessPartner

      @Nullable public String getBusinessPartner()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getAddressID

      @Nullable public String getAddressID()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Returns:
      Address Number
    • getInternationalLocationNumber1

      @Nullable public String getInternationalLocationNumber1()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: InternationalLocationNumber1

      Returns:
      International location number (part 1)
    • getInternationalLocationNumber2

      @Nullable public String getInternationalLocationNumber2()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: InternationalLocationNumber2

      Returns:
      International location number (Part 2)
    • getInternationalLocationNumber3

      @Nullable public String getInternationalLocationNumber3()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InternationalLocationNumber3

      Returns:
      Check digit for the international location number
    • toString

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

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

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

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