Class SourcingProjectType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SourcingProjectTypeType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SourcingProjectType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SourcingProjectType>Selector for all available fields of SourcingProjectType.static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.Boolean<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>static final SimpleProperty.String<SourcingProjectType>Use with available request builders to apply the _SourcingProjectTypeText 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
ConstructorsConstructorDescriptionSourcingProjectType(String sourcingProjectType, String sourcingProjectTypeText, String srcgProjItemUnconfdDmndRsnGrp, String srcPrjSuplrPartcipnDclnRsnGrp, String srcgProjQtnItemExcludingRsnGrp, String srcgProjSuplrUnlockingRsnGroup, String srcgProjVersioningReasonGroup, String srcgProjContactGroup, String srcgProjFollowOnDocumentGroup, String srcgProjMilestoneGroup, String srcgProjPhaseGroup, String sourcingScenario, Boolean srcgProjItmConfDmndHasEnabled, List<SourcingProjectTypeText> to_SourcingProjectTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SourcingProjectTypeText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<List<SourcingProjectTypeText>>Retrieval of associated SourcingProjectTypeText entities (one to many).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullableConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetSourcingProjectType(String sourcingProjectType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSourcingProjectTypeText(String sourcingProjectTypeText) Constraints: Not nullable, Maximum length: 40voidOverwrites the list of associated SourcingProjectTypeText entities for the loaded navigation property _SourcingProjectTypeText.voidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjContactGroup(String srcgProjContactGroup) Constraints: Not nullable, Maximum length: 4voidsetSrcgProjFollowOnDocumentGroup(String srcgProjFollowOnDocumentGroup) Constraints: Not nullable, Maximum length: 4voidsetSrcgProjItemUnconfdDmndRsnGrp(String srcgProjItemUnconfdDmndRsnGrp) Constraints: Not nullable, Maximum length: 10voidsetSrcgProjItmConfDmndHasEnabled(Boolean srcgProjItmConfDmndHasEnabled) Constraints: Not nullablevoidsetSrcgProjMilestoneGroup(String srcgProjMilestoneGroup) Constraints: Not nullable, Maximum length: 3voidsetSrcgProjPhaseGroup(String srcgProjPhaseGroup) Constraints: Not nullable, Maximum length: 3voidsetSrcgProjQtnItemExcludingRsnGrp(String srcgProjQtnItemExcludingRsnGrp) Constraints: Not nullable, Maximum length: 10voidsetSrcgProjSuplrUnlockingRsnGroup(String srcgProjSuplrUnlockingRsnGroup) Constraints: Not nullable, Maximum length: 10voidsetSrcgProjVersioningReasonGroup(String srcgProjVersioningReasonGroup) Constraints: Not nullable, Maximum length: 10voidsetSrcPrjSuplrPartcipnDclnRsnGrp(String srcPrjSuplrPartcipnDclnRsnGrp) Constraints: Not nullable, Maximum length: 10toString()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 SourcingProjectType. -
SOURCING_PROJECT_TYPE
-
SOURCING_PROJECT_TYPE_TEXT
-
SRCG_PROJ_ITEM_UNCONFD_DMND_RSN_GRP
-
SRC_PRJ_SUPLR_PARTCIPN_DCLN_RSN_GRP
-
SRCG_PROJ_QTN_ITEM_EXCLUDING_RSN_GRP
-
SRCG_PROJ_SUPLR_UNLOCKING_RSN_GROUP
-
SRCG_PROJ_VERSIONING_REASON_GROUP
-
SRCG_PROJ_CONTACT_GROUP
-
SRCG_PROJ_FOLLOW_ON_DOCUMENT_GROUP
-
SRCG_PROJ_MILESTONE_GROUP
-
SRCG_PROJ_PHASE_GROUP
-
SOURCING_SCENARIO
-
SRCG_PROJ_ITM_CONF_DMND_HAS_ENABLED
-
TO__SOURCING_PROJECT_TYPE_TEXT
public static final NavigationProperty.Collection<SourcingProjectType,SourcingProjectTypeText> TO__SOURCING_PROJECT_TYPE_TEXTUse with available request builders to apply the _SourcingProjectTypeText navigation property to query operations.
-
-
Constructor Details
-
SourcingProjectType
public SourcingProjectType() -
SourcingProjectType
public SourcingProjectType(@Nullable String sourcingProjectType, @Nullable String sourcingProjectTypeText, @Nullable String srcgProjItemUnconfdDmndRsnGrp, @Nullable String srcPrjSuplrPartcipnDclnRsnGrp, @Nullable String srcgProjQtnItemExcludingRsnGrp, @Nullable String srcgProjSuplrUnlockingRsnGroup, @Nullable String srcgProjVersioningReasonGroup, @Nullable String srcgProjContactGroup, @Nullable String srcgProjFollowOnDocumentGroup, @Nullable String srcgProjMilestoneGroup, @Nullable String srcgProjPhaseGroup, @Nullable String sourcingScenario, @Nullable Boolean srcgProjItmConfDmndHasEnabled, List<SourcingProjectTypeText> to_SourcingProjectTypeText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SourcingProjectType>
-
setSourcingProjectType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectType
- Parameters:
sourcingProjectType- Sourcing Project Type
-
setSourcingProjectTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SourcingProjectTypeText
- Parameters:
sourcingProjectTypeText- Short Description of Sourcing Project Type
-
setSrcgProjItemUnconfdDmndRsnGrp
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjItemUnconfdDmndRsnGrp
- Parameters:
srcgProjItemUnconfdDmndRsnGrp- Reason Group used in Sourcing Project
-
setSrcPrjSuplrPartcipnDclnRsnGrp
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcPrjSuplrPartcipnDclnRsnGrp
- Parameters:
srcPrjSuplrPartcipnDclnRsnGrp- Group of Reasons f. Declined Participation in Sourcing Proj
-
setSrcgProjQtnItemExcludingRsnGrp
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjQtnItemExcludingRsnGrp
- Parameters:
srcgProjQtnItemExcludingRsnGrp- Group of Reasons for Excluding Item in Supplier Quotation
-
setSrcgProjSuplrUnlockingRsnGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjSuplrUnlockingRsnGroup
- Parameters:
srcgProjSuplrUnlockingRsnGroup- Group of Reasons for Unlocking Supplier in Sourcing Project
-
setSrcgProjVersioningReasonGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjVersioningReasonGroup
- Parameters:
srcgProjVersioningReasonGroup- Group of Reasons for New Version of Sourcing Project
-
setSrcgProjContactGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SrcgProjContactGroup
- Parameters:
srcgProjContactGroup- Contact Category Group for Supplier Quotation (SP)
-
setSrcgProjFollowOnDocumentGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SrcgProjFollowOnDocumentGroup
- Parameters:
srcgProjFollowOnDocumentGroup- Follow-On Document Group for Sourcing Project Quotation
-
setSrcgProjMilestoneGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjMilestoneGroup
- Parameters:
srcgProjMilestoneGroup- Sourcing Project Milestone Group
-
setSrcgProjPhaseGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjPhaseGroup
- Parameters:
srcgProjPhaseGroup- Sourcing Project Phase Group
-
setSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Parameters:
sourcingScenario- Sourcing Integration Scenario
-
setSrcgProjItmConfDmndHasEnabled
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItmConfDmndHasEnabled
- Parameters:
srcgProjItmConfDmndHasEnabled- Demand Confirmation Enablement
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SourcingProjectType>
-
getKey
- Overrides:
getKeyin classVdmObject<SourcingProjectType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SourcingProjectType>
-
fromMap
- Overrides:
fromMapin classVdmObject<SourcingProjectType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SourcingProjectType>
-
getSourcingProjectTypeTextIfPresent
@Nonnull public io.vavr.control.Option<List<SourcingProjectTypeText>> getSourcingProjectTypeTextIfPresent()Retrieval of associated SourcingProjectTypeText entities (one to many). This corresponds to the OData navigation property _SourcingProjectTypeText.If the navigation property for an entity SourcingProjectType 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 _SourcingProjectTypeText is already loaded, the result
will contain the SourcingProjectTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectTypeText
Overwrites the list of associated SourcingProjectTypeText entities for the loaded navigation property _SourcingProjectTypeText.If the navigation property _SourcingProjectTypeText of a queried SourcingProjectType 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 SourcingProjectTypeText entities.
-
addSourcingProjectTypeText
Adds elements to the list of associated SourcingProjectTypeText entities. This corresponds to the OData navigation property _SourcingProjectTypeText.If the navigation property _SourcingProjectTypeText of a queried SourcingProjectType 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 SourcingProjectTypeText entities.
-
builder
-
getSourcingProjectType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingProjectType
- Returns:
- Sourcing Project Type
-
getSourcingProjectTypeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SourcingProjectTypeText
- Returns:
- Short Description of Sourcing Project Type
-
getSrcgProjItemUnconfdDmndRsnGrp
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjItemUnconfdDmndRsnGrp
- Returns:
- Reason Group used in Sourcing Project
-
getSrcPrjSuplrPartcipnDclnRsnGrp
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcPrjSuplrPartcipnDclnRsnGrp
- Returns:
- Group of Reasons f. Declined Participation in Sourcing Proj
-
getSrcgProjQtnItemExcludingRsnGrp
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjQtnItemExcludingRsnGrp
- Returns:
- Group of Reasons for Excluding Item in Supplier Quotation
-
getSrcgProjSuplrUnlockingRsnGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjSuplrUnlockingRsnGroup
- Returns:
- Group of Reasons for Unlocking Supplier in Sourcing Project
-
getSrcgProjVersioningReasonGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SrcgProjVersioningReasonGroup
- Returns:
- Group of Reasons for New Version of Sourcing Project
-
getSrcgProjContactGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SrcgProjContactGroup
- Returns:
- Contact Category Group for Supplier Quotation (SP)
-
getSrcgProjFollowOnDocumentGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SrcgProjFollowOnDocumentGroup
- Returns:
- Follow-On Document Group for Sourcing Project Quotation
-
getSrcgProjMilestoneGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjMilestoneGroup
- Returns:
- Sourcing Project Milestone Group
-
getSrcgProjPhaseGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SrcgProjPhaseGroup
- Returns:
- Sourcing Project Phase Group
-
getSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Returns:
- Sourcing Integration Scenario
-
getSrcgProjItmConfDmndHasEnabled
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItmConfDmndHasEnabled
- Returns:
- Demand Confirmation Enablement
-
toString
- Overrides:
toStringin classVdmObject<SourcingProjectType>
-
equals
- Overrides:
equalsin classVdmEntity<SourcingProjectType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SourcingProjectType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SourcingProjectType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SourcingProjectType>
-