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

public class CustAddrDepdntInformation extends VdmEntity<CustAddrDepdntInformation>
Customer Address Dependent Infomation

Original entity name from the Odata EDM: A_CustAddrDepdntInformationType

  • Field Details

  • Constructor Details

    • CustAddrDepdntInformation

      public CustAddrDepdntInformation()
    • CustAddrDepdntInformation

      public CustAddrDepdntInformation(@Nullable String customer, @Nullable String addressID, @Nullable String expressTrainStationName, @Nullable String trainStationName, @Nullable String cityCode, @Nullable String county)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Customer 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 - Business Partner Address Number (from BUT020)
    • setExpressTrainStationName

      public void setExpressTrainStationName(@Nullable String expressTrainStationName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ExpressTrainStationName

      Parameters:
      expressTrainStationName - Express train station
    • setTrainStationName

      public void setTrainStationName(@Nullable String trainStationName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: TrainStationName

      Parameters:
      trainStationName - Train station
    • setCityCode

      public void setCityCode(@Nullable String cityCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CityCode

      Parameters:
      cityCode - City Code
    • setCounty

      public void setCounty(@Nullable String county)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: County

      Parameters:
      county - County Code
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustAddrDepdntInformationField<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> CustAddrDepdntInformationField<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<CustAddrDepdntInformation>
    • setServicePathForFetch

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

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

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

    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Customer Number
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Business Partner Address Number (from BUT020)
    • getExpressTrainStationName

      @Nullable public String getExpressTrainStationName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ExpressTrainStationName

      Returns:
      Express train station
    • getTrainStationName

      @Nullable public String getTrainStationName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: TrainStationName

      Returns:
      Train station
    • getCityCode

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

      Original property name from the Odata EDM: CityCode

      Returns:
      City Code
    • getCounty

      @Nullable public String getCounty()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: County

      Returns:
      County Code
    • toString

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

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

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

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