Class SourcingProjectNegotiation
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SourcingProjectNegotiation_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SourcingProjectNegotiation instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<SourcingProjectNegotiation,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<SourcingProjectNegotiation>Selector for all available fields of SourcingProjectNegotiation.static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.DateTime<SourcingProjectNegotiation>static final SimpleProperty.DateTime<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.Guid<SourcingProjectNegotiation>static final SimpleProperty.Guid<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>static final SimpleProperty.Date<SourcingProjectNegotiation>static final SimpleProperty.Date<SourcingProjectNegotiation>static final SimpleProperty.String<SourcingProjectNegotiation>Use with available request builders to apply the _SourcingProjectTP navigation property to query operations.Use with available request builders to apply the _SrcgProjNegttnQuotationTP 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
ConstructorsConstructorDescriptionSourcingProjectNegotiation(UUID sourcingProjectNegotiationUUID, String sourcingProjectNegotiation, String sourcingProjectNegotiationType, String sourcingProjectNegotiationName, String srcgProjNegttnLifecycleStatus, LocalDate srcgProjNegotiationStartDate, LocalDate srcgProjNegotiationEndDate, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, UUID sourcingProjectUUID, String sourcingProject, String sourcingProjectName, String sourcingProjectVersion, Collection<SAP__Message> _Messages, SourcingProject to_SourcingProjectTP, List<SrcgProjNegotiationQuotation> to_SrcgProjNegttnQuotationTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjNegotiationQuotation entities.builder()cancel()Action that can be applied to any entity object of this class.protected booleancomplete()Action that can be applied to any entity object of this class.copy(Boolean noteIsCopyEnabled, LocalDate srcgProjNegotiationStartDate, LocalDate srcgProjNegotiationEndDate) Action that can be applied to any entity object of this class.crteSourcingProjectNegotiation(String sourcingProjectNegotiationType, String sourcingProjectNegotiationName, LocalDate srcgProjNegotiationStartDate, LocalDate srcgProjNegotiationEndDate, Collection<D_SPNegttnCrteSrcgProjQtnP> _SourcingProjectQuotation) Action that can be applied to a collection of entities of this class.Action that can be applied to any entity object of this class.booleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullableio.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 5Constraints: NullableConstraints: NullableConstraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<SrcgProjNegotiationQuotation>>Retrieval of associated SrcgProjNegotiationQuotation entities (one to many).getType()inthashCode()publish()Action that can be applied to any entity object of this class.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: 12voidsetSourcingProject(String sourcingProject) Constraints: Not nullable, Maximum length: 10voidsetSourcingProjectName(String sourcingProjectName) Constraints: Not nullable, Maximum length: 60voidsetSourcingProjectNegotiation(String sourcingProjectNegotiation) Constraints: Not nullable, Maximum length: 10voidsetSourcingProjectNegotiationName(String sourcingProjectNegotiationName) Constraints: Not nullable, Maximum length: 60voidsetSourcingProjectNegotiationType(String sourcingProjectNegotiationType) Constraints: Not nullable, Maximum length: 1voidsetSourcingProjectNegotiationUUID(UUID sourcingProjectNegotiationUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProjectTP.voidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSourcingProjectVersion(String sourcingProjectVersion) Constraints: Not nullable, Maximum length: 5voidsetSrcgProjNegotiationEndDate(LocalDate srcgProjNegotiationEndDate) Constraints: NullablevoidsetSrcgProjNegotiationStartDate(LocalDate srcgProjNegotiationStartDate) Constraints: NullablevoidsetSrcgProjNegttnLifecycleStatus(String srcgProjNegttnLifecycleStatus) Constraints: Not nullable, Maximum length: 2voidOverwrites the list of associated SrcgProjNegotiationQuotation entities for the loaded navigation property _SrcgProjNegttnQuotationTP.toString()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 SourcingProjectNegotiation. -
SOURCING_PROJECT_NEGOTIATION_UUID
public static final SimpleProperty.Guid<SourcingProjectNegotiation> SOURCING_PROJECT_NEGOTIATION_UUID -
SOURCING_PROJECT_NEGOTIATION
-
SOURCING_PROJECT_NEGOTIATION_TYPE
public static final SimpleProperty.String<SourcingProjectNegotiation> SOURCING_PROJECT_NEGOTIATION_TYPE -
SOURCING_PROJECT_NEGOTIATION_NAME
public static final SimpleProperty.String<SourcingProjectNegotiation> SOURCING_PROJECT_NEGOTIATION_NAME -
SRCG_PROJ_NEGTTN_LIFECYCLE_STATUS
public static final SimpleProperty.String<SourcingProjectNegotiation> SRCG_PROJ_NEGTTN_LIFECYCLE_STATUS -
SRCG_PROJ_NEGOTIATION_START_DATE
public static final SimpleProperty.Date<SourcingProjectNegotiation> SRCG_PROJ_NEGOTIATION_START_DATE -
SRCG_PROJ_NEGOTIATION_END_DATE
-
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
SOURCING_PROJECT_UUID
-
SOURCING_PROJECT
-
SOURCING_PROJECT_NAME
-
SOURCING_PROJECT_VERSION
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__SOURCING_PROJECT_TP
public static final NavigationProperty.Single<SourcingProjectNegotiation,SourcingProject> TO__SOURCING_PROJECT_TPUse with available request builders to apply the _SourcingProjectTP navigation property to query operations. -
TO__SRCG_PROJ_NEGTTN_QUOTATION_TP
public static final NavigationProperty.Collection<SourcingProjectNegotiation,SrcgProjNegotiationQuotation> TO__SRCG_PROJ_NEGTTN_QUOTATION_TPUse with available request builders to apply the _SrcgProjNegttnQuotationTP navigation property to query operations.
-
-
Constructor Details
-
SourcingProjectNegotiation
public SourcingProjectNegotiation() -
SourcingProjectNegotiation
public SourcingProjectNegotiation(@Nullable UUID sourcingProjectNegotiationUUID, @Nullable String sourcingProjectNegotiation, @Nullable String sourcingProjectNegotiationType, @Nullable String sourcingProjectNegotiationName, @Nullable String srcgProjNegttnLifecycleStatus, @Nullable LocalDate srcgProjNegotiationStartDate, @Nullable LocalDate srcgProjNegotiationEndDate, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable UUID sourcingProjectUUID, @Nullable String sourcingProject, @Nullable String sourcingProjectName, @Nullable String sourcingProjectVersion, @Nullable Collection<SAP__Message> _Messages, @Nullable SourcingProject to_SourcingProjectTP, List<SrcgProjNegotiationQuotation> to_SrcgProjNegttnQuotationTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SourcingProjectNegotiation>
-
setSourcingProjectNegotiationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectNegotiationUUID
- Parameters:
sourcingProjectNegotiationUUID- Negotiation UUID
-
setSourcingProjectNegotiation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProjectNegotiation
- Parameters:
sourcingProjectNegotiation- Negotiation for Sourcing Project
-
setSourcingProjectNegotiationType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourcingProjectNegotiationType
- Parameters:
sourcingProjectNegotiationType- Type of Negotiation
-
setSourcingProjectNegotiationName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SourcingProjectNegotiationName
- Parameters:
sourcingProjectNegotiationName- Negotiation Name
-
setSrcgProjNegttnLifecycleStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjNegttnLifecycleStatus
- Parameters:
srcgProjNegttnLifecycleStatus- Lifecycle Status for Negotiation
-
setSrcgProjNegotiationStartDate
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjNegotiationStartDate
- Parameters:
srcgProjNegotiationStartDate- Start Date of Negotiation
-
setSrcgProjNegotiationEndDate
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjNegotiationEndDate
- Parameters:
srcgProjNegotiationEndDate- End Date of Negotiation
-
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 of Date and Time of Negotiation
-
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
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSourcingProject
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProject
- Parameters:
sourcingProject- Sourcing Project
-
setSourcingProjectName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SourcingProjectName
- Parameters:
sourcingProjectName- Sourcing Project Name
-
setSourcingProjectVersion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SourcingProjectVersion
- Parameters:
sourcingProjectVersion- Sourcing Project Version
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SourcingProjectNegotiation>
-
getKey
- Overrides:
getKeyin classVdmObject<SourcingProjectNegotiation>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SourcingProjectNegotiation>
-
fromMap
- Overrides:
fromMapin classVdmObject<SourcingProjectNegotiation>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SourcingProjectNegotiation>
-
getSourcingProjectTPIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProjectTP.If the navigation property for an entity SourcingProjectNegotiation 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 _SourcingProjectTP is already loaded, the result will
contain the SourcingProject entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectTP
Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProjectTP.- Parameters:
value- New SourcingProject entity.
-
getSrcgProjNegttnQuotationTPIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjNegotiationQuotation>> getSrcgProjNegttnQuotationTPIfPresent()Retrieval of associated SrcgProjNegotiationQuotation entities (one to many). This corresponds to the OData navigation property _SrcgProjNegttnQuotationTP.If the navigation property for an entity SourcingProjectNegotiation 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 _SrcgProjNegttnQuotationTP is already loaded, the
result will contain the SrcgProjNegotiationQuotation entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjNegttnQuotationTP
Overwrites the list of associated SrcgProjNegotiationQuotation entities for the loaded navigation property _SrcgProjNegttnQuotationTP.If the navigation property _SrcgProjNegttnQuotationTP of a queried SourcingProjectNegotiation 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 SrcgProjNegotiationQuotation entities.
-
addSrcgProjNegttnQuotationTP
Adds elements to the list of associated SrcgProjNegotiationQuotation entities. This corresponds to the OData navigation property _SrcgProjNegttnQuotationTP.If the navigation property _SrcgProjNegttnQuotationTP of a queried SourcingProjectNegotiation 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 SrcgProjNegotiationQuotation entities.
-
copy
@Nonnull public static BoundAction.SingleToSingle<SourcingProjectNegotiation,SourcingProjectNegotiation> copy(@Nonnull Boolean noteIsCopyEnabled, @Nullable LocalDate srcgProjNegotiationStartDate, @Nullable LocalDate srcgProjNegotiationEndDate) Action that can be applied to any entity object of this class.- Parameters:
srcgProjNegotiationEndDate- Constraints: NullableOriginal parameter name from the Odata EDM: SrcgProjNegotiationEndDate
srcgProjNegotiationStartDate- Constraints: NullableOriginal parameter name from the Odata EDM: SrcgProjNegotiationStartDate
noteIsCopyEnabled- Constraints: Not nullableOriginal parameter name from the Odata EDM: NoteIsCopyEnabled
- 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<SourcingProjectNegotiation,SourcingProjectNegotiation> 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.
-
endNegotiation
@Nonnull public static BoundAction.SingleToSingle<SourcingProjectNegotiation,SourcingProjectNegotiation> endNegotiation()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.
-
crteSourcingProjectNegotiation
@Nonnull public static BoundAction.CollectionToSingle<SourcingProjectNegotiation,SourcingProjectNegotiation> crteSourcingProjectNegotiation(@Nonnull String sourcingProjectNegotiationType, @Nonnull String sourcingProjectNegotiationName, @Nullable LocalDate srcgProjNegotiationStartDate, @Nullable LocalDate srcgProjNegotiationEndDate, @Nonnull Collection<D_SPNegttnCrteSrcgProjQtnP> _SourcingProjectQuotation) Action that can be applied to a collection of entities of this class.- Parameters:
srcgProjNegotiationEndDate- Constraints: NullableOriginal parameter name from the Odata EDM: SrcgProjNegotiationEndDate
_SourcingProjectQuotation- Constraints: Not nullableOriginal parameter name from the Odata EDM: _SourcingProjectQuotation
srcgProjNegotiationStartDate- Constraints: NullableOriginal parameter name from the Odata EDM: SrcgProjNegotiationStartDate
sourcingProjectNegotiationType- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: SourcingProjectNegotiationType
sourcingProjectNegotiationName- Constraints: Not nullable, Maximum length: 60Original parameter name from the Odata EDM: SourcingProjectNegotiationName
- Returns:
- Action 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).applyAction(thisAction)API.
-
publish
@Nonnull public static BoundAction.SingleToSingle<SourcingProjectNegotiation,SourcingProjectNegotiation> publish()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.
-
complete
@Nonnull public static BoundAction.SingleToSingle<SourcingProjectNegotiation,SourcingProjectNegotiation> complete()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
-
getSourcingProjectNegotiationUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectNegotiationUUID
- Returns:
- Negotiation UUID
-
getSourcingProjectNegotiation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProjectNegotiation
- Returns:
- Negotiation for Sourcing Project
-
getSourcingProjectNegotiationType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SourcingProjectNegotiationType
- Returns:
- Type of Negotiation
-
getSourcingProjectNegotiationName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SourcingProjectNegotiationName
- Returns:
- Negotiation Name
-
getSrcgProjNegttnLifecycleStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjNegttnLifecycleStatus
- Returns:
- Lifecycle Status for Negotiation
-
getSrcgProjNegotiationStartDate
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjNegotiationStartDate
- Returns:
- Start Date of Negotiation
-
getSrcgProjNegotiationEndDate
Constraints: NullableOriginal property name from the Odata EDM: SrcgProjNegotiationEndDate
- Returns:
- End Date of Negotiation
-
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 of Date and Time of Negotiation
-
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
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSourcingProject
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProject
- Returns:
- Sourcing Project
-
getSourcingProjectName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SourcingProjectName
- Returns:
- Sourcing Project Name
-
getSourcingProjectVersion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SourcingProjectVersion
- Returns:
- Sourcing Project Version
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<SourcingProjectNegotiation>
-
equals
- Overrides:
equalsin classVdmEntity<SourcingProjectNegotiation>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SourcingProjectNegotiation>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SourcingProjectNegotiation>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SourcingProjectNegotiation>
-