Class SettlmtDocType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SettlmtDocTypeType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SettlmtDocType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SettlmtDocType>Selector for all available fields of SettlmtDocType.static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>static final SimpleProperty.String<SettlmtDocType>Use with available request builders to apply the _SetlMgmtHdrTxtObjTypeAssgmt navigation property to query operations.Use with available request builders to apply the _SetlMgmtItmTxtObjTypeAssgmt navigation property to query operations.static final NavigationProperty.Single<SettlmtDocType,SettlmtDocType> Use with available request builders to apply the _SettlmtDocTypeOfCollection 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
ConstructorsConstructorDescriptionSettlmtDocType(String settlmtDocType, String settlmtDocCat, String settlmtCat, String settlmtBusProcVar, String settlmtMgmtPrcgApplCat, String settlmtTxCodeTxTypeChkCat, String journalEntryType, String settlmtDocTypeOfCollection, List<SetlMgmtHdrTxtObjTypeAssgmt> to_SetlMgmtHdrTxtObjTypeAssgmt, List<SetlMgmtItmTxtObjTypeAssgmt> to_SetlMgmtItmTxtObjTypeAssgmt, SettlmtDocType to_SettlmtDocTypeOfCollection) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities.voidAdds elements to the list of associated SetlMgmtItmTxtObjTypeAssgmt entities.builder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Not nullable, Maximum length: 2protected ODataEntityKeygetKey()io.vavr.control.Option<List<SetlMgmtHdrTxtObjTypeAssgmt>>Retrieval of associated SetlMgmtHdrTxtObjTypeAssgmt entities (one to many).io.vavr.control.Option<List<SetlMgmtItmTxtObjTypeAssgmt>>Retrieval of associated SetlMgmtItmTxtObjTypeAssgmt entities (one to many).Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<SettlmtDocType>Retrieval of associated SettlmtDocType entity (one to one).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidsetJournalEntryType(String journalEntryType) Constraints: Not nullable, Maximum length: 2voidOverwrites the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities for the loaded navigation property _SetlMgmtHdrTxtObjTypeAssgmt.voidOverwrites the list of associated SetlMgmtItmTxtObjTypeAssgmt entities for the loaded navigation property _SetlMgmtItmTxtObjTypeAssgmt.voidsetSettlmtBusProcVar(String settlmtBusProcVar) Constraints: Not nullable, Maximum length: 4voidsetSettlmtCat(String settlmtCat) Constraints: Not nullable, Maximum length: 1voidsetSettlmtDocCat(String settlmtDocCat) Constraints: Not nullable, Maximum length: 2voidsetSettlmtDocType(String settlmtDocType) (Key Field) Constraints: Not nullable, Maximum length: 4voidOverwrites the associated SettlmtDocType entity for the loaded navigation property _SettlmtDocTypeOfCollection.voidsetSettlmtDocTypeOfCollection(String settlmtDocTypeOfCollection) Constraints: Not nullable, Maximum length: 4voidsetSettlmtMgmtPrcgApplCat(String settlmtMgmtPrcgApplCat) Constraints: Not nullable, Maximum length: 2voidsetSettlmtTxCodeTxTypeChkCat(String settlmtTxCodeTxTypeChkCat) Constraints: Not nullable, Maximum length: 1toString()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 SettlmtDocType. -
SETTLMT_DOC_TYPE
-
SETTLMT_DOC_CAT
-
SETTLMT_CAT
-
SETTLMT_BUS_PROC_VAR
-
SETTLMT_MGMT_PRCG_APPL_CAT
-
SETTLMT_TX_CODE_TX_TYPE_CHK_CAT
-
JOURNAL_ENTRY_TYPE
-
SETTLMT_DOC_TYPE_OF_COLLECTION
-
TO__SETL_MGMT_HDR_TXT_OBJ_TYPE_ASSGMT
public static final NavigationProperty.Collection<SettlmtDocType,SetlMgmtHdrTxtObjTypeAssgmt> TO__SETL_MGMT_HDR_TXT_OBJ_TYPE_ASSGMTUse with available request builders to apply the _SetlMgmtHdrTxtObjTypeAssgmt navigation property to query operations. -
TO__SETL_MGMT_ITM_TXT_OBJ_TYPE_ASSGMT
public static final NavigationProperty.Collection<SettlmtDocType,SetlMgmtItmTxtObjTypeAssgmt> TO__SETL_MGMT_ITM_TXT_OBJ_TYPE_ASSGMTUse with available request builders to apply the _SetlMgmtItmTxtObjTypeAssgmt navigation property to query operations. -
TO__SETTLMT_DOC_TYPE_OF_COLLECTION
public static final NavigationProperty.Single<SettlmtDocType,SettlmtDocType> TO__SETTLMT_DOC_TYPE_OF_COLLECTIONUse with available request builders to apply the _SettlmtDocTypeOfCollection navigation property to query operations.
-
-
Constructor Details
-
SettlmtDocType
public SettlmtDocType() -
SettlmtDocType
public SettlmtDocType(@Nullable String settlmtDocType, @Nullable String settlmtDocCat, @Nullable String settlmtCat, @Nullable String settlmtBusProcVar, @Nullable String settlmtMgmtPrcgApplCat, @Nullable String settlmtTxCodeTxTypeChkCat, @Nullable String journalEntryType, @Nullable String settlmtDocTypeOfCollection, List<SetlMgmtHdrTxtObjTypeAssgmt> to_SetlMgmtHdrTxtObjTypeAssgmt, List<SetlMgmtItmTxtObjTypeAssgmt> to_SetlMgmtItmTxtObjTypeAssgmt, @Nullable SettlmtDocType to_SettlmtDocTypeOfCollection)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SettlmtDocType>
-
setSettlmtDocType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SettlmtDocType
- Parameters:
settlmtDocType- Settlement Document Type
-
setSettlmtDocCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SettlmtDocCat
- Parameters:
settlmtDocCat- Settlement Document Category
-
setSettlmtCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SettlmtCat
- Parameters:
settlmtCat- Settlement Category
-
setSettlmtBusProcVar
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SettlmtBusProcVar
- Parameters:
settlmtBusProcVar- Settlement Management Process Category
-
setSettlmtMgmtPrcgApplCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SettlmtMgmtPrcgApplCat
- Parameters:
settlmtMgmtPrcgApplCat- Application for Price Determination
-
setSettlmtTxCodeTxTypeChkCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SettlmtTxCodeTxTypeChkCat
- Parameters:
settlmtTxCodeTxTypeChkCat- Control of Tax Type Check for Tax Codes
-
setJournalEntryType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: JournalEntryType
- Parameters:
journalEntryType- Journal Entry Type for Settlement Management Document
-
setSettlmtDocTypeOfCollection
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SettlmtDocTypeOfCollection
- Parameters:
settlmtDocTypeOfCollection- Settlement Doc. Type for Collective Settlement
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SettlmtDocType>
-
getKey
- Overrides:
getKeyin classVdmObject<SettlmtDocType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SettlmtDocType>
-
fromMap
- Overrides:
fromMapin classVdmObject<SettlmtDocType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SettlmtDocType>
-
getSetlMgmtHdrTxtObjTypeAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<SetlMgmtHdrTxtObjTypeAssgmt>> getSetlMgmtHdrTxtObjTypeAssgmtIfPresent()Retrieval of associated SetlMgmtHdrTxtObjTypeAssgmt entities (one to many). This corresponds to the OData navigation property _SetlMgmtHdrTxtObjTypeAssgmt.If the navigation property for an entity SettlmtDocType 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 _SetlMgmtHdrTxtObjTypeAssgmt is already loaded, the
result will contain the SetlMgmtHdrTxtObjTypeAssgmt entities. If not, an
Optionwith result stateemptyis returned.
-
setSetlMgmtHdrTxtObjTypeAssgmt
Overwrites the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities for the loaded navigation property _SetlMgmtHdrTxtObjTypeAssgmt.If the navigation property _SetlMgmtHdrTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtHdrTxtObjTypeAssgmt entities.
-
addSetlMgmtHdrTxtObjTypeAssgmt
Adds elements to the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities. This corresponds to the OData navigation property _SetlMgmtHdrTxtObjTypeAssgmt.If the navigation property _SetlMgmtHdrTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtHdrTxtObjTypeAssgmt entities.
-
getSetlMgmtItmTxtObjTypeAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<SetlMgmtItmTxtObjTypeAssgmt>> getSetlMgmtItmTxtObjTypeAssgmtIfPresent()Retrieval of associated SetlMgmtItmTxtObjTypeAssgmt entities (one to many). This corresponds to the OData navigation property _SetlMgmtItmTxtObjTypeAssgmt.If the navigation property for an entity SettlmtDocType 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 _SetlMgmtItmTxtObjTypeAssgmt is already loaded, the
result will contain the SetlMgmtItmTxtObjTypeAssgmt entities. If not, an
Optionwith result stateemptyis returned.
-
setSetlMgmtItmTxtObjTypeAssgmt
Overwrites the list of associated SetlMgmtItmTxtObjTypeAssgmt entities for the loaded navigation property _SetlMgmtItmTxtObjTypeAssgmt.If the navigation property _SetlMgmtItmTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtItmTxtObjTypeAssgmt entities.
-
addSetlMgmtItmTxtObjTypeAssgmt
Adds elements to the list of associated SetlMgmtItmTxtObjTypeAssgmt entities. This corresponds to the OData navigation property _SetlMgmtItmTxtObjTypeAssgmt.If the navigation property _SetlMgmtItmTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtItmTxtObjTypeAssgmt entities.
-
getSettlmtDocTypeOfCollectionIfPresent
Retrieval of associated SettlmtDocType entity (one to one). This corresponds to the OData navigation property _SettlmtDocTypeOfCollection.If the navigation property for an entity SettlmtDocType 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 _SettlmtDocTypeOfCollection is already loaded, the
result will contain the SettlmtDocType entity. If not, an
Optionwith result stateemptyis returned.
-
setSettlmtDocTypeOfCollection
Overwrites the associated SettlmtDocType entity for the loaded navigation property _SettlmtDocTypeOfCollection.- Parameters:
value- New SettlmtDocType entity.
-
builder
-
getSettlmtDocType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SettlmtDocType
- Returns:
- Settlement Document Type
-
getSettlmtDocCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SettlmtDocCat
- Returns:
- Settlement Document Category
-
getSettlmtCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SettlmtCat
- Returns:
- Settlement Category
-
getSettlmtBusProcVar
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SettlmtBusProcVar
- Returns:
- Settlement Management Process Category
-
getSettlmtMgmtPrcgApplCat
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SettlmtMgmtPrcgApplCat
- Returns:
- Application for Price Determination
-
getSettlmtTxCodeTxTypeChkCat
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SettlmtTxCodeTxTypeChkCat
- Returns:
- Control of Tax Type Check for Tax Codes
-
getJournalEntryType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: JournalEntryType
- Returns:
- Journal Entry Type for Settlement Management Document
-
getSettlmtDocTypeOfCollection
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SettlmtDocTypeOfCollection
- Returns:
- Settlement Doc. Type for Collective Settlement
-
toString
- Overrides:
toStringin classVdmObject<SettlmtDocType>
-
equals
- Overrides:
equalsin classVdmEntity<SettlmtDocType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SettlmtDocType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SettlmtDocType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SettlmtDocType>
-