Class Location.LocationBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.location.Location.LocationBuilder
Enclosing class:
Location

public static final class Location.LocationBuilder extends Object
Helper class to allow for fluent creation of Location instances.
  • Method Details

    • locationAddressTP

      @Nonnull public Location.LocationBuilder locationAddressTP(LocationAddress value)
      Navigation property _LocationAddressTP for Location to single LocationAddress.
      Parameters:
      value - The LocationAddress to build this Location with.
      Returns:
      This Builder to allow for a fluent interface.
    • locationTextTP

      @Nonnull public Location.LocationBuilder locationTextTP(LocationText... value)
      Navigation property _LocationTextTP for Location to multiple LocationText.
      Parameters:
      value - The LocationTexts to build this Location with.
      Returns:
      This Builder to allow for a fluent interface.
    • locationUUID

      @Nonnull public Location.LocationBuilder locationUUID(@Nullable UUID locationUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LocationUUID

      Returns:
      this.
    • location

      @Nonnull public Location.LocationBuilder location(@Nullable String location)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Location

      Returns:
      this.
    • locationType

      @Nonnull public Location.LocationBuilder locationType(@Nullable String locationType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LocationType

      Returns:
      this.
    • locationAdditionalUUID

      @Nonnull public Location.LocationBuilder locationAdditionalUUID(@Nullable UUID locationAdditionalUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: LocationAdditionalUUID

      Returns:
      this.
    • locationTimeZone

      @Nonnull public Location.LocationBuilder locationTimeZone(@Nullable String locationTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: LocationTimeZone

      Returns:
      this.
    • globalLocationNumber

      @Nonnull public Location.LocationBuilder globalLocationNumber(@Nullable String globalLocationNumber)
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: GlobalLocationNumber

      Returns:
      this.
    • locationDUNSNumber

      @Nonnull public Location.LocationBuilder locationDUNSNumber(@Nullable String locationDUNSNumber)
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: LocationDUNSNumber

      Returns:
      this.
    • locationUNCode

      @Nonnull public Location.LocationBuilder locationUNCode(@Nullable String locationUNCode)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: LocationUNCode

      Returns:
      this.
    • locationIATACode

      @Nonnull public Location.LocationBuilder locationIATACode(@Nullable String locationIATACode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LocationIATACode

      Returns:
      this.
    • geoCoordinatesLongitudeValue

      @Nonnull public Location.LocationBuilder geoCoordinatesLongitudeValue(@Nullable Double geoCoordinatesLongitudeValue)
      Constraints: Not nullable

      Original property name from the Odata EDM: GeoCoordinatesLongitudeValue

      Returns:
      this.
    • geoCoordinatesLatitudeValue

      @Nonnull public Location.LocationBuilder geoCoordinatesLatitudeValue(@Nullable Double geoCoordinatesLatitudeValue)
      Constraints: Not nullable

      Original property name from the Odata EDM: GeoCoordinatesLatitudeValue

      Returns:
      this.
    • geoCoordsValidityEndDateTime

      @Nonnull public Location.LocationBuilder geoCoordsValidityEndDateTime(@Nullable OffsetDateTime geoCoordsValidityEndDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: GeoCoordsValidityEndDateTime

      Returns:
      this.
    • geoCoordsAreManuallyChanged

      @Nonnull public Location.LocationBuilder geoCoordsAreManuallyChanged(@Nullable Boolean geoCoordsAreManuallyChanged)
      Constraints: Not nullable

      Original property name from the Odata EDM: GeoCoordsAreManuallyChanged

      Returns:
      this.
    • creationDateTime

      @Nonnull public Location.LocationBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • createdByUser

      @Nonnull public Location.LocationBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • changedDateTime

      @Nonnull public Location.LocationBuilder changedDateTime(@Nullable OffsetDateTime changedDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      this.
    • localLastChangeDateTime

      @Nonnull public Location.LocationBuilder localLastChangeDateTime(@Nullable OffsetDateTime localLastChangeDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: LocalLastChangeDateTime

      Returns:
      this.
    • lastChangedByUser

      @Nonnull public Location.LocationBuilder lastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • locationIsTemporary

      @Nonnull public Location.LocationBuilder locationIsTemporary(@Nullable Boolean locationIsTemporary)
      Constraints: Not nullable

      Original property name from the Odata EDM: LocationIsTemporary

      Returns:
      this.
    • isBusinessPurposeCompleted

      @Nonnull public Location.LocationBuilder isBusinessPurposeCompleted(@Nullable String isBusinessPurposeCompleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Returns:
      this.
    • addressID

      @Nonnull public Location.LocationBuilder addressID(@Nullable String addressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Returns:
      this.
    • _Messages

      @Nonnull public Location.LocationBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public Location build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object