public class SettlmtDocType extends VdmEntity<SettlmtDocType>
Original entity name from the Odata EDM: SettlmtDocTypeType
Modifier and Type | Class and Description |
---|---|
static class |
SettlmtDocType.SettlmtDocTypeBuilder
Helper class to allow for fluent creation of SettlmtDocType instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
SettlmtDocType() |
SettlmtDocType(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) |
Modifier and Type | Method and Description |
---|---|
void |
addSetlMgmtHdrTxtObjTypeAssgmt(SetlMgmtHdrTxtObjTypeAssgmt... entity)
Adds elements to the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities.
|
void |
addSetlMgmtItmTxtObjTypeAssgmt(SetlMgmtItmTxtObjTypeAssgmt... entity)
Adds elements to the list of associated SetlMgmtItmTxtObjTypeAssgmt entities.
|
static SettlmtDocType.SettlmtDocTypeBuilder |
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.
|
String |
getJournalEntryType()
Constraints: Not nullable, Maximum length: 2
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
io.vavr.control.Option<List<SetlMgmtHdrTxtObjTypeAssgmt>> |
getSetlMgmtHdrTxtObjTypeAssgmtIfPresent()
Retrieval of associated SetlMgmtHdrTxtObjTypeAssgmt entities (one to many).
|
io.vavr.control.Option<List<SetlMgmtItmTxtObjTypeAssgmt>> |
getSetlMgmtItmTxtObjTypeAssgmtIfPresent()
Retrieval of associated SetlMgmtItmTxtObjTypeAssgmt entities (one to many).
|
String |
getSettlmtBusProcVar()
Constraints: Not nullable, Maximum length: 4
|
String |
getSettlmtCat()
Constraints: Not nullable, Maximum length: 1
|
String |
getSettlmtDocCat()
Constraints: Not nullable, Maximum length: 2
|
String |
getSettlmtDocType()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSettlmtDocTypeOfCollection()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<SettlmtDocType> |
getSettlmtDocTypeOfCollectionIfPresent()
Retrieval of associated SettlmtDocType entity (one to one).
|
String |
getSettlmtMgmtPrcgApplCat()
Constraints: Not nullable, Maximum length: 2
|
String |
getSettlmtTxCodeTxTypeChkCat()
Constraints: Not nullable, Maximum length: 1
|
Class<SettlmtDocType> |
getType() |
int |
hashCode() |
void |
setJournalEntryType(String journalEntryType)
Constraints: Not nullable, Maximum length: 2
|
void |
setSetlMgmtHdrTxtObjTypeAssgmt(List<SetlMgmtHdrTxtObjTypeAssgmt> value)
Overwrites the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities for the loaded navigation property
_SetlMgmtHdrTxtObjTypeAssgmt.
|
void |
setSetlMgmtItmTxtObjTypeAssgmt(List<SetlMgmtItmTxtObjTypeAssgmt> value)
Overwrites the list of associated SetlMgmtItmTxtObjTypeAssgmt entities for the loaded navigation property
_SetlMgmtItmTxtObjTypeAssgmt.
|
void |
setSettlmtBusProcVar(String settlmtBusProcVar)
Constraints: Not nullable, Maximum length: 4
|
void |
setSettlmtCat(String settlmtCat)
Constraints: Not nullable, Maximum length: 1
|
void |
setSettlmtDocCat(String settlmtDocCat)
Constraints: Not nullable, Maximum length: 2
|
void |
setSettlmtDocType(String settlmtDocType)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSettlmtDocTypeOfCollection(SettlmtDocType value)
Overwrites the associated SettlmtDocType entity for the loaded navigation property
_SettlmtDocTypeOfCollection.
|
void |
setSettlmtDocTypeOfCollection(String settlmtDocTypeOfCollection)
Constraints: Not nullable, Maximum length: 4
|
void |
setSettlmtMgmtPrcgApplCat(String settlmtMgmtPrcgApplCat)
Constraints: Not nullable, Maximum length: 2
|
void |
setSettlmtTxCodeTxTypeChkCat(String settlmtTxCodeTxTypeChkCat)
Constraints: Not nullable, Maximum length: 1
|
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<SettlmtDocType> ALL_FIELDS
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_DOC_TYPE
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_DOC_CAT
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_CAT
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_BUS_PROC_VAR
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_MGMT_PRCG_APPL_CAT
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_TX_CODE_TX_TYPE_CHK_CAT
public static final SimpleProperty.String<SettlmtDocType> JOURNAL_ENTRY_TYPE
public static final SimpleProperty.String<SettlmtDocType> SETTLMT_DOC_TYPE_OF_COLLECTION
public static final NavigationProperty.Collection<SettlmtDocType,SetlMgmtHdrTxtObjTypeAssgmt> TO__SETL_MGMT_HDR_TXT_OBJ_TYPE_ASSGMT
public static final NavigationProperty.Collection<SettlmtDocType,SetlMgmtItmTxtObjTypeAssgmt> TO__SETL_MGMT_ITM_TXT_OBJ_TYPE_ASSGMT
public static final NavigationProperty.Single<SettlmtDocType,SettlmtDocType> TO__SETTLMT_DOC_TYPE_OF_COLLECTION
public 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)
@Nonnull public Class<SettlmtDocType> getType()
getType
in class VdmObject<SettlmtDocType>
public void setSettlmtDocType(@Nullable String settlmtDocType)
Original property name from the Odata EDM: SettlmtDocType
settlmtDocType
- Settlement Document Typepublic void setSettlmtDocCat(@Nullable String settlmtDocCat)
Original property name from the Odata EDM: SettlmtDocCat
settlmtDocCat
- Settlement Document Categorypublic void setSettlmtCat(@Nullable String settlmtCat)
Original property name from the Odata EDM: SettlmtCat
settlmtCat
- Settlement Categorypublic void setSettlmtBusProcVar(@Nullable String settlmtBusProcVar)
Original property name from the Odata EDM: SettlmtBusProcVar
settlmtBusProcVar
- Settlement Management Process Categorypublic void setSettlmtMgmtPrcgApplCat(@Nullable String settlmtMgmtPrcgApplCat)
Original property name from the Odata EDM: SettlmtMgmtPrcgApplCat
settlmtMgmtPrcgApplCat
- Application for Price Determinationpublic void setSettlmtTxCodeTxTypeChkCat(@Nullable String settlmtTxCodeTxTypeChkCat)
Original property name from the Odata EDM: SettlmtTxCodeTxTypeChkCat
settlmtTxCodeTxTypeChkCat
- Control of Tax Type Check for Tax Codespublic void setJournalEntryType(@Nullable String journalEntryType)
Original property name from the Odata EDM: JournalEntryType
journalEntryType
- Journal Entry Type for Settlement Management Documentpublic void setSettlmtDocTypeOfCollection(@Nullable String settlmtDocTypeOfCollection)
Original property name from the Odata EDM: SettlmtDocTypeOfCollection
settlmtDocTypeOfCollection
- Settlement Doc. Type for Collective Settlementprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SettlmtDocType>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<SettlmtDocType>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<SettlmtDocType>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<SettlmtDocType>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SettlmtDocType>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<SettlmtDocType>
@Nonnull public io.vavr.control.Option<List<SetlMgmtHdrTxtObjTypeAssgmt>> getSetlMgmtHdrTxtObjTypeAssgmtIfPresent()
If the navigation property for an entity SettlmtDocType 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 setSetlMgmtHdrTxtObjTypeAssgmt(@Nonnull List<SetlMgmtHdrTxtObjTypeAssgmt> value)
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.
value
- List of SetlMgmtHdrTxtObjTypeAssgmt entities.public void addSetlMgmtHdrTxtObjTypeAssgmt(SetlMgmtHdrTxtObjTypeAssgmt... entity)
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.
entity
- Array of SetlMgmtHdrTxtObjTypeAssgmt entities.@Nonnull public io.vavr.control.Option<List<SetlMgmtItmTxtObjTypeAssgmt>> getSetlMgmtItmTxtObjTypeAssgmtIfPresent()
If the navigation property for an entity SettlmtDocType 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 setSetlMgmtItmTxtObjTypeAssgmt(@Nonnull List<SetlMgmtItmTxtObjTypeAssgmt> value)
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.
value
- List of SetlMgmtItmTxtObjTypeAssgmt entities.public void addSetlMgmtItmTxtObjTypeAssgmt(SetlMgmtItmTxtObjTypeAssgmt... entity)
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.
entity
- Array of SetlMgmtItmTxtObjTypeAssgmt entities.@Nonnull public io.vavr.control.Option<SettlmtDocType> getSettlmtDocTypeOfCollectionIfPresent()
If the navigation property for an entity SettlmtDocType 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 setSettlmtDocTypeOfCollection(SettlmtDocType value)
value
- New SettlmtDocType entity.@Nonnull public static SettlmtDocType.SettlmtDocTypeBuilder builder()
@Nullable public String getSettlmtDocType()
Original property name from the Odata EDM: SettlmtDocType
@Nullable public String getSettlmtDocCat()
Original property name from the Odata EDM: SettlmtDocCat
@Nullable public String getSettlmtCat()
Original property name from the Odata EDM: SettlmtCat
@Nullable public String getSettlmtBusProcVar()
Original property name from the Odata EDM: SettlmtBusProcVar
@Nullable public String getSettlmtMgmtPrcgApplCat()
Original property name from the Odata EDM: SettlmtMgmtPrcgApplCat
@Nullable public String getSettlmtTxCodeTxTypeChkCat()
Original property name from the Odata EDM: SettlmtTxCodeTxTypeChkCat
@Nullable public String getJournalEntryType()
Original property name from the Odata EDM: JournalEntryType
@Nullable public String getSettlmtDocTypeOfCollection()
Original property name from the Odata EDM: SettlmtDocTypeOfCollection
@Nonnull public String toString()
toString
in class VdmObject<SettlmtDocType>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<SettlmtDocType>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<SettlmtDocType>
public int hashCode()
hashCode
in class VdmEntity<SettlmtDocType>
public String getOdataType()
getOdataType
in class VdmObject<SettlmtDocType>
Copyright © 2021 SAP SE. All rights reserved.