Class SrcgProjectAwardingScenario
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjectAwardingScenario_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjectAwardingScenario instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<SrcgProjectAwardingScenario>Selector for all available fields of SrcgProjectAwardingScenario.static final SimpleProperty.String<SrcgProjectAwardingScenario>static final SimpleProperty.DateTime<SrcgProjectAwardingScenario>static final SimpleProperty.DateTime<SrcgProjectAwardingScenario>static final SimpleProperty.String<SrcgProjectAwardingScenario>static final SimpleProperty.Guid<SrcgProjectAwardingScenario>static final SimpleProperty.Boolean<SrcgProjectAwardingScenario>static final SimpleProperty.Guid<SrcgProjectAwardingScenario>static final SimpleProperty.String<SrcgProjectAwardingScenario>static final SimpleProperty.Date<SrcgProjectAwardingScenario>static final SimpleProperty.String<SrcgProjectAwardingScenario>static final SimpleProperty.String<SrcgProjectAwardingScenario>static final SimpleProperty.String<SrcgProjectAwardingScenario>static final SimpleProperty.String<SrcgProjectAwardingScenario>Use with available request builders to apply the _SrcgProjAwardingScenNote navigation property to query operations.static final NavigationProperty.Collection<SrcgProjectAwardingScenario,SrcgProjectAwardingScenarioQtn> Use with available request builders to apply the _SrcgProjAwardingScenQtn 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
ConstructorsConstructorDescriptionSrcgProjectAwardingScenario(UUID srcgProjAwardingScenarioUUID, String srcgProjectAwardingScenario, String srcgProjectAwardingScenName, Boolean srcgProjAwardingScenIsPrfrd, UUID sourcingProjectUUID, String srcgProjAwdgScenLifecycleSts, String srcgProjAwdgScenApprovalStatus, String srcgProjAwdgScenAwardingStatus, LocalDate srcgProjAwdgScenAwardingDate, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, Collection<SAP__Message> _Messages, List<SrcgProjAwardingScenNote> to_SrcgProjAwardingScenNote, List<SrcgProjectAwardingScenarioQtn> to_SrcgProjAwardingScenQtn) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjAwardingScenNote entities.voidAdds elements to the list of associated SrcgProjectAwardingScenarioQtn entities.builder()cancel()Action that can be applied to any entity object of this class.protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Nullable(Key Field) Constraints: Not nullableConstraints: Not nullableio.vavr.control.Option<List<SrcgProjAwardingScenNote>>Retrieval of associated SrcgProjAwardingScenNote entities (one to many).io.vavr.control.Option<List<SrcgProjectAwardingScenarioQtn>>Retrieval of associated SrcgProjectAwardingScenarioQtn entities (one to many).Constraints: Not nullable, Maximum length: 2Constraints: NullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: NullablevoidsetSrcgProjAwardingScenarioUUID(UUID srcgProjAwardingScenarioUUID) (Key Field) Constraints: Not nullablevoidsetSrcgProjAwardingScenIsPrfrd(Boolean srcgProjAwardingScenIsPrfrd) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjAwardingScenNote entities for the loaded navigation property _SrcgProjAwardingScenNote.voidOverwrites the list of associated SrcgProjectAwardingScenarioQtn entities for the loaded navigation property _SrcgProjAwardingScenQtn.voidsetSrcgProjAwdgScenApprovalStatus(String srcgProjAwdgScenApprovalStatus) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjAwdgScenAwardingDate(LocalDate srcgProjAwdgScenAwardingDate) Constraints: NullablevoidsetSrcgProjAwdgScenAwardingStatus(String srcgProjAwdgScenAwardingStatus) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjAwdgScenLifecycleSts(String srcgProjAwdgScenLifecycleSts) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjectAwardingScenario(String srcgProjectAwardingScenario) Constraints: Not nullable, Maximum length: 10voidsetSrcgProjectAwardingScenName(String srcgProjectAwardingScenName) Constraints: Not nullable, Maximum length: 60Action that can be applied to any entity object of this class.toString()Action that can be applied to any entity object of this class.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 SrcgProjectAwardingScenario. -
SRCG_PROJ_AWARDING_SCENARIO_UUID
public static final SimpleProperty.Guid<SrcgProjectAwardingScenario> SRCG_PROJ_AWARDING_SCENARIO_UUID -
SRCG_PROJECT_AWARDING_SCENARIO
public static final SimpleProperty.String<SrcgProjectAwardingScenario> SRCG_PROJECT_AWARDING_SCENARIO -
SRCG_PROJECT_AWARDING_SCEN_NAME
public static final SimpleProperty.String<SrcgProjectAwardingScenario> SRCG_PROJECT_AWARDING_SCEN_NAME -
SRCG_PROJ_AWARDING_SCEN_IS_PRFRD
public static final SimpleProperty.Boolean<SrcgProjectAwardingScenario> SRCG_PROJ_AWARDING_SCEN_IS_PRFRD -
SOURCING_PROJECT_UUID
-
SRCG_PROJ_AWDG_SCEN_LIFECYCLE_STS
public static final SimpleProperty.String<SrcgProjectAwardingScenario> SRCG_PROJ_AWDG_SCEN_LIFECYCLE_STS -
SRCG_PROJ_AWDG_SCEN_APPROVAL_STATUS
public static final SimpleProperty.String<SrcgProjectAwardingScenario> SRCG_PROJ_AWDG_SCEN_APPROVAL_STATUS -
SRCG_PROJ_AWDG_SCEN_AWARDING_STATUS
public static final SimpleProperty.String<SrcgProjectAwardingScenario> SRCG_PROJ_AWDG_SCEN_AWARDING_STATUS -
SRCG_PROJ_AWDG_SCEN_AWARDING_DATE
public static final SimpleProperty.Date<SrcgProjectAwardingScenario> SRCG_PROJ_AWDG_SCEN_AWARDING_DATE -
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__SRCG_PROJ_AWARDING_SCEN_NOTE
public static final NavigationProperty.Collection<SrcgProjectAwardingScenario,SrcgProjAwardingScenNote> TO__SRCG_PROJ_AWARDING_SCEN_NOTEUse with available request builders to apply the _SrcgProjAwardingScenNote navigation property to query operations. -
TO__SRCG_PROJ_AWARDING_SCEN_QTN
public static final NavigationProperty.Collection<SrcgProjectAwardingScenario,SrcgProjectAwardingScenarioQtn> TO__SRCG_PROJ_AWARDING_SCEN_QTNUse with available request builders to apply the _SrcgProjAwardingScenQtn navigation property to query operations.
-
-
Constructor Details
-
SrcgProjectAwardingScenario
public SrcgProjectAwardingScenario() -
SrcgProjectAwardingScenario
public SrcgProjectAwardingScenario(@Nullable UUID srcgProjAwardingScenarioUUID, @Nullable String srcgProjectAwardingScenario, @Nullable String srcgProjectAwardingScenName, @Nullable Boolean srcgProjAwardingScenIsPrfrd, @Nullable UUID sourcingProjectUUID, @Nullable String srcgProjAwdgScenLifecycleSts, @Nullable String srcgProjAwdgScenApprovalStatus, @Nullable String srcgProjAwdgScenAwardingStatus, @Nullable LocalDate srcgProjAwdgScenAwardingDate, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages, List<SrcgProjAwardingScenNote> to_SrcgProjAwardingScenNote, List<SrcgProjectAwardingScenarioQtn> to_SrcgProjAwardingScenQtn)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjectAwardingScenario>
-
setSrcgProjAwardingScenarioUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjAwardingScenarioUUID
- Parameters:
srcgProjAwardingScenarioUUID- Awarding Scenario UUID
-
setSrcgProjectAwardingScenario
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjectAwardingScenario
- Parameters:
srcgProjectAwardingScenario- Awarding Scenario ID
-
setSrcgProjectAwardingScenName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjectAwardingScenName
- Parameters:
srcgProjectAwardingScenName- Awarding Scenario Name
-
setSrcgProjAwardingScenIsPrfrd
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjAwardingScenIsPrfrd
- Parameters:
srcgProjAwardingScenIsPrfrd- Awarding scenario is marked as preferred
-
setSourcingProjectUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSrcgProjAwdgScenLifecycleSts
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjAwdgScenLifecycleSts
- Parameters:
srcgProjAwdgScenLifecycleSts- Lifecycle Status of Awarding Scenario
-
setSrcgProjAwdgScenApprovalStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjAwdgScenApprovalStatus
- Parameters:
srcgProjAwdgScenApprovalStatus- Approval Status of Awarding Scenario
-
setSrcgProjAwdgScenAwardingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjAwdgScenAwardingStatus
- Parameters:
srcgProjAwdgScenAwardingStatus- Awarding Status Code of Awarding Scenario
-
setSrcgProjAwdgScenAwardingDate
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjAwdgScenAwardingDate
- Parameters:
srcgProjAwdgScenAwardingDate- Awarding Date for Awarding Scenario
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created By User
-
setCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Creation Date and Time
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last Changed By User
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last Changed On
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjectAwardingScenario>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjectAwardingScenario>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjectAwardingScenario>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjectAwardingScenario>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjectAwardingScenario>
-
getSrcgProjAwardingScenNoteIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjAwardingScenNote>> getSrcgProjAwardingScenNoteIfPresent()Retrieval of associated SrcgProjAwardingScenNote entities (one to many). This corresponds to the OData navigation property _SrcgProjAwardingScenNote.If the navigation property for an entity SrcgProjectAwardingScenario 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 _SrcgProjAwardingScenNote is already loaded, the result
will contain the SrcgProjAwardingScenNote entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjAwardingScenNote
Overwrites the list of associated SrcgProjAwardingScenNote entities for the loaded navigation property _SrcgProjAwardingScenNote.If the navigation property _SrcgProjAwardingScenNote of a queried SrcgProjectAwardingScenario 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 SrcgProjAwardingScenNote entities.
-
addSrcgProjAwardingScenNote
Adds elements to the list of associated SrcgProjAwardingScenNote entities. This corresponds to the OData navigation property _SrcgProjAwardingScenNote.If the navigation property _SrcgProjAwardingScenNote of a queried SrcgProjectAwardingScenario 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 SrcgProjAwardingScenNote entities.
-
getSrcgProjAwardingScenQtnIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjectAwardingScenarioQtn>> getSrcgProjAwardingScenQtnIfPresent()Retrieval of associated SrcgProjectAwardingScenarioQtn entities (one to many). This corresponds to the OData navigation property _SrcgProjAwardingScenQtn.If the navigation property for an entity SrcgProjectAwardingScenario 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 _SrcgProjAwardingScenQtn is already loaded, the result
will contain the SrcgProjectAwardingScenarioQtn entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjAwardingScenQtn
Overwrites the list of associated SrcgProjectAwardingScenarioQtn entities for the loaded navigation property _SrcgProjAwardingScenQtn.If the navigation property _SrcgProjAwardingScenQtn of a queried SrcgProjectAwardingScenario 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 SrcgProjectAwardingScenarioQtn entities.
-
addSrcgProjAwardingScenQtn
Adds elements to the list of associated SrcgProjectAwardingScenarioQtn entities. This corresponds to the OData navigation property _SrcgProjAwardingScenQtn.If the navigation property _SrcgProjAwardingScenQtn of a queried SrcgProjectAwardingScenario 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 SrcgProjectAwardingScenarioQtn entities.
-
submitForApproval
@Nonnull public static BoundAction.SingleToSingle<SrcgProjectAwardingScenario,SrcgProjectAwardingScenario> submitForApproval()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
withdrawFromApproval
@Nonnull public static BoundAction.SingleToSingle<SrcgProjectAwardingScenario,SrcgProjectAwardingScenario> withdrawFromApproval()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
cancel
@Nonnull public static BoundAction.SingleToSingle<SrcgProjectAwardingScenario,SrcgProjectAwardingScenario> cancel()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getSrcgProjAwardingScenarioUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjAwardingScenarioUUID
- Returns:
- Awarding Scenario UUID
-
getSrcgProjectAwardingScenario
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjectAwardingScenario
- Returns:
- Awarding Scenario ID
-
getSrcgProjectAwardingScenName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjectAwardingScenName
- Returns:
- Awarding Scenario Name
-
getSrcgProjAwardingScenIsPrfrd
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjAwardingScenIsPrfrd
- Returns:
- Awarding scenario is marked as preferred
-
getSourcingProjectUUID
Constraints: NullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSrcgProjAwdgScenLifecycleSts
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjAwdgScenLifecycleSts
- Returns:
- Lifecycle Status of Awarding Scenario
-
getSrcgProjAwdgScenApprovalStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjAwdgScenApprovalStatus
- Returns:
- Approval Status of Awarding Scenario
-
getSrcgProjAwdgScenAwardingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjAwdgScenAwardingStatus
- Returns:
- Awarding Status Code of Awarding Scenario
-
getSrcgProjAwdgScenAwardingDate
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjAwdgScenAwardingDate
- Returns:
- Awarding Date for Awarding Scenario
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created By User
-
getCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Creation Date and Time
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last Changed By User
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last Changed On
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjectAwardingScenario>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjectAwardingScenario>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjectAwardingScenario>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjectAwardingScenario>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjectAwardingScenario>
-