public class BusPartPaymentItemParameters extends VdmEntity<BusPartPaymentItemParameters>
Original entity name from the Odata EDM: BusPartPaymentItemParameters
Modifier and Type | Class and Description |
---|---|
static class |
BusPartPaymentItemParameters.BusPartPaymentItemParametersBuilder
Helper class to allow for fluent creation of BusPartPaymentItemParameters instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<BusPartPaymentItemParameters> |
ALL_FIELDS
Selector for all available fields of BusPartPaymentItemParameters.
|
static SimpleProperty.String<BusPartPaymentItemParameters> |
P_DISPLAY_CURRENCY |
static NavigationProperty.Collection<BusPartPaymentItemParameters,BusPartPaymentItem> |
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 |
---|
BusPartPaymentItemParameters() |
BusPartPaymentItemParameters(String p_DisplayCurrency,
List<BusPartPaymentItem> toSet) |
Modifier and Type | Method and Description |
---|---|
void |
addSet(BusPartPaymentItem... entity)
Adds elements to the list of associated BusPartPaymentItem entities.
|
static BusPartPaymentItemParameters.BusPartPaymentItemParametersBuilder |
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<BusPartPaymentItem>> |
getSetIfPresent()
Retrieval of associated BusPartPaymentItem entities (one to many).
|
Class<BusPartPaymentItemParameters> |
getType() |
int |
hashCode() |
void |
setP_DisplayCurrency(String p_DisplayCurrency)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setSet(List<BusPartPaymentItem> value)
Overwrites the list of associated BusPartPaymentItem 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<BusPartPaymentItemParameters> ALL_FIELDS
public static final SimpleProperty.String<BusPartPaymentItemParameters> P_DISPLAY_CURRENCY
public static final NavigationProperty.Collection<BusPartPaymentItemParameters,BusPartPaymentItem> TO_SET
public BusPartPaymentItemParameters()
public BusPartPaymentItemParameters(@Nullable String p_DisplayCurrency, List<BusPartPaymentItem> toSet)
@Nonnull public Class<BusPartPaymentItemParameters> getType()
getType
in class VdmObject<BusPartPaymentItemParameters>
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<BusPartPaymentItemParameters>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<BusPartPaymentItemParameters>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<BusPartPaymentItemParameters>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<BusPartPaymentItemParameters>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BusPartPaymentItemParameters>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<BusPartPaymentItemParameters>
@Nonnull public io.vavr.control.Option<List<BusPartPaymentItem>> getSetIfPresent()
If the navigation property for an entity BusPartPaymentItemParameters 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<BusPartPaymentItem> value)
If the navigation property Set of a queried BusPartPaymentItemParameters 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 BusPartPaymentItem entities.public void addSet(BusPartPaymentItem... entity)
If the navigation property Set of a queried BusPartPaymentItemParameters 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 BusPartPaymentItem entities.@Nonnull public static BusPartPaymentItemParameters.BusPartPaymentItemParametersBuilder builder()
@Nullable public String getP_DisplayCurrency()
Original property name from the Odata EDM: P_DisplayCurrency
@Nonnull public String toString()
toString
in class VdmObject<BusPartPaymentItemParameters>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<BusPartPaymentItemParameters>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<BusPartPaymentItemParameters>
public int hashCode()
hashCode
in class VdmEntity<BusPartPaymentItemParameters>
public String getOdataType()
getOdataType
in class VdmObject<BusPartPaymentItemParameters>
Copyright © 2021 SAP SE. All rights reserved.