public class VMSVehicleLocation extends VdmEntity<VMSVehicleLocation>
Original entity name from the Odata EDM: A_VMSVehicleLocationType
Modifier and Type | Class and Description |
---|---|
static class |
VMSVehicleLocation.VMSVehicleLocationBuilder |
Modifier and Type | Field and Description |
---|---|
static VMSVehicleLocationField<String> |
ADDRESS_NUMBER
Use with available fluent helpers to apply the AddressNumber field to query operations.
|
static VMSVehicleLocationSelectable |
ALL_FIELDS
Selector for all available fields of VMSVehicleLocation.
|
static VMSVehicleLocationField<String> |
BUSINESS_PARTNER_NAME1
Use with available fluent helpers to apply the BusinessPartnerName1 field to query operations.
|
static VMSVehicleLocationField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static VMSVehicleLocationField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static VMSVehicleLocationField<String> |
HOUSE_NUMBER
Use with available fluent helpers to apply the HouseNumber field to query operations.
|
static VMSVehicleLocationField<String> |
LOGICAL_SYSTEM
Use with available fluent helpers to apply the LogicalSystem field to query operations.
|
static VMSVehicleLocationField<String> |
POSTAL_CODE
Use with available fluent helpers to apply the PostalCode field to query operations.
|
static VMSVehicleLocationField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static VMSVehicleLocationField<String> |
STREET_NAME
Use with available fluent helpers to apply the StreetName field to query operations.
|
static VMSVehicleLocationField<String> |
VMS_VEHICLE_LOCATION
Use with available fluent helpers to apply the VMSVehicleLocation field to query operations.
|
static VMSVehicleLocationField<String> |
VMS_VEHICLE_LOCATION_TEXT
Use with available fluent helpers to apply the VMSVehicleLocation_Text field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
VMSVehicleLocation() |
VMSVehicleLocation(String vMSVehicleLocation,
String vMSVehicleLocation_Text,
String addressNumber,
String businessPartnerName1,
String cityName,
String postalCode,
String houseNumber,
String streetName,
String country,
String region,
String logicalSystem) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static VMSVehicleLocation.VMSVehicleLocationBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> VMSVehicleLocationField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAddressNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerName1()
Constraints: Not nullable, Maximum length: 40
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 40
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getHouseNumber()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getLogicalSystem()
Constraints: Not nullable, Maximum length: 10
|
String |
getPostalCode()
Constraints: Not nullable, Maximum length: 10
|
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getStreetName()
Constraints: Not nullable, Maximum length: 60
|
Class<VMSVehicleLocation> |
getType() |
String |
getVMSVehicleLocation_Text()
Constraints: Not nullable, Maximum length: 30
|
String |
getVMSVehicleLocation()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
int |
hashCode() |
void |
setAddressNumber(String addressNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerName1(String businessPartnerName1)
Constraints: Not nullable, Maximum length: 40
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 40
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setHouseNumber(String houseNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setLogicalSystem(String logicalSystem)
Constraints: Not nullable, Maximum length: 10
|
void |
setPostalCode(String postalCode)
Constraints: Not nullable, Maximum length: 10
|
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStreetName(String streetName)
Constraints: Not nullable, Maximum length: 60
|
void |
setVMSVehicleLocation_Text(String vMSVehicleLocation_Text)
Constraints: Not nullable, Maximum length: 30
|
void |
setVMSVehicleLocation(String vMSVehicleLocation)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final VMSVehicleLocationSelectable ALL_FIELDS
public static final VMSVehicleLocationField<String> VMS_VEHICLE_LOCATION
public static final VMSVehicleLocationField<String> VMS_VEHICLE_LOCATION_TEXT
public static final VMSVehicleLocationField<String> ADDRESS_NUMBER
public static final VMSVehicleLocationField<String> BUSINESS_PARTNER_NAME1
public static final VMSVehicleLocationField<String> CITY_NAME
public static final VMSVehicleLocationField<String> POSTAL_CODE
public static final VMSVehicleLocationField<String> HOUSE_NUMBER
public static final VMSVehicleLocationField<String> STREET_NAME
public static final VMSVehicleLocationField<String> COUNTRY
public static final VMSVehicleLocationField<String> REGION
public static final VMSVehicleLocationField<String> LOGICAL_SYSTEM
public VMSVehicleLocation()
public VMSVehicleLocation(@Nullable String vMSVehicleLocation, @Nullable String vMSVehicleLocation_Text, @Nullable String addressNumber, @Nullable String businessPartnerName1, @Nullable String cityName, @Nullable String postalCode, @Nullable String houseNumber, @Nullable String streetName, @Nullable String country, @Nullable String region, @Nullable String logicalSystem)
@Nonnull public Class<VMSVehicleLocation> getType()
getType
in class VdmObject<VMSVehicleLocation>
public void setVMSVehicleLocation(@Nullable String vMSVehicleLocation)
Original property name from the Odata EDM: VMSVehicleLocation
vMSVehicleLocation
- VMS-Vehicle Locationpublic void setVMSVehicleLocation_Text(@Nullable String vMSVehicleLocation_Text)
Original property name from the Odata EDM: VMSVehicleLocation_Text
vMSVehicleLocation_Text
- Description of VMS Vehicle Locationpublic void setAddressNumber(@Nullable String addressNumber)
Original property name from the Odata EDM: AddressNumber
addressNumber
- Addresspublic void setBusinessPartnerName1(@Nullable String businessPartnerName1)
Original property name from the Odata EDM: BusinessPartnerName1
businessPartnerName1
- Name 1public void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Citypublic void setPostalCode(@Nullable String postalCode)
Original property name from the Odata EDM: PostalCode
postalCode
- City postal codepublic void setHouseNumber(@Nullable String houseNumber)
Original property name from the Odata EDM: HouseNumber
houseNumber
- House Numberpublic void setStreetName(@Nullable String streetName)
Original property name from the Odata EDM: StreetName
streetName
- Streetpublic void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country Keypublic void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
region
- Region (State, Province, County)public void setLogicalSystem(@Nullable String logicalSystem)
Original property name from the Odata EDM: LogicalSystem
logicalSystem
- Logical systemprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<VMSVehicleLocation>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<VMSVehicleLocation>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<VMSVehicleLocation>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<VMSVehicleLocation>
@Nonnull public static <T> VMSVehicleLocationField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> VMSVehicleLocationField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<VMSVehicleLocation>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<VMSVehicleLocation>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<VMSVehicleLocation>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<VMSVehicleLocation>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static VMSVehicleLocation.VMSVehicleLocationBuilder builder()
@Nullable public String getVMSVehicleLocation()
Original property name from the Odata EDM: VMSVehicleLocation
@Nullable public String getVMSVehicleLocation_Text()
Original property name from the Odata EDM: VMSVehicleLocation_Text
@Nullable public String getAddressNumber()
Original property name from the Odata EDM: AddressNumber
@Nullable public String getBusinessPartnerName1()
Original property name from the Odata EDM: BusinessPartnerName1
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getPostalCode()
Original property name from the Odata EDM: PostalCode
@Nullable public String getHouseNumber()
Original property name from the Odata EDM: HouseNumber
@Nullable public String getStreetName()
Original property name from the Odata EDM: StreetName
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
@Nullable public String getLogicalSystem()
Original property name from the Odata EDM: LogicalSystem
@Nonnull public String toString()
toString
in class VdmObject<VMSVehicleLocation>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<VMSVehicleLocation>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<VMSVehicleLocation>
public int hashCode()
hashCode
in class VdmObject<VMSVehicleLocation>
Copyright © 2021 SAP SE. All rights reserved.