Class FixedAssetAcquisitionLedger
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FixedAssetAcquisitionLedger_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FixedAssetAcquisitionLedger instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<FixedAssetAcquisitionLedger>Selector for all available fields of FixedAssetAcquisitionLedger.static final SimpleProperty.Guid<FixedAssetAcquisitionLedger>static final SimpleProperty.String<FixedAssetAcquisitionLedger>static final SimpleProperty.String<FixedAssetAcquisitionLedger>Use with available request builders to apply the _FixedAssetPosting navigation property to query operations.Use with available request builders to apply the _FixedAssetPostingValuation 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
ConstructorsConstructorDescriptionFixedAssetAcquisitionLedger(UUID fixedAssetPostingUUID, String referenceDocumentItem, String ledger, FixedAssetAcquisition to_FixedAssetPosting, List<FixedAssetAcqnValuation> to_FixedAssetPostingValuation) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated FixedAssetAcqnValuation entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<FixedAssetAcquisition>Retrieval of associated FixedAssetAcquisition entity (one to one).(Key Field) Constraints: Not nullableio.vavr.control.Option<List<FixedAssetAcqnValuation>>Retrieval of associated FixedAssetAcqnValuation entities (one to many).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 6getType()inthashCode()voidOverwrites the associated FixedAssetAcquisition entity for the loaded navigation property _FixedAssetPosting.voidsetFixedAssetPostingUUID(UUID fixedAssetPostingUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated FixedAssetAcqnValuation entities for the loaded navigation property _FixedAssetPostingValuation.void(Key Field) Constraints: Not nullable, Maximum length: 2voidsetReferenceDocumentItem(String referenceDocumentItem) (Key Field) Constraints: Not nullable, Maximum length: 6toString()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 FixedAssetAcquisitionLedger. -
FIXED_ASSET_POSTING_UUID
-
REFERENCE_DOCUMENT_ITEM
-
LEDGER
-
TO__FIXED_ASSET_POSTING
public static final NavigationProperty.Single<FixedAssetAcquisitionLedger,FixedAssetAcquisition> TO__FIXED_ASSET_POSTINGUse with available request builders to apply the _FixedAssetPosting navigation property to query operations. -
TO__FIXED_ASSET_POSTING_VALUATION
public static final NavigationProperty.Collection<FixedAssetAcquisitionLedger,FixedAssetAcqnValuation> TO__FIXED_ASSET_POSTING_VALUATIONUse with available request builders to apply the _FixedAssetPostingValuation navigation property to query operations.
-
-
Constructor Details
-
FixedAssetAcquisitionLedger
public FixedAssetAcquisitionLedger() -
FixedAssetAcquisitionLedger
public FixedAssetAcquisitionLedger(@Nullable UUID fixedAssetPostingUUID, @Nullable String referenceDocumentItem, @Nullable String ledger, @Nullable FixedAssetAcquisition to_FixedAssetPosting, List<FixedAssetAcqnValuation> to_FixedAssetPostingValuation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FixedAssetAcquisitionLedger>
-
setFixedAssetPostingUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: FixedAssetPostingUUID
- Parameters:
fixedAssetPostingUUID- Fixed Asset Posting: UUID
-
setReferenceDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ReferenceDocumentItem
- Parameters:
referenceDocumentItem- Reference Document Line Item
-
setLedger
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Parameters:
ledger- Ledger in General Ledger Accounting
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FixedAssetAcquisitionLedger>
-
getKey
- Overrides:
getKeyin classVdmObject<FixedAssetAcquisitionLedger>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FixedAssetAcquisitionLedger>
-
fromMap
- Overrides:
fromMapin classVdmObject<FixedAssetAcquisitionLedger>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FixedAssetAcquisitionLedger>
-
getFixedAssetPostingIfPresent
Retrieval of associated FixedAssetAcquisition entity (one to one). This corresponds to the OData navigation property _FixedAssetPosting.If the navigation property for an entity FixedAssetAcquisitionLedger 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 _FixedAssetPosting is already loaded, the result will
contain the FixedAssetAcquisition entity. If not, an
Optionwith result stateemptyis returned.
-
setFixedAssetPosting
Overwrites the associated FixedAssetAcquisition entity for the loaded navigation property _FixedAssetPosting.- Parameters:
value- New FixedAssetAcquisition entity.
-
getFixedAssetPostingValuationIfPresent
@Nonnull public io.vavr.control.Option<List<FixedAssetAcqnValuation>> getFixedAssetPostingValuationIfPresent()Retrieval of associated FixedAssetAcqnValuation entities (one to many). This corresponds to the OData navigation property _FixedAssetPostingValuation.If the navigation property for an entity FixedAssetAcquisitionLedger 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 _FixedAssetPostingValuation is already loaded, the
result will contain the FixedAssetAcqnValuation entities. If not, an
Optionwith result stateemptyis returned.
-
setFixedAssetPostingValuation
Overwrites the list of associated FixedAssetAcqnValuation entities for the loaded navigation property _FixedAssetPostingValuation.If the navigation property _FixedAssetPostingValuation of a queried FixedAssetAcquisitionLedger 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 FixedAssetAcqnValuation entities.
-
addFixedAssetPostingValuation
Adds elements to the list of associated FixedAssetAcqnValuation entities. This corresponds to the OData navigation property _FixedAssetPostingValuation.If the navigation property _FixedAssetPostingValuation of a queried FixedAssetAcquisitionLedger 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 FixedAssetAcqnValuation entities.
-
builder
-
getFixedAssetPostingUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: FixedAssetPostingUUID
- Returns:
- Fixed Asset Posting: UUID
-
getReferenceDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ReferenceDocumentItem
- Returns:
- Reference Document Line Item
-
getLedger
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Returns:
- Ledger in General Ledger Accounting
-
toString
- Overrides:
toStringin classVdmObject<FixedAssetAcquisitionLedger>
-
equals
- Overrides:
equalsin classVdmEntity<FixedAssetAcquisitionLedger>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FixedAssetAcquisitionLedger>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FixedAssetAcquisitionLedger>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FixedAssetAcquisitionLedger>
-