Class SrcgProjItemDemandConfCode
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjItemDemandConfCodeType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjItemDemandConfCode instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjItemDemandConfCode>Selector for all available fields of SrcgProjItemDemandConfCode.static final SimpleProperty.String<SrcgProjItemDemandConfCode>static final SimpleProperty.String<SrcgProjItemDemandConfCode>Use with available request builders to apply the _Text 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
ConstructorsConstructorDescriptionSrcgProjItemDemandConfCode(String srcgProjItemDemandConfCode, String srcgProjItemDemandConfCodeName, List<SrcgProjItemDmndConfCodeTxt> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(SrcgProjItemDmndConfCodeTxt... entity) Adds elements to the list of associated SrcgProjItemDmndConfCodeTxt entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<SrcgProjItemDmndConfCodeTxt>>Retrieval of associated SrcgProjItemDmndConfCodeTxt entities (one to many).getType()inthashCode()voidsetSrcgProjItemDemandConfCode(String srcgProjItemDemandConfCode) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjItemDemandConfCodeName(String srcgProjItemDemandConfCodeName) Constraints: Not nullable, Maximum length: 60voidsetText(List<SrcgProjItemDmndConfCodeTxt> value) Overwrites the list of associated SrcgProjItemDmndConfCodeTxt entities for the loaded navigation property _Text.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 SrcgProjItemDemandConfCode. -
SRCG_PROJ_ITEM_DEMAND_CONF_CODE
public static final SimpleProperty.String<SrcgProjItemDemandConfCode> SRCG_PROJ_ITEM_DEMAND_CONF_CODE -
SRCG_PROJ_ITEM_DEMAND_CONF_CODE_NAME
public static final SimpleProperty.String<SrcgProjItemDemandConfCode> SRCG_PROJ_ITEM_DEMAND_CONF_CODE_NAME -
TO__TEXT
public static final NavigationProperty.Collection<SrcgProjItemDemandConfCode,SrcgProjItemDmndConfCodeTxt> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
SrcgProjItemDemandConfCode
public SrcgProjItemDemandConfCode() -
SrcgProjItemDemandConfCode
public SrcgProjItemDemandConfCode(@Nullable String srcgProjItemDemandConfCode, @Nullable String srcgProjItemDemandConfCodeName, List<SrcgProjItemDmndConfCodeTxt> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjItemDemandConfCode>
-
setSrcgProjItemDemandConfCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjItemDemandConfCode
- Parameters:
srcgProjItemDemandConfCode- Demand is Confirmed
-
setSrcgProjItemDemandConfCodeName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjItemDemandConfCodeName
- Parameters:
srcgProjItemDemandConfCodeName- Short Text for Fixed Values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjItemDemandConfCode>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjItemDemandConfCode>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjItemDemandConfCode>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjItemDemandConfCode>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjItemDemandConfCode>
-
getTextIfPresent
Retrieval of associated SrcgProjItemDmndConfCodeTxt entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity SrcgProjItemDemandConfCode 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 _Text is already loaded, the result will contain the
SrcgProjItemDmndConfCodeTxt entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated SrcgProjItemDmndConfCodeTxt entities for the loaded navigation property _Text.If the navigation property _Text of a queried SrcgProjItemDemandConfCode 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 SrcgProjItemDmndConfCodeTxt entities.
-
addText
Adds elements to the list of associated SrcgProjItemDmndConfCodeTxt entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried SrcgProjItemDemandConfCode 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 SrcgProjItemDmndConfCodeTxt entities.
-
builder
-
getSrcgProjItemDemandConfCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjItemDemandConfCode
- Returns:
- Demand is Confirmed
-
getSrcgProjItemDemandConfCodeName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjItemDemandConfCodeName
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjItemDemandConfCode>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjItemDemandConfCode>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjItemDemandConfCode>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjItemDemandConfCode>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjItemDemandConfCode>
-