Class LocationAddress
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LocationAddress_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LocationAddress instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty<LocationAddress>Selector for all available fields of LocationAddress.static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.Guid<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final SimpleProperty.String<LocationAddress>static final NavigationProperty.Single<LocationAddress,Location> Use with available request builders to apply the _LocationTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionLocationAddress(UUID locationUUID, String addressPersonID, String addressRepresentationCode, String addressID, String addressTimeZone, String cityName, String postalCode, String streetName, String houseNumber, String country, String region, String searchTerm1, String searchTerm2, Location to_LocationTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Maximum length: 10protected ODataEntityKeygetKey()io.vavr.control.Option<Location>Retrieval of associated Location entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidsetAddressID(String addressID) Constraints: Not nullable, Maximum length: 10voidsetAddressPersonID(String addressPersonID) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetAddressRepresentationCode(String addressRepresentationCode) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetAddressTimeZone(String addressTimeZone) Constraints: Not nullable, Maximum length: 6voidsetCityName(String cityName) Constraints: Not nullable, Maximum length: 40voidsetCountry(String country) Constraints: Not nullable, Maximum length: 3voidsetHouseNumber(String houseNumber) Constraints: Not nullable, Maximum length: 10voidsetLocationTP(Location value) Overwrites the associated Location entity for the loaded navigation property _LocationTP.voidsetLocationUUID(UUID locationUUID) (Key Field) Constraints: Not nullablevoidsetPostalCode(String postalCode) Constraints: Not nullable, Maximum length: 10voidConstraints: Not nullable, Maximum length: 3voidsetSearchTerm1(String searchTerm1) Constraints: Not nullable, Maximum length: 20voidsetSearchTerm2(String searchTerm2) Constraints: Not nullable, Maximum length: 20voidsetStreetName(String streetName) Constraints: Not nullable, Maximum length: 60toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of LocationAddress. -
LOCATION_UUID
-
ADDRESS_PERSON_ID
-
ADDRESS_REPRESENTATION_CODE
-
ADDRESS_ID
-
ADDRESS_TIME_ZONE
-
CITY_NAME
-
POSTAL_CODE
-
STREET_NAME
-
HOUSE_NUMBER
-
COUNTRY
-
REGION
-
SEARCH_TERM1
-
SEARCH_TERM2
-
TO__LOCATION_TP
Use with available request builders to apply the _LocationTP navigation property to query operations.
-
-
Constructor Details
-
LocationAddress
public LocationAddress() -
LocationAddress
public LocationAddress(@Nullable UUID locationUUID, @Nullable String addressPersonID, @Nullable String addressRepresentationCode, @Nullable String addressID, @Nullable String addressTimeZone, @Nullable String cityName, @Nullable String postalCode, @Nullable String streetName, @Nullable String houseNumber, @Nullable String country, @Nullable String region, @Nullable String searchTerm1, @Nullable String searchTerm2, @Nullable Location to_LocationTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LocationAddress>
-
setLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LocationUUID
- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)
-
setAddressPersonID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressPersonID
- Parameters:
addressPersonID- Person Number
-
setAddressRepresentationCode
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: AddressRepresentationCode
- Parameters:
addressRepresentationCode- Version ID for International Addresses
-
setAddressID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Parameters:
addressID- Address Number
-
setAddressTimeZone
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: AddressTimeZone
- Parameters:
addressTimeZone- Address Time Zone
-
setCityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CityName
- Parameters:
cityName- City
-
setPostalCode
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PostalCode
- Parameters:
postalCode- City Postal Code
-
setStreetName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: StreetName
- Parameters:
streetName- Street
-
setHouseNumber
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: HouseNumber
- Parameters:
houseNumber- House Number
-
setCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region Key
-
setRegion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Region
- Parameters:
region- Region (State, Province, County)
-
setSearchTerm1
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SearchTerm1
- Parameters:
searchTerm1- Search Term 1
-
setSearchTerm2
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SearchTerm2
- Parameters:
searchTerm2- Search Term 2
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LocationAddress>
-
getKey
- Overrides:
getKeyin classVdmObject<LocationAddress>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LocationAddress>
-
fromMap
- Overrides:
fromMapin classVdmObject<LocationAddress>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LocationAddress>
-
getLocationTPIfPresent
Retrieval of associated Location entity (one to one). This corresponds to the OData navigation property _LocationTP.If the navigation property for an entity LocationAddress has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _LocationTP is already loaded, the result will contain
the Location entity. If not, an
Optionwith result stateemptyis returned.
-
setLocationTP
Overwrites the associated Location entity for the loaded navigation property _LocationTP.- Parameters:
value- New Location entity.
-
builder
-
getLocationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LocationUUID
- Returns:
- Internal Location Number (Customer, Supplier, or Plant)
-
getAddressPersonID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressPersonID
- Returns:
- Person Number
-
getAddressRepresentationCode
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: AddressRepresentationCode
- Returns:
- Version ID for International Addresses
-
getAddressID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Returns:
- Address Number
-
getAddressTimeZone
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: AddressTimeZone
- Returns:
- Address Time Zone
-
getCityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CityName
- Returns:
- City
-
getPostalCode
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PostalCode
- Returns:
- City Postal Code
-
getStreetName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: StreetName
- Returns:
- Street
-
getHouseNumber
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: HouseNumber
- Returns:
- House Number
-
getCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region Key
-
getRegion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Region
- Returns:
- Region (State, Province, County)
-
getSearchTerm1
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SearchTerm1
- Returns:
- Search Term 1
-
getSearchTerm2
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SearchTerm2
- Returns:
- Search Term 2
-
toString
- Overrides:
toStringin classVdmObject<LocationAddress>
-
equals
- Overrides:
equalsin classVdmEntity<LocationAddress>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LocationAddress>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LocationAddress>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LocationAddress>
-