Class CmplRqRsltPCNCntr
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CmplRqRsltPCNCntr>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.poisoncenternotification.CmplRqRsltPCNCntr
- All Implemented Interfaces:
VdmEntitySet
Poison Center Notification Country
Original entity name from the Odata EDM: CmplRqRsltPCNCntr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CmplRqRsltPCNCntr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CmplRqRsltPCNCntr>Selector for all available fields of CmplRqRsltPCNCntr.static final SimpleProperty.String<CmplRqRsltPCNCntr>static final SimpleProperty.Guid<CmplRqRsltPCNCntr>static final NavigationProperty.Single<CmplRqRsltPCNCntr,CmplRqRsltPCNDets> Use with available request builders to apply the _PCNDetail navigation property to query operations.static final NavigationProperty.Single<CmplRqRsltPCNCntr,CmplRqRsltPCN> Use with available request builders to apply the _PoisonCenterNotification 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
ConstructorsConstructorDescriptionCmplRqRsltPCNCntr(UUID poisonCtrNotifCntrsUUID, String country, CmplRqRsltPCNDets to_PCNDetail, CmplRqRsltPCN to_PoisonCenterNotification) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<CmplRqRsltPCNDets>Retrieval of associated CmplRqRsltPCNDets entity (one to one).io.vavr.control.Option<CmplRqRsltPCN>Retrieval of associated CmplRqRsltPCN entity (one to one).(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetCountry(String country) Constraints: Not nullable, Maximum length: 3voidsetPCNDetail(CmplRqRsltPCNDets value) Overwrites the associated CmplRqRsltPCNDets entity for the loaded navigation property _PCNDetail.voidOverwrites the associated CmplRqRsltPCN entity for the loaded navigation property _PoisonCenterNotification.voidsetPoisonCtrNotifCntrsUUID(UUID poisonCtrNotifCntrsUUID) (Key Field) Constraints: Not nullabletoString()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 CmplRqRsltPCNCntr. -
POISON_CTR_NOTIF_CNTRS_UUID
-
COUNTRY
-
TO__P_C_N_DETAIL
Use with available request builders to apply the _PCNDetail navigation property to query operations. -
TO__POISON_CENTER_NOTIFICATION
public static final NavigationProperty.Single<CmplRqRsltPCNCntr,CmplRqRsltPCN> TO__POISON_CENTER_NOTIFICATIONUse with available request builders to apply the _PoisonCenterNotification navigation property to query operations.
-
-
Constructor Details
-
CmplRqRsltPCNCntr
public CmplRqRsltPCNCntr() -
CmplRqRsltPCNCntr
public CmplRqRsltPCNCntr(@Nullable UUID poisonCtrNotifCntrsUUID, @Nullable String country, @Nullable CmplRqRsltPCNDets to_PCNDetail, @Nullable CmplRqRsltPCN to_PoisonCenterNotification)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CmplRqRsltPCNCntr>
-
setPoisonCtrNotifCntrsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PoisonCtrNotifCntrsUUID
- Parameters:
poisonCtrNotifCntrsUUID- Poison Centre Notification Countries UUID
-
setCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CmplRqRsltPCNCntr>
-
getKey
- Overrides:
getKeyin classVdmObject<CmplRqRsltPCNCntr>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CmplRqRsltPCNCntr>
-
fromMap
- Overrides:
fromMapin classVdmObject<CmplRqRsltPCNCntr>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CmplRqRsltPCNCntr>
-
getPCNDetailIfPresent
Retrieval of associated CmplRqRsltPCNDets entity (one to one). This corresponds to the OData navigation property _PCNDetail.If the navigation property for an entity CmplRqRsltPCNCntr 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 _PCNDetail is already loaded, the result will contain
the CmplRqRsltPCNDets entity. If not, an
Optionwith result stateemptyis returned.
-
setPCNDetail
Overwrites the associated CmplRqRsltPCNDets entity for the loaded navigation property _PCNDetail.- Parameters:
value- New CmplRqRsltPCNDets entity.
-
getPoisonCenterNotificationIfPresent
Retrieval of associated CmplRqRsltPCN entity (one to one). This corresponds to the OData navigation property _PoisonCenterNotification.If the navigation property for an entity CmplRqRsltPCNCntr 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 _PoisonCenterNotification is already loaded, the result
will contain the CmplRqRsltPCN entity. If not, an
Optionwith result stateemptyis returned.
-
setPoisonCenterNotification
Overwrites the associated CmplRqRsltPCN entity for the loaded navigation property _PoisonCenterNotification.- Parameters:
value- New CmplRqRsltPCN entity.
-
builder
-
getPoisonCtrNotifCntrsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PoisonCtrNotifCntrsUUID
- Returns:
- Poison Centre Notification Countries UUID
-
getCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region
-
toString
- Overrides:
toStringin classVdmObject<CmplRqRsltPCNCntr>
-
equals
- Overrides:
equalsin classVdmEntity<CmplRqRsltPCNCntr>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CmplRqRsltPCNCntr>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CmplRqRsltPCNCntr>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CmplRqRsltPCNCntr>
-