public class BankDetail extends VdmEntity<BankDetail>
Original entity name from the Odata EDM: A_BankDetailType
Modifier and Type | Class and Description |
---|---|
static class |
BankDetail.BankDetailBuilder |
Modifier and Type | Field and Description |
---|---|
static BankDetailSelectable |
ALL_FIELDS
Selector for all available fields of BankDetail.
|
static BankDetailField<String> |
BANK_COUNTRY
Use with available fluent helpers to apply the BankCountry field to query operations.
|
static BankDetailField<String> |
BANK_GROUP
Use with available fluent helpers to apply the BankGroup field to query operations.
|
static BankDetailField<String> |
BANK_INTERNAL_ID
Use with available fluent helpers to apply the BankInternalID field to query operations.
|
static BankDetailField<String> |
BANK_NAME
Use with available fluent helpers to apply the BankName field to query operations.
|
static BankDetailField<String> |
BANK_NUMBER
Use with available fluent helpers to apply the BankNumber field to query operations.
|
static BankDetailField<String> |
BRANCH
Use with available fluent helpers to apply the Branch field to query operations.
|
static BankDetailField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static BankDetailField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static BankDetailField<String> |
STREET_NAME
Use with available fluent helpers to apply the StreetName field to query operations.
|
static BankDetailField<String> |
SWIFT_CODE
Use with available fluent helpers to apply the SWIFTCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BankDetail() |
BankDetail(String bankCountry,
String bankInternalID,
String bankName,
String sWIFTCode,
String bankGroup,
String bankNumber,
String region,
String streetName,
String cityName,
String branch) |
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 BankDetail.BankDetailBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BankDetailField<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 |
getBankCountry()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getBankGroup()
Constraints: Not nullable, Maximum length: 2
|
String |
getBankInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 15
|
String |
getBankName()
Constraints: Not nullable, Maximum length: 60
|
String |
getBankNumber()
Constraints: Not nullable, Maximum length: 15
|
String |
getBranch()
Constraints: Not nullable, Maximum length: 40
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 35
|
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.
|
protected Map<String,Object> |
getKey() |
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getStreetName()
Constraints: Not nullable, Maximum length: 35
|
String |
getSWIFTCode()
Constraints: Not nullable, Maximum length: 11
|
Class<BankDetail> |
getType() |
int |
hashCode() |
void |
setBankCountry(String bankCountry)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setBankGroup(String bankGroup)
Constraints: Not nullable, Maximum length: 2
|
void |
setBankInternalID(String bankInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 15
|
void |
setBankName(String bankName)
Constraints: Not nullable, Maximum length: 60
|
void |
setBankNumber(String bankNumber)
Constraints: Not nullable, Maximum length: 15
|
void |
setBranch(String branch)
Constraints: Not nullable, Maximum length: 40
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 35
|
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: 35
|
void |
setSWIFTCode(String sWIFTCode)
Constraints: Not nullable, Maximum length: 11
|
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 BankDetailSelectable ALL_FIELDS
public static final BankDetailField<String> BANK_COUNTRY
public static final BankDetailField<String> BANK_INTERNAL_ID
public static final BankDetailField<String> BANK_NAME
public static final BankDetailField<String> SWIFT_CODE
public static final BankDetailField<String> BANK_GROUP
public static final BankDetailField<String> BANK_NUMBER
public static final BankDetailField<String> REGION
public static final BankDetailField<String> STREET_NAME
public static final BankDetailField<String> CITY_NAME
public static final BankDetailField<String> BRANCH
public BankDetail()
public BankDetail(@Nullable String bankCountry, @Nullable String bankInternalID, @Nullable String bankName, @Nullable String sWIFTCode, @Nullable String bankGroup, @Nullable String bankNumber, @Nullable String region, @Nullable String streetName, @Nullable String cityName, @Nullable String branch)
@Nonnull public Class<BankDetail> getType()
getType
in class VdmObject<BankDetail>
public void setBankCountry(@Nullable String bankCountry)
Original property name from the Odata EDM: BankCountry
bankCountry
- Bank country keypublic void setBankInternalID(@Nullable String bankInternalID)
Original property name from the Odata EDM: BankInternalID
bankInternalID
- Bank Keyspublic void setBankName(@Nullable String bankName)
Original property name from the Odata EDM: BankName
bankName
- Name of Bankpublic void setSWIFTCode(@Nullable String sWIFTCode)
Original property name from the Odata EDM: SWIFTCode
sWIFTCode
- SWIFT/BIC for International Paymentspublic void setBankGroup(@Nullable String bankGroup)
Original property name from the Odata EDM: BankGroup
bankGroup
- Bank group (bank network)public void setBankNumber(@Nullable String bankNumber)
Original property name from the Odata EDM: BankNumber
bankNumber
- Bank Numberpublic void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
region
- Region (State, Province, County)public void setStreetName(@Nullable String streetName)
Original property name from the Odata EDM: StreetName
streetName
- Street and House Numberpublic void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Citypublic void setBranch(@Nullable String branch)
Original property name from the Odata EDM: Branch
branch
- Bank Branchprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BankDetail>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BankDetail>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BankDetail>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BankDetail>
@Nonnull public static <T> BankDetailField<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> BankDetailField<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<BankDetail>
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<BankDetail>
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<BankDetail>
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<BankDetail>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BankDetail.BankDetailBuilder builder()
@Nullable public String getBankCountry()
Original property name from the Odata EDM: BankCountry
@Nullable public String getBankInternalID()
Original property name from the Odata EDM: BankInternalID
@Nullable public String getBankName()
Original property name from the Odata EDM: BankName
@Nullable public String getSWIFTCode()
Original property name from the Odata EDM: SWIFTCode
@Nullable public String getBankGroup()
Original property name from the Odata EDM: BankGroup
@Nullable public String getBankNumber()
Original property name from the Odata EDM: BankNumber
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
@Nullable public String getStreetName()
Original property name from the Odata EDM: StreetName
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getBranch()
Original property name from the Odata EDM: Branch
@Nonnull public String toString()
toString
in class VdmObject<BankDetail>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BankDetail>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BankDetail>
public int hashCode()
hashCode
in class VdmObject<BankDetail>
Copyright © 2021 SAP SE. All rights reserved.