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

public class SrcgProjItmDeliveryAddress extends VdmEntity<SrcgProjItmDeliveryAddress> implements VdmEntitySet
Delivery Address

Original entity name from the Odata EDM: SrcgProjItmDeliveryAddress_Type

  • Field Details

  • Constructor Details

    • SrcgProjItmDeliveryAddress

      public SrcgProjItmDeliveryAddress()
    • SrcgProjItmDeliveryAddress

      public SrcgProjItmDeliveryAddress(@Nullable UUID srcgProjAddressUUID, @Nullable String srcgProjAddressID, @Nullable UUID sourcingProjectUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable String fullName, @Nullable String houseNumber, @Nullable String streetName, @Nullable String cityName, @Nullable String region, @Nullable String postalCode, @Nullable String country, @Nullable String county, @Nullable String district, @Nullable String building, @Nullable String roomNumber, @Nullable String floor, @Nullable String phoneNumber, @Nullable String emailAddress, @Nullable String faxNumber, @Nullable String pOBox, @Nullable String pOBoxPostalCode, @Nullable String formOfAddress, @Nullable Boolean addressIsChangedManually, @Nullable String referenceAddressID, @Nullable String referenceObjectID, @Nullable String referenceAddressType, @Nullable String sourcingOrigin, @Nullable String srcgProjSourcingOriginText, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem)
  • Method Details

    • getType

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

      public void setSrcgProjAddressUUID(@Nullable UUID srcgProjAddressUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAddressUUID

      Parameters:
      srcgProjAddressUUID - Delivery Address UUID in Sourcing Project
    • setSrcgProjAddressID

      public void setSrcgProjAddressID(@Nullable String srcgProjAddressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SrcgProjAddressID

      Parameters:
      srcgProjAddressID - Address ID used in Sourcing Project
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSourcingProjectItemUUID

      public void setSourcingProjectItemUUID(@Nullable UUID sourcingProjectItemUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Parameters:
      sourcingProjectItemUUID - Sourcing Project Item UUID
    • setFullName

      public void setFullName(@Nullable String fullName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: FullName

      Parameters:
      fullName - Address Full Name
    • 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
    • setStreetName

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

      Original property name from the Odata EDM: StreetName

      Parameters:
      streetName - Street
    • setCityName

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

      Original property name from the Odata EDM: CityName

      Parameters:
      cityName - City
    • 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)
    • 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
    • setCounty

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

      Original property name from the Odata EDM: County

      Parameters:
      county - County
    • setDistrict

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

      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)
    • setRoomNumber

      public void setRoomNumber(@Nullable String roomNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RoomNumber

      Parameters:
      roomNumber - Room or Apartment Number
    • setFloor

      public void setFloor(@Nullable String floor)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Floor

      Parameters:
      floor - Floor in building
    • setPhoneNumber

      public void setPhoneNumber(@Nullable String phoneNumber)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PhoneNumber

      Parameters:
      phoneNumber - Phone Number: Area Code+Number
    • setEmailAddress

      public void setEmailAddress(@Nullable String emailAddress)
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Parameters:
      emailAddress - SMTP Address
    • setFaxNumber

      public void setFaxNumber(@Nullable String faxNumber)
      Constraints: Not nullable, Maximum length: 31

      Original property name from the Odata EDM: FaxNumber

      Parameters:
      faxNumber - Fax Number
    • setPOBox

      public void setPOBox(@Nullable String pOBox)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: POBox

      Parameters:
      pOBox - PO Box
    • setPOBoxPostalCode

      public void setPOBoxPostalCode(@Nullable String pOBoxPostalCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: POBoxPostalCode

      Parameters:
      pOBoxPostalCode - PO Box Postal Code
    • setFormOfAddress

      public void setFormOfAddress(@Nullable String formOfAddress)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FormOfAddress

      Parameters:
      formOfAddress - Form-of-Address Key
    • setAddressIsChangedManually

      public void setAddressIsChangedManually(@Nullable Boolean addressIsChangedManually)
      Constraints: Not nullable

      Original property name from the Odata EDM: AddressIsChangedManually

      Parameters:
      addressIsChangedManually - Boolean Variable (X = True, - = False, Space = Unknown)
    • setReferenceAddressID

      public void setReferenceAddressID(@Nullable String referenceAddressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceAddressID

      Parameters:
      referenceAddressID - Address Number
    • setReferenceObjectID

      public void setReferenceObjectID(@Nullable String referenceObjectID)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ReferenceObjectID

      Parameters:
      referenceObjectID - Address owner object ID
    • setReferenceAddressType

      public void setReferenceAddressType(@Nullable String referenceAddressType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ReferenceAddressType

      Parameters:
      referenceAddressType - Address Type
    • setSourcingOrigin

      public void setSourcingOrigin(@Nullable String sourcingOrigin)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingOrigin

      Parameters:
      sourcingOrigin - Sourcing Origin
    • setSrcgProjSourcingOriginText

      public void setSrcgProjSourcingOriginText(@Nullable String srcgProjSourcingOriginText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SrcgProjSourcingOriginText

      Parameters:
      srcgProjSourcingOriginText - Short Text for Fixed Values
    • setSourcingScenario

      public void setSourcingScenario(@Nullable String sourcingScenario)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingScenario

      Parameters:
      sourcingScenario - Sourcing Integration Scenario
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjItmDeliveryAddress 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 _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSourcingProjectItemIfPresent

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

      If the navigation property for an entity SrcgProjItmDeliveryAddress 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 _SourcingProjectItem is already loaded, the result will contain the SourcingProjectItem entity. If not, an Option with result state empty is returned.
    • setSourcingProjectItem

      public void setSourcingProjectItem(SourcingProjectItem value)
      Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.
      Parameters:
      value - New SourcingProjectItem entity.
    • builder

    • getSrcgProjAddressUUID

      @Nullable public UUID getSrcgProjAddressUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAddressUUID

      Returns:
      Delivery Address UUID in Sourcing Project
    • getSrcgProjAddressID

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

      Original property name from the Odata EDM: SrcgProjAddressID

      Returns:
      Address ID used in Sourcing Project
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSourcingProjectItemUUID

      @Nullable public UUID getSourcingProjectItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Returns:
      Sourcing Project Item UUID
    • getFullName

      @Nullable public String getFullName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: FullName

      Returns:
      Address Full Name
    • getHouseNumber

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

      Original property name from the Odata EDM: HouseNumber

      Returns:
      House Number
    • getStreetName

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

      Original property name from the Odata EDM: StreetName

      Returns:
      Street
    • getCityName

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

      Original property name from the Odata EDM: CityName

      Returns:
      City
    • getRegion

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

      Original property name from the Odata EDM: Region

      Returns:
      Region (State, Province, County)
    • 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
    • getCounty

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

      Original property name from the Odata EDM: County

      Returns:
      County
    • getDistrict

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

      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)
    • getRoomNumber

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

      Original property name from the Odata EDM: RoomNumber

      Returns:
      Room or Apartment Number
    • getFloor

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

      Original property name from the Odata EDM: Floor

      Returns:
      Floor in building
    • getPhoneNumber

      @Nullable public String getPhoneNumber()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PhoneNumber

      Returns:
      Phone Number: Area Code+Number
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Returns:
      SMTP Address
    • getFaxNumber

      @Nullable public String getFaxNumber()
      Constraints: Not nullable, Maximum length: 31

      Original property name from the Odata EDM: FaxNumber

      Returns:
      Fax Number
    • getPOBox

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

      Original property name from the Odata EDM: POBox

      Returns:
      PO Box
    • getPOBoxPostalCode

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

      Original property name from the Odata EDM: POBoxPostalCode

      Returns:
      PO Box Postal Code
    • getFormOfAddress

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

      Original property name from the Odata EDM: FormOfAddress

      Returns:
      Form-of-Address Key
    • getAddressIsChangedManually

      @Nullable public Boolean getAddressIsChangedManually()
      Constraints: Not nullable

      Original property name from the Odata EDM: AddressIsChangedManually

      Returns:
      Boolean Variable (X = True, - = False, Space = Unknown)
    • getReferenceAddressID

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

      Original property name from the Odata EDM: ReferenceAddressID

      Returns:
      Address Number
    • getReferenceObjectID

      @Nullable public String getReferenceObjectID()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ReferenceObjectID

      Returns:
      Address owner object ID
    • getReferenceAddressType

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

      Original property name from the Odata EDM: ReferenceAddressType

      Returns:
      Address Type
    • getSourcingOrigin

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

      Original property name from the Odata EDM: SourcingOrigin

      Returns:
      Sourcing Origin
    • getSrcgProjSourcingOriginText

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

      Original property name from the Odata EDM: SrcgProjSourcingOriginText

      Returns:
      Short Text for Fixed Values
    • getSourcingScenario

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

      Original property name from the Odata EDM: SourcingScenario

      Returns:
      Sourcing Integration Scenario
    • toString

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

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

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

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

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