Class ConsolidationGroupStructure
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ConsolidationGroupStructure_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ConsolidationGroupStructure instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ConsolidationGroupStructure>Selector for all available fields of ConsolidationGroupStructure.static final SimpleProperty.String<ConsolidationGroupStructure>static final SimpleProperty.String<ConsolidationGroupStructure>static final SimpleProperty.String<ConsolidationGroupStructure>static final SimpleProperty.String<ConsolidationGroupStructure>static final SimpleProperty.Boolean<ConsolidationGroupStructure>static final SimpleProperty.Boolean<ConsolidationGroupStructure>static final SimpleProperty.String<ConsolidationGroupStructure>static final SimpleProperty.Boolean<ConsolidationGroupStructure>static final SimpleProperty.String<ConsolidationGroupStructure>static final SimpleProperty.String<ConsolidationGroupStructure>Use with available request builders to apply the _CnsldtnGrpStrucMethAssgmt 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
ConstructorsConstructorDescriptionConsolidationGroupStructure(String consolidationGroup, String consolidationUnit, String consolidationVersion, String groupStrucFromFiscalYearPeriod, String groupStrucToFiscalYearPeriod, String firstCnsldtnFiscalYearPeriod, Boolean firstCnsldtnIsAtEndOfPeriod, String divestitureFiscalYearPeriod, Boolean divestitureIsAtBeginOfPeriod, Boolean divestitureIsDueToMerger, Collection<SAP__Message> _Messages, List<CnsldtnGrpStrucMethAssgmt> to_CnsldtnGrpStrucMethAssgmt) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated CnsldtnGrpStrucMethAssgmt entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableio.vavr.control.Option<List<CnsldtnGrpStrucMethAssgmt>>Retrieval of associated CnsldtnGrpStrucMethAssgmt entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullable, Maximum length: 7Constraints: Not nullableConstraints: Not nullableprotected StringConstraints: Not nullable, Maximum length: 7Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 7Constraints: Not nullable, Maximum length: 7protected ODataEntityKeygetKey()getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the list of associated CnsldtnGrpStrucMethAssgmt entities for the loaded navigation property _CnsldtnGrpStrucMethAssgmt.voidsetConsolidationGroup(String consolidationGroup) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetConsolidationUnit(String consolidationUnit) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetConsolidationVersion(String consolidationVersion) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetDivestitureFiscalYearPeriod(String divestitureFiscalYearPeriod) Constraints: Not nullable, Maximum length: 7voidsetDivestitureIsAtBeginOfPeriod(Boolean divestitureIsAtBeginOfPeriod) Constraints: Not nullablevoidsetDivestitureIsDueToMerger(Boolean divestitureIsDueToMerger) Constraints: Not nullablevoidsetFirstCnsldtnFiscalYearPeriod(String firstCnsldtnFiscalYearPeriod) Constraints: Not nullable, Maximum length: 7voidsetFirstCnsldtnIsAtEndOfPeriod(Boolean firstCnsldtnIsAtEndOfPeriod) Constraints: Not nullablevoidsetGroupStrucFromFiscalYearPeriod(String groupStrucFromFiscalYearPeriod) (Key Field) Constraints: Not nullable, Maximum length: 7voidsetGroupStrucToFiscalYearPeriod(String groupStrucToFiscalYearPeriod) Constraints: Not nullable, Maximum length: 7toString()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 ConsolidationGroupStructure. -
CONSOLIDATION_GROUP
-
CONSOLIDATION_UNIT
-
CONSOLIDATION_VERSION
-
GROUP_STRUC_FROM_FISCAL_YEAR_PERIOD
public static final SimpleProperty.String<ConsolidationGroupStructure> GROUP_STRUC_FROM_FISCAL_YEAR_PERIOD -
GROUP_STRUC_TO_FISCAL_YEAR_PERIOD
public static final SimpleProperty.String<ConsolidationGroupStructure> GROUP_STRUC_TO_FISCAL_YEAR_PERIOD -
FIRST_CNSLDTN_FISCAL_YEAR_PERIOD
public static final SimpleProperty.String<ConsolidationGroupStructure> FIRST_CNSLDTN_FISCAL_YEAR_PERIOD -
FIRST_CNSLDTN_IS_AT_END_OF_PERIOD
public static final SimpleProperty.Boolean<ConsolidationGroupStructure> FIRST_CNSLDTN_IS_AT_END_OF_PERIOD -
DIVESTITURE_FISCAL_YEAR_PERIOD
public static final SimpleProperty.String<ConsolidationGroupStructure> DIVESTITURE_FISCAL_YEAR_PERIOD -
DIVESTITURE_IS_AT_BEGIN_OF_PERIOD
public static final SimpleProperty.Boolean<ConsolidationGroupStructure> DIVESTITURE_IS_AT_BEGIN_OF_PERIOD -
DIVESTITURE_IS_DUE_TO_MERGER
public static final SimpleProperty.Boolean<ConsolidationGroupStructure> DIVESTITURE_IS_DUE_TO_MERGER -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__CNSLDTN_GRP_STRUC_METH_ASSGMT
public static final NavigationProperty.Collection<ConsolidationGroupStructure,CnsldtnGrpStrucMethAssgmt> TO__CNSLDTN_GRP_STRUC_METH_ASSGMTUse with available request builders to apply the _CnsldtnGrpStrucMethAssgmt navigation property to query operations.
-
-
Constructor Details
-
ConsolidationGroupStructure
public ConsolidationGroupStructure() -
ConsolidationGroupStructure
public ConsolidationGroupStructure(@Nullable String consolidationGroup, @Nullable String consolidationUnit, @Nullable String consolidationVersion, @Nullable String groupStrucFromFiscalYearPeriod, @Nullable String groupStrucToFiscalYearPeriod, @Nullable String firstCnsldtnFiscalYearPeriod, @Nullable Boolean firstCnsldtnIsAtEndOfPeriod, @Nullable String divestitureFiscalYearPeriod, @Nullable Boolean divestitureIsAtBeginOfPeriod, @Nullable Boolean divestitureIsDueToMerger, @Nullable Collection<SAP__Message> _Messages, List<CnsldtnGrpStrucMethAssgmt> to_CnsldtnGrpStrucMethAssgmt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ConsolidationGroupStructure>
-
setConsolidationGroup
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ConsolidationGroup
- Parameters:
consolidationGroup- Consolidation Group
-
setConsolidationUnit
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ConsolidationUnit
- Parameters:
consolidationUnit- Consolidation Unit
-
setConsolidationVersion
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConsolidationVersion
- Parameters:
consolidationVersion- Consolidation Version
-
setGroupStrucFromFiscalYearPeriod
(Key Field) Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: GroupStrucFromFiscalYearPeriod
- Parameters:
groupStrucFromFiscalYearPeriod- Start of Assignment
-
setGroupStrucToFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: GroupStrucToFiscalYearPeriod
- Parameters:
groupStrucToFiscalYearPeriod- End of Assignment
-
setFirstCnsldtnFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: FirstCnsldtnFiscalYearPeriod
- Parameters:
firstCnsldtnFiscalYearPeriod- Fiscal Year Period of First Consolidation
-
setFirstCnsldtnIsAtEndOfPeriod
Constraints: Not nullableOriginal property name from the Odata EDM: FirstCnsldtnIsAtEndOfPeriod
- Parameters:
firstCnsldtnIsAtEndOfPeriod- First Consolidation Is at End of Period
-
setDivestitureFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: DivestitureFiscalYearPeriod
- Parameters:
divestitureFiscalYearPeriod- Fiscal Year Period of Divestiture
-
setDivestitureIsAtBeginOfPeriod
Constraints: Not nullableOriginal property name from the Odata EDM: DivestitureIsAtBeginOfPeriod
- Parameters:
divestitureIsAtBeginOfPeriod- Divestiture Is at Beginning of Period
-
setDivestitureIsDueToMerger
Constraints: Not nullableOriginal property name from the Odata EDM: DivestitureIsDueToMerger
- Parameters:
divestitureIsDueToMerger- Divestiture Due to Merger
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ConsolidationGroupStructure>
-
getKey
- Overrides:
getKeyin classVdmObject<ConsolidationGroupStructure>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ConsolidationGroupStructure>
-
fromMap
- Overrides:
fromMapin classVdmObject<ConsolidationGroupStructure>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ConsolidationGroupStructure>
-
getCnsldtnGrpStrucMethAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<CnsldtnGrpStrucMethAssgmt>> getCnsldtnGrpStrucMethAssgmtIfPresent()Retrieval of associated CnsldtnGrpStrucMethAssgmt entities (one to many). This corresponds to the OData navigation property _CnsldtnGrpStrucMethAssgmt.If the navigation property for an entity ConsolidationGroupStructure 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 _CnsldtnGrpStrucMethAssgmt is already loaded, the
result will contain the CnsldtnGrpStrucMethAssgmt entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnGrpStrucMethAssgmt
Overwrites the list of associated CnsldtnGrpStrucMethAssgmt entities for the loaded navigation property _CnsldtnGrpStrucMethAssgmt.If the navigation property _CnsldtnGrpStrucMethAssgmt of a queried ConsolidationGroupStructure 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 CnsldtnGrpStrucMethAssgmt entities.
-
addCnsldtnGrpStrucMethAssgmt
Adds elements to the list of associated CnsldtnGrpStrucMethAssgmt entities. This corresponds to the OData navigation property _CnsldtnGrpStrucMethAssgmt.If the navigation property _CnsldtnGrpStrucMethAssgmt of a queried ConsolidationGroupStructure 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 CnsldtnGrpStrucMethAssgmt entities.
-
builder
-
getConsolidationGroup
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ConsolidationGroup
- Returns:
- Consolidation Group
-
getConsolidationUnit
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ConsolidationUnit
- Returns:
- Consolidation Unit
-
getConsolidationVersion
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConsolidationVersion
- Returns:
- Consolidation Version
-
getGroupStrucFromFiscalYearPeriod
(Key Field) Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: GroupStrucFromFiscalYearPeriod
- Returns:
- Start of Assignment
-
getGroupStrucToFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: GroupStrucToFiscalYearPeriod
- Returns:
- End of Assignment
-
getFirstCnsldtnFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: FirstCnsldtnFiscalYearPeriod
- Returns:
- Fiscal Year Period of First Consolidation
-
getFirstCnsldtnIsAtEndOfPeriod
Constraints: Not nullableOriginal property name from the Odata EDM: FirstCnsldtnIsAtEndOfPeriod
- Returns:
- First Consolidation Is at End of Period
-
getDivestitureFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: DivestitureFiscalYearPeriod
- Returns:
- Fiscal Year Period of Divestiture
-
getDivestitureIsAtBeginOfPeriod
Constraints: Not nullableOriginal property name from the Odata EDM: DivestitureIsAtBeginOfPeriod
- Returns:
- Divestiture Is at Beginning of Period
-
getDivestitureIsDueToMerger
Constraints: Not nullableOriginal property name from the Odata EDM: DivestitureIsDueToMerger
- Returns:
- Divestiture Due to Merger
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ConsolidationGroupStructure>
-
equals
- Overrides:
equalsin classVdmEntity<ConsolidationGroupStructure>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ConsolidationGroupStructure>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ConsolidationGroupStructure>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ConsolidationGroupStructure>
-