Class Bank
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: BankType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Bank instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<Bank,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<Bank>Selector for all available fields of Bank.static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.Boolean<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final SimpleProperty.String<Bank>static final NavigationProperty.Collection<Bank,BankAddress> Use with available request builders to apply the _BankAddress 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
ConstructorsConstructorDescriptionBank()Bank(String bankCountry, String bankInternalID, String bankName, String region, String shortStreetName, String shortCityName, String sWIFTCode, String bankNetworkGrouping, Boolean isMarkedForDeletion, String bank, String bankBranch, String bankCategory, Collection<SAP__Message> _Messages, List<BankAddress> to_BankAddress) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBankAddress(BankAddress... entity) Adds elements to the list of associated BankAddress entities.static Bank.BankBuilderbuilder()protected booleanbooleanprotected voidConstraints: Not nullablegetBank()Constraints: Not nullable, Maximum length: 15io.vavr.control.Option<List<BankAddress>>Retrieval of associated BankAddress entities (one to many).Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 2protected Stringprotected StringConstraints: Not nullableprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 11getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidConstraints: Not nullable, Maximum length: 15voidsetBankAddress(List<BankAddress> value) Overwrites the list of associated BankAddress entities for the loaded navigation property _BankAddress.voidsetBankBranch(String bankBranch) Constraints: Not nullable, Maximum length: 40voidsetBankCategory(String bankCategory) Constraints: Not nullable, Maximum length: 1voidsetBankCountry(String bankCountry) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetBankInternalID(String bankInternalID) (Key Field) Constraints: Not nullable, Maximum length: 15voidsetBankName(String bankName) Constraints: Not nullable, Maximum length: 60voidsetBankNetworkGrouping(String bankNetworkGrouping) Constraints: Not nullable, Maximum length: 2voidsetIsMarkedForDeletion(Boolean isMarkedForDeletion) Constraints: Not nullablevoidConstraints: Not nullable, Maximum length: 3voidsetShortCityName(String shortCityName) Constraints: Not nullable, Maximum length: 35voidsetShortStreetName(String shortStreetName) Constraints: Not nullable, Maximum length: 35voidsetSWIFTCode(String sWIFTCode) Constraints: Not nullable, Maximum length: 11toString()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 Bank. -
BANK_COUNTRY
-
BANK_INTERNAL_ID
-
BANK_NAME
-
REGION
-
SHORT_STREET_NAME
-
SHORT_CITY_NAME
-
SWIFT_CODE
-
BANK_NETWORK_GROUPING
-
IS_MARKED_FOR_DELETION
-
BANK
-
BANK_BRANCH
-
BANK_CATEGORY
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__BANK_ADDRESS
Use with available request builders to apply the _BankAddress navigation property to query operations.
-
-
Constructor Details
-
Bank
public Bank() -
Bank
public Bank(@Nullable String bankCountry, @Nullable String bankInternalID, @Nullable String bankName, @Nullable String region, @Nullable String shortStreetName, @Nullable String shortCityName, @Nullable String sWIFTCode, @Nullable String bankNetworkGrouping, @Nullable Boolean isMarkedForDeletion, @Nullable String bank, @Nullable String bankBranch, @Nullable String bankCategory, @Nullable Collection<SAP__Message> _Messages, List<BankAddress> to_BankAddress)
-
-
Method Details
-
getType
-
setBankCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BankCountry
- Parameters:
bankCountry- Country/Region Key of Bank
-
setBankInternalID
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: BankInternalID
- Parameters:
bankInternalID- Bank Keys
-
setBankName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: BankName
- Parameters:
bankName- Name of Financial Institution
-
setRegion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Region
- Parameters:
region- Region (State, Province, County)
-
setShortStreetName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ShortStreetName
- Parameters:
shortStreetName- Street and House Number
-
setShortCityName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ShortCityName
- Parameters:
shortCityName- City
-
setSWIFTCode
Constraints: Not nullable, Maximum length: 11Original property name from the Odata EDM: SWIFTCode
- Parameters:
sWIFTCode- SWIFT/BIC for International Payments
-
setBankNetworkGrouping
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BankNetworkGrouping
- Parameters:
bankNetworkGrouping- Bank group (bank network)
-
setIsMarkedForDeletion
Constraints: Not nullableOriginal property name from the Odata EDM: IsMarkedForDeletion
- Parameters:
isMarkedForDeletion- Deletion Indicator
-
setBank
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Bank
- Parameters:
bank- Bank Number
-
setBankBranch
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BankBranch
- Parameters:
bankBranch- Bank Branch
-
setBankCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BankCategory
- Parameters:
bankCategory- Internal bank category
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Bank>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Bank>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Bank>
-
getBankAddressIfPresent
Retrieval of associated BankAddress entities (one to many). This corresponds to the OData navigation property _BankAddress.If the navigation property for an entity Bank 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 _BankAddress is already loaded, the result will contain
the BankAddress entities. If not, an
Optionwith result stateemptyis returned.
-
setBankAddress
Overwrites the list of associated BankAddress entities for the loaded navigation property _BankAddress.If the navigation property _BankAddress of a queried Bank is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of BankAddress entities.
-
addBankAddress
Adds elements to the list of associated BankAddress entities. This corresponds to the OData navigation property _BankAddress.If the navigation property _BankAddress of a queried Bank is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of BankAddress entities.
-
builder
-
getBankCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BankCountry
- Returns:
- Country/Region Key of Bank
-
getBankInternalID
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: BankInternalID
- Returns:
- Bank Keys
-
getBankName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: BankName
- Returns:
- Name of Financial Institution
-
getRegion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Region
- Returns:
- Region (State, Province, County)
-
getShortStreetName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ShortStreetName
- Returns:
- Street and House Number
-
getShortCityName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ShortCityName
- Returns:
- City
-
getSWIFTCode
Constraints: Not nullable, Maximum length: 11Original property name from the Odata EDM: SWIFTCode
- Returns:
- SWIFT/BIC for International Payments
-
getBankNetworkGrouping
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BankNetworkGrouping
- Returns:
- Bank group (bank network)
-
getIsMarkedForDeletion
Constraints: Not nullableOriginal property name from the Odata EDM: IsMarkedForDeletion
- Returns:
- Deletion Indicator
-
getBank
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Bank
- Returns:
- Bank Number
-
getBankBranch
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BankBranch
- Returns:
- Bank Branch
-
getBankCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BankCategory
- Returns:
- Internal bank category
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<Bank>
-