java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<REIntegObjectAddress>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.realestateintegrationobject.REIntegObjectAddress
All Implemented Interfaces:
VdmEntitySet

public class REIntegObjectAddress extends VdmEntity<REIntegObjectAddress> implements VdmEntitySet
Object Address

Original entity name from the Odata EDM: REIntegObjectAddress_Type

  • Field Details

  • Constructor Details

    • REIntegObjectAddress

      public REIntegObjectAddress()
    • REIntegObjectAddress

      public REIntegObjectAddress(@Nullable String internalRealEstateNumber, @Nullable String addressID, @Nullable String rEAddressObjType, @Nullable String streetName, @Nullable String houseNumber, @Nullable String cityName, @Nullable String postalCode, @Nullable String country, @Nullable String region, @Nullable String streetPrefixName, @Nullable String additionalStreetPrefixName, @Nullable String streetSuffixName, @Nullable String additionalStreetSuffixName, @Nullable String houseNumberSupplementText, @Nullable String district, @Nullable String building, @Nullable String taxJurisdiction, @Nullable Collection<SAP__Message> _Messages, @Nullable REIntegrationObject to_REIntegrationObjectTP)
  • Method Details

    • getType

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

      public void setInternalRealEstateNumber(@Nullable String internalRealEstateNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumber

      Parameters:
      internalRealEstateNumber - Internal Key for Address Objects
    • setAddressID

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

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address Number
    • setREAddressObjType

      public void setREAddressObjType(@Nullable String rEAddressObjType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REAddressObjType

      Parameters:
      rEAddressObjType - Object Addresses: Key for Number Range Object
    • setStreetName

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

      Original property name from the Odata EDM: StreetName

      Parameters:
      streetName - Street
    • setHouseNumber

      public void setHouseNumber(@Nullable String houseNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: HouseNumber

      Parameters:
      houseNumber - House Number
    • 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
    • setRegion

      public void setRegion(@Nullable String region)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Region

      Parameters:
      region - Region (State, Province, County)
    • setStreetPrefixName

      public void setStreetPrefixName(@Nullable String streetPrefixName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetPrefixName

      Parameters:
      streetPrefixName - Street 2
    • setAdditionalStreetPrefixName

      public void setAdditionalStreetPrefixName(@Nullable String additionalStreetPrefixName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: AdditionalStreetPrefixName

      Parameters:
      additionalStreetPrefixName - Street 3
    • setStreetSuffixName

      public void setStreetSuffixName(@Nullable String streetSuffixName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: StreetSuffixName

      Parameters:
      streetSuffixName - Street 4
    • 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
    • setHouseNumberSupplementText

      public void setHouseNumberSupplementText(@Nullable String houseNumberSupplementText)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: HouseNumberSupplementText

      Parameters:
      houseNumberSupplementText - House number supplement
    • setDistrict

      public void setDistrict(@Nullable String district)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: District

      Parameters:
      district - District
    • 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)
    • setTaxJurisdiction

      public void setTaxJurisdiction(@Nullable String taxJurisdiction)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TaxJurisdiction

      Parameters:
      taxJurisdiction - Tax Jurisdiction
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<REIntegObjectAddress>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<REIntegObjectAddress>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<REIntegObjectAddress>
    • getREIntegrationObjectTPIfPresent

      @Nonnull public io.vavr.control.Option<REIntegrationObject> getREIntegrationObjectTPIfPresent()
      Retrieval of associated REIntegrationObject entity (one to one). This corresponds to the OData navigation property _REIntegrationObjectTP.

      If the navigation property for an entity REIntegObjectAddress has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _REIntegrationObjectTP is already loaded, the result will contain the REIntegrationObject entity. If not, an Option with result state empty is returned.
    • setREIntegrationObjectTP

      public void setREIntegrationObjectTP(REIntegrationObject value)
      Overwrites the associated REIntegrationObject entity for the loaded navigation property _REIntegrationObjectTP.
      Parameters:
      value - New REIntegrationObject entity.
    • builder

      @Nonnull public static REIntegObjectAddress.REIntegObjectAddressBuilder builder()
    • getInternalRealEstateNumber

      @Nullable public String getInternalRealEstateNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: InternalRealEstateNumber

      Returns:
      Internal Key for Address Objects
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Address Number
    • getREAddressObjType

      @Nullable public String getREAddressObjType()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: REAddressObjType

      Returns:
      Object Addresses: Key for Number Range Object
    • getStreetName

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

      Original property name from the Odata EDM: StreetName

      Returns:
      Street
    • getHouseNumber

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

      Original property name from the Odata EDM: HouseNumber

      Returns:
      House Number
    • 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
    • getRegion

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

      Original property name from the Odata EDM: Region

      Returns:
      Region (State, Province, County)
    • getStreetPrefixName

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

      Original property name from the Odata EDM: StreetPrefixName

      Returns:
      Street 2
    • getAdditionalStreetPrefixName

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

      Original property name from the Odata EDM: AdditionalStreetPrefixName

      Returns:
      Street 3
    • getStreetSuffixName

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

      Original property name from the Odata EDM: StreetSuffixName

      Returns:
      Street 4
    • getAdditionalStreetSuffixName

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

      Original property name from the Odata EDM: AdditionalStreetSuffixName

      Returns:
      Street 5
    • getHouseNumberSupplementText

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

      Original property name from the Odata EDM: HouseNumberSupplementText

      Returns:
      House number supplement
    • getDistrict

      @Nullable public String getDistrict()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: District

      Returns:
      District
    • getBuilding

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

      Original property name from the Odata EDM: Building

      Returns:
      Building (Number or Code)
    • getTaxJurisdiction

      @Nullable public String getTaxJurisdiction()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TaxJurisdiction

      Returns:
      Tax Jurisdiction
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<REIntegObjectAddress>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<REIntegObjectAddress>