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

public class ProductionSupplyAreaAddress extends VdmEntity<ProductionSupplyAreaAddress>
Production Supply Area Addresses

Original entity name from the Odata EDM: A_ProductionSupplyAreaAddressType

  • Field Details

  • Constructor Details

    • ProductionSupplyAreaAddress

      public ProductionSupplyAreaAddress()
    • ProductionSupplyAreaAddress

      public ProductionSupplyAreaAddress(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable String productionSupplyArea, @Nullable String plant, @Nullable String productionSupplyAreaAddressID, @Nullable String businessPartnerName1, @Nullable String businessPartnerName2, @Nullable String building, @Nullable String streetName, @Nullable String additionalStreetSuffixName, @Nullable String cityName, @Nullable String postalCode, @Nullable String country, @Nullable ZonedDateTime lastChangeDateTime)
  • Method Details

    • getType

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

      public void setDelete_mc(@Nullable Boolean delete_mc)
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Parameters:
      delete_mc - Dyn. Method Control
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setProductionSupplyArea

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

      Original property name from the Odata EDM: ProductionSupplyArea

      Parameters:
      productionSupplyArea - Production Supply Area
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setProductionSupplyAreaAddressID

      public void setProductionSupplyAreaAddressID(@Nullable String productionSupplyAreaAddressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProductionSupplyAreaAddressID

      Parameters:
      productionSupplyAreaAddressID - Address for Supply Area
    • setBusinessPartnerName1

      public void setBusinessPartnerName1(@Nullable String businessPartnerName1)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessPartnerName1

      Parameters:
      businessPartnerName1 - Name 1
    • setBusinessPartnerName2

      public void setBusinessPartnerName2(@Nullable String businessPartnerName2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessPartnerName2

      Parameters:
      businessPartnerName2 - Name 2
    • setBuilding

      public void setBuilding(@Nullable String building)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Building

      Parameters:
      building - Building (Number or Code)
    • setStreetName

      public void setStreetName(@Nullable String streetName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: StreetName

      Parameters:
      streetName - Street
    • setAdditionalStreetSuffixName

      public void setAdditionalStreetSuffixName(@Nullable String additionalStreetSuffixName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: AdditionalStreetSuffixName

      Parameters:
      additionalStreetSuffixName - Street 5
    • setCityName

      public void setCityName(@Nullable String cityName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • setPostalCode

      public void setPostalCode(@Nullable String postalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PostalCode

      Parameters:
      postalCode - City Postal Code
    • setCountry

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

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Last Change Timestamp
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductionSupplyAreaAddressField<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> ProductionSupplyAreaAddressField<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<ProductionSupplyAreaAddress>
    • setServicePathForFetch

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

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

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

    • getDelete_mc

      @Nullable public Boolean getDelete_mc()
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Returns:
      Dyn. Method Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getProductionSupplyArea

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

      Original property name from the Odata EDM: ProductionSupplyArea

      Returns:
      Production Supply Area
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getProductionSupplyAreaAddressID

      @Nullable public String getProductionSupplyAreaAddressID()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProductionSupplyAreaAddressID

      Returns:
      Address for Supply Area
    • getBusinessPartnerName1

      @Nullable public String getBusinessPartnerName1()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessPartnerName1

      Returns:
      Name 1
    • getBusinessPartnerName2

      @Nullable public String getBusinessPartnerName2()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessPartnerName2

      Returns:
      Name 2
    • getBuilding

      @Nullable public String getBuilding()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Building

      Returns:
      Building (Number or Code)
    • getStreetName

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

      Original property name from the Odata EDM: StreetName

      Returns:
      Street
    • getAdditionalStreetSuffixName

      @Nullable public String getAdditionalStreetSuffixName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: AdditionalStreetSuffixName

      Returns:
      Street 5
    • getCityName

      @Nullable public String getCityName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getPostalCode

      @Nullable public String getPostalCode()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PostalCode

      Returns:
      City Postal Code
    • getCountry

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

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getLastChangeDateTime

      @Nullable public ZonedDateTime getLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Last Change Timestamp
    • toString

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

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

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

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