Class BusPartInvoiceParameters
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: BusPartInvoiceParameters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of BusPartInvoiceParameters instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<BusPartInvoiceParameters>Selector for all available fields of BusPartInvoiceParameters.static final SimpleProperty.String<BusPartInvoiceParameters>Use with available request builders to apply the Set 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
ConstructorsConstructorDescriptionBusPartInvoiceParameters(String p_DisplayCurrency, List<BusPartInvoice> toSet) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSet(BusPartInvoice... entity) Adds elements to the list of associated BusPartInvoice entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<List<BusPartInvoice>>Retrieval of associated BusPartInvoice entities (one to many).getType()inthashCode()voidsetP_DisplayCurrency(String p_DisplayCurrency) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetSet(List<BusPartInvoice> value) Overwrites the list of associated BusPartInvoice entities for the loaded navigation property Set.toString()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 BusPartInvoiceParameters. -
P_DISPLAY_CURRENCY
-
TO_SET
Use with available request builders to apply the Set navigation property to query operations.
-
-
Constructor Details
-
BusPartInvoiceParameters
public BusPartInvoiceParameters() -
BusPartInvoiceParameters
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BusPartInvoiceParameters>
-
setP_DisplayCurrency
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: P_DisplayCurrency
- Parameters:
p_DisplayCurrency- Currency Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BusPartInvoiceParameters>
-
getKey
- Overrides:
getKeyin classVdmObject<BusPartInvoiceParameters>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BusPartInvoiceParameters>
-
fromMap
- Overrides:
fromMapin classVdmObject<BusPartInvoiceParameters>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BusPartInvoiceParameters>
-
getSetIfPresent
Retrieval of associated BusPartInvoice entities (one to many). This corresponds to the OData navigation property Set.If the navigation property for an entity BusPartInvoiceParameters 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 Set is already loaded, the result will contain the
BusPartInvoice entities. If not, an
Optionwith result stateemptyis returned.
-
setSet
Overwrites the list of associated BusPartInvoice entities for the loaded navigation property Set.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.
- Parameters:
value- List of BusPartInvoice entities.
-
addSet
Adds elements to the list of associated BusPartInvoice entities. This corresponds to the OData navigation property Set.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.
- Parameters:
entity- Array of BusPartInvoice entities.
-
builder
-
getP_DisplayCurrency
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: P_DisplayCurrency
- Returns:
- Currency Key
-
toString
- Overrides:
toStringin classVdmObject<BusPartInvoiceParameters>
-
equals
- Overrides:
equalsin classVdmEntity<BusPartInvoiceParameters>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BusPartInvoiceParameters>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BusPartInvoiceParameters>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<BusPartInvoiceParameters>
-