Class SafetyDataSheetAssessmentCntry
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SafetyDataSheetAssessmentCntry>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.safetydatasheetassessment.SafetyDataSheetAssessmentCntry
- All Implemented Interfaces:
VdmEntitySet
public class SafetyDataSheetAssessmentCntry
extends VdmEntity<SafetyDataSheetAssessmentCntry>
implements VdmEntitySet
SDS Assessment Country/Region Details
Original entity name from the Odata EDM: SafetyDataSheetAssessmentCntry_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SafetyDataSheetAssessmentCntry instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SafetyDataSheetAssessmentCntry>Selector for all available fields of SafetyDataSheetAssessmentCntry.static final SimpleProperty.Guid<SafetyDataSheetAssessmentCntry>static final SimpleProperty.Guid<SafetyDataSheetAssessmentCntry>static final SimpleProperty.String<SafetyDataSheetAssessmentCntry>Use with available request builders to apply the _SftyDtaShtAssmt 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
ConstructorsConstructorDescriptionSafetyDataSheetAssessmentCntry(UUID cmplRqRsltCntryInfoUUID, UUID cmplRqRsltUUID, String country, SafetyDataSheetAssessment to_SftyDtaShtAssmt) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 3protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<SafetyDataSheetAssessment>Retrieval of associated SafetyDataSheetAssessment entity (one to one).getType()inthashCode()voidsetCmplRqRsltCntryInfoUUID(UUID cmplRqRsltCntryInfoUUID) (Key Field) Constraints: Not nullablevoidsetCmplRqRsltUUID(UUID cmplRqRsltUUID) Constraints: Not nullablevoidsetCountry(String country) Constraints: Not nullable, Maximum length: 3voidOverwrites the associated SafetyDataSheetAssessment entity for the loaded navigation property _SftyDtaShtAssmt.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 SafetyDataSheetAssessmentCntry. -
CMPL_RQ_RSLT_CNTRY_INFO_UUID
public static final SimpleProperty.Guid<SafetyDataSheetAssessmentCntry> CMPL_RQ_RSLT_CNTRY_INFO_UUID -
CMPL_RQ_RSLT_UUID
-
COUNTRY
-
TO__SFTY_DTA_SHT_ASSMT
public static final NavigationProperty.Single<SafetyDataSheetAssessmentCntry,SafetyDataSheetAssessment> TO__SFTY_DTA_SHT_ASSMTUse with available request builders to apply the _SftyDtaShtAssmt navigation property to query operations.
-
-
Constructor Details
-
SafetyDataSheetAssessmentCntry
public SafetyDataSheetAssessmentCntry() -
SafetyDataSheetAssessmentCntry
public SafetyDataSheetAssessmentCntry(@Nullable UUID cmplRqRsltCntryInfoUUID, @Nullable UUID cmplRqRsltUUID, @Nullable String country, @Nullable SafetyDataSheetAssessment to_SftyDtaShtAssmt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SafetyDataSheetAssessmentCntry>
-
setCmplRqRsltCntryInfoUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltCntryInfoUUID
- Parameters:
cmplRqRsltCntryInfoUUID- SDS Country/Region Information
-
setCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Parameters:
cmplRqRsltUUID- Compliance Assessment UUID
-
setCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SafetyDataSheetAssessmentCntry>
-
getKey
- Overrides:
getKeyin classVdmObject<SafetyDataSheetAssessmentCntry>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SafetyDataSheetAssessmentCntry>
-
fromMap
- Overrides:
fromMapin classVdmObject<SafetyDataSheetAssessmentCntry>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SafetyDataSheetAssessmentCntry>
-
getSftyDtaShtAssmtIfPresent
Retrieval of associated SafetyDataSheetAssessment entity (one to one). This corresponds to the OData navigation property _SftyDtaShtAssmt.If the navigation property for an entity SafetyDataSheetAssessmentCntry 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 _SftyDtaShtAssmt is already loaded, the result will
contain the SafetyDataSheetAssessment entity. If not, an
Optionwith result stateemptyis returned.
-
setSftyDtaShtAssmt
Overwrites the associated SafetyDataSheetAssessment entity for the loaded navigation property _SftyDtaShtAssmt.- Parameters:
value- New SafetyDataSheetAssessment entity.
-
builder
@Nonnull public static SafetyDataSheetAssessmentCntry.SafetyDataSheetAssessmentCntryBuilder builder() -
getCmplRqRsltCntryInfoUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltCntryInfoUUID
- Returns:
- SDS Country/Region Information
-
getCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Returns:
- Compliance Assessment UUID
-
getCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region
-
toString
- Overrides:
toStringin classVdmObject<SafetyDataSheetAssessmentCntry>
-
equals
- Overrides:
equalsin classVdmEntity<SafetyDataSheetAssessmentCntry>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SafetyDataSheetAssessmentCntry>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SafetyDataSheetAssessmentCntry>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SafetyDataSheetAssessmentCntry>
-