public class BusinessPlaceCntryInfo extends VdmEntity<BusinessPlaceCntryInfo>
Original entity name from the Odata EDM: BusinessPlaceCntryInfo
Modifier and Type | Class and Description |
---|---|
static class |
BusinessPlaceCntryInfo.BusinessPlaceCntryInfoBuilder |
Modifier and Type | Field and Description |
---|---|
static BusinessPlaceCntryInfoSelectable |
ALL_FIELDS
Selector for all available fields of BusinessPlaceCntryInfo.
|
static BusinessPlaceCntryInfoField<String> |
BUSINESS_PLACE_ID
Use with available fluent helpers to apply the BusinessPlaceID field to query operations.
|
static BusinessPlaceCntryInfoField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static BusinessPlaceCntryInfoField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static BusinessPlaceCntryInfoField<String> |
FIELD_NAME
Use with available fluent helpers to apply the FieldName field to query operations.
|
static BusinessPlaceCntryInfoField<String> |
FIELD_VALUE
Use with available fluent helpers to apply the FieldValue field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BusinessPlaceCntryInfo() |
BusinessPlaceCntryInfo(String companyCode,
String businessPlaceID,
String country,
String fieldName,
String fieldValue) |
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 BusinessPlaceCntryInfo.BusinessPlaceCntryInfoBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BusinessPlaceCntryInfoField<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 |
getBusinessPlaceID()
Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getCountry()
(Key Field) 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 |
getFieldName()
(Key Field) Constraints: Not nullable, Maximum length: 60
|
String |
getFieldValue()
Constraints: Not nullable, Maximum length: 255
|
protected Map<String,Object> |
getKey() |
Class<BusinessPlaceCntryInfo> |
getType() |
int |
hashCode() |
void |
setBusinessPlaceID(String businessPlaceID)
Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setCountry(String country)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setFieldName(String fieldName)
(Key Field) Constraints: Not nullable, Maximum length: 60
|
void |
setFieldValue(String fieldValue)
Constraints: Not nullable, Maximum length: 255
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 BusinessPlaceCntryInfoSelectable ALL_FIELDS
public static final BusinessPlaceCntryInfoField<String> COMPANY_CODE
public static final BusinessPlaceCntryInfoField<String> BUSINESS_PLACE_ID
public static final BusinessPlaceCntryInfoField<String> COUNTRY
public static final BusinessPlaceCntryInfoField<String> FIELD_NAME
public static final BusinessPlaceCntryInfoField<String> FIELD_VALUE
@Nonnull public Class<BusinessPlaceCntryInfo> getType()
getType
in class VdmObject<BusinessPlaceCntryInfo>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setBusinessPlaceID(@Nullable String businessPlaceID)
Original property name from the Odata EDM: BusinessPlaceID
businessPlaceID
- Specifies the business place.public void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country/region code or a typical country/region key, for example, in Germany the Federal statistics office key.The country/region keys are determined at system installation in the global settings.The definition of the country/region keys in the SAP system does not necessarily have to match political or state units.Since the country/region key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country/region key cannot query the country/region key T005-LAND1, but have to program based on the ISO code T005 INTCA.
country
- The country/region key contains information which the system uses to check entries such as the length
of the postal code or bank account number.public void setFieldName(@Nullable String fieldName)
Original property name from the Odata EDM: FieldName
fieldName
- Business Place Name of Parameterpublic void setFieldValue(@Nullable String fieldValue)
Original property name from the Odata EDM: FieldValue
fieldValue
- Business Place Value of Parameterprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BusinessPlaceCntryInfo>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BusinessPlaceCntryInfo>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BusinessPlaceCntryInfo>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BusinessPlaceCntryInfo>
@Nonnull public static <T> BusinessPlaceCntryInfoField<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> BusinessPlaceCntryInfoField<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<BusinessPlaceCntryInfo>
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<BusinessPlaceCntryInfo>
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<BusinessPlaceCntryInfo>
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<BusinessPlaceCntryInfo>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BusinessPlaceCntryInfo.BusinessPlaceCntryInfoBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getBusinessPlaceID()
Original property name from the Odata EDM: BusinessPlaceID
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country/region code or a typical country/region key, for example, in Germany the Federal statistics office key.The country/region keys are determined at system installation in the global settings.The definition of the country/region keys in the SAP system does not necessarily have to match political or state units.Since the country/region key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country/region key cannot query the country/region key T005-LAND1, but have to program based on the ISO code T005 INTCA.
@Nullable public String getFieldName()
Original property name from the Odata EDM: FieldName
@Nullable public String getFieldValue()
Original property name from the Odata EDM: FieldValue
@Nonnull public String toString()
toString
in class VdmObject<BusinessPlaceCntryInfo>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BusinessPlaceCntryInfo>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BusinessPlaceCntryInfo>
public int hashCode()
hashCode
in class VdmObject<BusinessPlaceCntryInfo>
Copyright © 2021 SAP SE. All rights reserved.