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