public class BusPartPaymentParameters extends VdmEntity<BusPartPaymentParameters>
Original entity name from the Odata EDM: BusPartPaymentParameters
Modifier and Type | Class and Description |
---|---|
static class |
BusPartPaymentParameters.BusPartPaymentParametersBuilder
Helper class to allow for fluent creation of BusPartPaymentParameters instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<BusPartPaymentParameters> |
ALL_FIELDS
Selector for all available fields of BusPartPaymentParameters.
|
static SimpleProperty.String<BusPartPaymentParameters> |
P_DISPLAY_CURRENCY |
static NavigationProperty.Collection<BusPartPaymentParameters,BusPartPayment> |
TO_SET
Use with available request builders to apply the Set navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
BusPartPaymentParameters() |
BusPartPaymentParameters(String p_DisplayCurrency,
List<BusPartPayment> toSet) |
Modifier and Type | Method and Description |
---|---|
void |
addSet(BusPartPayment... entity)
Adds elements to the list of associated BusPartPayment entities.
|
static BusPartPaymentParameters.BusPartPaymentParametersBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
String |
getP_DisplayCurrency()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
io.vavr.control.Option<List<BusPartPayment>> |
getSetIfPresent()
Retrieval of associated BusPartPayment entities (one to many).
|
Class<BusPartPaymentParameters> |
getType() |
int |
hashCode() |
void |
setP_DisplayCurrency(String p_DisplayCurrency)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setSet(List<BusPartPayment> value)
Overwrites the list of associated BusPartPayment entities for the loaded navigation property Set.
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<BusPartPaymentParameters> ALL_FIELDS
public static final SimpleProperty.String<BusPartPaymentParameters> P_DISPLAY_CURRENCY
public static final NavigationProperty.Collection<BusPartPaymentParameters,BusPartPayment> TO_SET
public BusPartPaymentParameters()
public BusPartPaymentParameters(@Nullable String p_DisplayCurrency, List<BusPartPayment> toSet)
@Nonnull public Class<BusPartPaymentParameters> getType()
getType
in class VdmObject<BusPartPaymentParameters>
public void setP_DisplayCurrency(@Nullable String p_DisplayCurrency)
Original property name from the Odata EDM: P_DisplayCurrency
p_DisplayCurrency
- Currency Keyprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BusPartPaymentParameters>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<BusPartPaymentParameters>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<BusPartPaymentParameters>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<BusPartPaymentParameters>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BusPartPaymentParameters>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<BusPartPaymentParameters>
@Nonnull public io.vavr.control.Option<List<BusPartPayment>> getSetIfPresent()
If the navigation property for an entity BusPartPaymentParameters has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state empty
is
returned.public void setSet(@Nonnull List<BusPartPayment> value)
If the navigation property Set of a queried BusPartPaymentParameters 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.
value
- List of BusPartPayment entities.public void addSet(BusPartPayment... entity)
If the navigation property Set of a queried BusPartPaymentParameters 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.
entity
- Array of BusPartPayment entities.@Nonnull public static BusPartPaymentParameters.BusPartPaymentParametersBuilder builder()
@Nullable public String getP_DisplayCurrency()
Original property name from the Odata EDM: P_DisplayCurrency
@Nonnull public String toString()
toString
in class VdmObject<BusPartPaymentParameters>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<BusPartPaymentParameters>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<BusPartPaymentParameters>
public int hashCode()
hashCode
in class VdmEntity<BusPartPaymentParameters>
public String getOdataType()
getOdataType
in class VdmObject<BusPartPaymentParameters>
Copyright © 2021 SAP SE. All rights reserved.