Class ConsolidationTaskGroup
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ConsolidationTaskGroup_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ConsolidationTaskGroup instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<ConsolidationTaskGroup,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ConsolidationTaskGroup>Selector for all available fields of ConsolidationTaskGroup.static final SimpleProperty.String<ConsolidationTaskGroup>static final SimpleProperty.String<ConsolidationTaskGroup>Use with available request builders to apply the _CnsldtnTaskAssignment 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
ConstructorsConstructorDescriptionConsolidationTaskGroup(String consolidationTaskGroup, String consolidationTaskGroupText, Collection<SAP__Message> _Messages, List<CnsldtnTaskGroupTaskAssignment> to_CnsldtnTaskAssignment) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated CnsldtnTaskGroupTaskAssignment entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableio.vavr.control.Option<List<CnsldtnTaskGroupTaskAssignment>>Retrieval of associated CnsldtnTaskGroupTaskAssignment entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 30protected Stringprotected Stringprotected ODataEntityKeygetKey()getType()static BoundFunction.CollectionToCollection<ConsolidationTaskGroup,CnsldtnTaskGroupGetUnitTasksResult_Type> getUnitTasks(String consolidationVersion, String fiscalYear, String fiscalPeriod) Function that can be applied to a collection of entities of this class.inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the list of associated CnsldtnTaskGroupTaskAssignment entities for the loaded navigation property _CnsldtnTaskAssignment.voidsetConsolidationTaskGroup(String consolidationTaskGroup) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetConsolidationTaskGroupText(String consolidationTaskGroupText) Constraints: Not nullable, Maximum length: 30toString()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 ConsolidationTaskGroup. -
CONSOLIDATION_TASK_GROUP
-
CONSOLIDATION_TASK_GROUP_TEXT
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__CNSLDTN_TASK_ASSIGNMENT
public static final NavigationProperty.Collection<ConsolidationTaskGroup,CnsldtnTaskGroupTaskAssignment> TO__CNSLDTN_TASK_ASSIGNMENTUse with available request builders to apply the _CnsldtnTaskAssignment navigation property to query operations.
-
-
Constructor Details
-
ConsolidationTaskGroup
public ConsolidationTaskGroup() -
ConsolidationTaskGroup
public ConsolidationTaskGroup(@Nullable String consolidationTaskGroup, @Nullable String consolidationTaskGroupText, @Nullable Collection<SAP__Message> _Messages, List<CnsldtnTaskGroupTaskAssignment> to_CnsldtnTaskAssignment)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ConsolidationTaskGroup>
-
setConsolidationTaskGroup
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConsolidationTaskGroup
- Parameters:
consolidationTaskGroup- Consolidation Task Group
-
setConsolidationTaskGroupText
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationTaskGroupText
- Parameters:
consolidationTaskGroupText- Consolidation Task Group Text
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ConsolidationTaskGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<ConsolidationTaskGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ConsolidationTaskGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<ConsolidationTaskGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ConsolidationTaskGroup>
-
getCnsldtnTaskAssignmentIfPresent
@Nonnull public io.vavr.control.Option<List<CnsldtnTaskGroupTaskAssignment>> getCnsldtnTaskAssignmentIfPresent()Retrieval of associated CnsldtnTaskGroupTaskAssignment entities (one to many). This corresponds to the OData navigation property _CnsldtnTaskAssignment.If the navigation property for an entity ConsolidationTaskGroup 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 _CnsldtnTaskAssignment is already loaded, the result
will contain the CnsldtnTaskGroupTaskAssignment entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnTaskAssignment
Overwrites the list of associated CnsldtnTaskGroupTaskAssignment entities for the loaded navigation property _CnsldtnTaskAssignment.If the navigation property _CnsldtnTaskAssignment of a queried ConsolidationTaskGroup 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 CnsldtnTaskGroupTaskAssignment entities.
-
addCnsldtnTaskAssignment
Adds elements to the list of associated CnsldtnTaskGroupTaskAssignment entities. This corresponds to the OData navigation property _CnsldtnTaskAssignment.If the navigation property _CnsldtnTaskAssignment of a queried ConsolidationTaskGroup 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 CnsldtnTaskGroupTaskAssignment entities.
-
getUnitTasks
@Nonnull public static BoundFunction.CollectionToCollection<ConsolidationTaskGroup,CnsldtnTaskGroupGetUnitTasksResult_Type> getUnitTasks(@Nonnull String consolidationVersion, @Nonnull String fiscalYear, @Nonnull String fiscalPeriod) Function that can be applied to a collection of entities of this class.- Parameters:
consolidationVersion- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: ConsolidationVersion
fiscalPeriod- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: FiscalPeriod
fiscalYear- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: FiscalYear
- Returns:
- Function object prepared with the given parameters to be applied to a collection of entities of this
class.
To execute it use the
service.forEntity(entity).applyFunction(thisFunction)API.
-
builder
-
getConsolidationTaskGroup
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConsolidationTaskGroup
- Returns:
- Consolidation Task Group
-
getConsolidationTaskGroupText
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationTaskGroupText
- Returns:
- Consolidation Task Group Text
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ConsolidationTaskGroup>
-
equals
- Overrides:
equalsin classVdmEntity<ConsolidationTaskGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ConsolidationTaskGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ConsolidationTaskGroup>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ConsolidationTaskGroup>
-