Class EntProjElmntDlvbrlType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: EntProjElmntDlvbrlType_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntProjElmntDlvbrlType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<EntProjElmntDlvbrlType>Selector for all available fields of EntProjElmntDlvbrlType.static final SimpleProperty.String<EntProjElmntDlvbrlType>static final SimpleProperty.String<EntProjElmntDlvbrlType>Use with available request builders to apply the _DeliverableTypeText 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
ConstructorsConstructorDescriptionEntProjElmntDlvbrlType(String entProjElmntDeliverableType, String entProjElmntDlvbrlTypeText, List<EntProjElmntDlvbrlTypeText> to_DeliverableTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeliverableTypeText(EntProjElmntDlvbrlTypeText... entity) Adds elements to the list of associated EntProjElmntDlvbrlTypeText entities.builder()protected booleanbooleanprotected voidprotected Stringio.vavr.control.Option<List<EntProjElmntDlvbrlTypeText>>Retrieval of associated EntProjElmntDlvbrlTypeText entities (one to many).protected String(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 20protected ODataEntityKeygetKey()getType()inthashCode()voidOverwrites the list of associated EntProjElmntDlvbrlTypeText entities for the loaded navigation property _DeliverableTypeText.voidsetEntProjElmntDeliverableType(String entProjElmntDeliverableType) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetEntProjElmntDlvbrlTypeText(String entProjElmntDlvbrlTypeText) Constraints: Not nullable, Maximum length: 20toString()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 EntProjElmntDlvbrlType. -
ENT_PROJ_ELMNT_DELIVERABLE_TYPE
-
ENT_PROJ_ELMNT_DLVBRL_TYPE_TEXT
-
TO__DELIVERABLE_TYPE_TEXT
public static final NavigationProperty.Collection<EntProjElmntDlvbrlType,EntProjElmntDlvbrlTypeText> TO__DELIVERABLE_TYPE_TEXTUse with available request builders to apply the _DeliverableTypeText navigation property to query operations.
-
-
Constructor Details
-
EntProjElmntDlvbrlType
public EntProjElmntDlvbrlType() -
EntProjElmntDlvbrlType
public EntProjElmntDlvbrlType(@Nullable String entProjElmntDeliverableType, @Nullable String entProjElmntDlvbrlTypeText, List<EntProjElmntDlvbrlTypeText> to_DeliverableTypeText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntProjElmntDlvbrlType>
-
setEntProjElmntDeliverableType
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: EntProjElmntDeliverableType
- Parameters:
entProjElmntDeliverableType- Type of a Project Element Deliverable
-
setEntProjElmntDlvbrlTypeText
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: EntProjElmntDlvbrlTypeText
- Parameters:
entProjElmntDlvbrlTypeText- General Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EntProjElmntDlvbrlType>
-
getKey
- Overrides:
getKeyin classVdmObject<EntProjElmntDlvbrlType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntProjElmntDlvbrlType>
-
fromMap
- Overrides:
fromMapin classVdmObject<EntProjElmntDlvbrlType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntProjElmntDlvbrlType>
-
getDeliverableTypeTextIfPresent
@Nonnull public io.vavr.control.Option<List<EntProjElmntDlvbrlTypeText>> getDeliverableTypeTextIfPresent()Retrieval of associated EntProjElmntDlvbrlTypeText entities (one to many). This corresponds to the OData navigation property _DeliverableTypeText.If the navigation property for an entity EntProjElmntDlvbrlType 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 _DeliverableTypeText is already loaded, the result will
contain the EntProjElmntDlvbrlTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setDeliverableTypeText
Overwrites the list of associated EntProjElmntDlvbrlTypeText entities for the loaded navigation property _DeliverableTypeText.If the navigation property _DeliverableTypeText of a queried EntProjElmntDlvbrlType 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 EntProjElmntDlvbrlTypeText entities.
-
addDeliverableTypeText
Adds elements to the list of associated EntProjElmntDlvbrlTypeText entities. This corresponds to the OData navigation property _DeliverableTypeText.If the navigation property _DeliverableTypeText of a queried EntProjElmntDlvbrlType 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 EntProjElmntDlvbrlTypeText entities.
-
builder
-
getEntProjElmntDeliverableType
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: EntProjElmntDeliverableType
- Returns:
- Type of a Project Element Deliverable
-
getEntProjElmntDlvbrlTypeText
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: EntProjElmntDlvbrlTypeText
- Returns:
- General Name
-
toString
- Overrides:
toStringin classVdmObject<EntProjElmntDlvbrlType>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjElmntDlvbrlType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjElmntDlvbrlType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjElmntDlvbrlType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<EntProjElmntDlvbrlType>
-