Class DngrsGdsSafetyDataSheetNote
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<DngrsGdsSafetyDataSheetNote>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.dangerousgoodsbasicclassification.DngrsGdsSafetyDataSheetNote
- All Implemented Interfaces:
VdmEntitySet
public class DngrsGdsSafetyDataSheetNote
extends VdmEntity<DngrsGdsSafetyDataSheetNote>
implements VdmEntitySet
Safety Data Sheet Note
Original entity name from the Odata EDM: DngrsGdsSafetyDataSheetNote_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DngrsGdsSafetyDataSheetNote instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<DngrsGdsSafetyDataSheetNote>Selector for all available fields of DngrsGdsSafetyDataSheetNote.static final SimpleProperty.Guid<DngrsGdsSafetyDataSheetNote>static final SimpleProperty.Guid<DngrsGdsSafetyDataSheetNote>static final SimpleProperty.String<DngrsGdsSafetyDataSheetNote>Use with available request builders to apply the _DngrsGoodsBasicClassification 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
ConstructorsConstructorDescriptionDngrsGdsSafetyDataSheetNote(UUID cmplRqRsltSftyDtaShtNoteUUID, UUID cmplRqRsltUUID, String dangerousGdsSftyDtaShtNotePhrs, DngrsGoodsBasicClassification to_DngrsGoodsBasicClassification) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 30protected Stringio.vavr.control.Option<DngrsGoodsBasicClassification>Retrieval of associated DngrsGoodsBasicClassification entity (one to one).protected Stringprotected ODataEntityKeygetKey()getType()inthashCode()voidsetCmplRqRsltSftyDtaShtNoteUUID(UUID cmplRqRsltSftyDtaShtNoteUUID) (Key Field) Constraints: Not nullablevoidsetCmplRqRsltUUID(UUID cmplRqRsltUUID) Constraints: Not nullablevoidsetDangerousGdsSftyDtaShtNotePhrs(String dangerousGdsSftyDtaShtNotePhrs) Constraints: Not nullable, Maximum length: 30voidOverwrites the associated DngrsGoodsBasicClassification entity for the loaded navigation property _DngrsGoodsBasicClassification.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 DngrsGdsSafetyDataSheetNote. -
CMPL_RQ_RSLT_SFTY_DTA_SHT_NOTE_UUID
public static final SimpleProperty.Guid<DngrsGdsSafetyDataSheetNote> CMPL_RQ_RSLT_SFTY_DTA_SHT_NOTE_UUID -
CMPL_RQ_RSLT_UUID
-
DANGEROUS_GDS_SFTY_DTA_SHT_NOTE_PHRS
public static final SimpleProperty.String<DngrsGdsSafetyDataSheetNote> DANGEROUS_GDS_SFTY_DTA_SHT_NOTE_PHRS -
TO__DNGRS_GOODS_BASIC_CLASSIFICATION
public static final NavigationProperty.Single<DngrsGdsSafetyDataSheetNote,DngrsGoodsBasicClassification> TO__DNGRS_GOODS_BASIC_CLASSIFICATIONUse with available request builders to apply the _DngrsGoodsBasicClassification navigation property to query operations.
-
-
Constructor Details
-
DngrsGdsSafetyDataSheetNote
public DngrsGdsSafetyDataSheetNote() -
DngrsGdsSafetyDataSheetNote
public DngrsGdsSafetyDataSheetNote(@Nullable UUID cmplRqRsltSftyDtaShtNoteUUID, @Nullable UUID cmplRqRsltUUID, @Nullable String dangerousGdsSftyDtaShtNotePhrs, @Nullable DngrsGoodsBasicClassification to_DngrsGoodsBasicClassification)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DngrsGdsSafetyDataSheetNote>
-
setCmplRqRsltSftyDtaShtNoteUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltSftyDtaShtNoteUUID
- Parameters:
cmplRqRsltSftyDtaShtNoteUUID- Safety Data Sheet Notes UUID
-
setCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Parameters:
cmplRqRsltUUID- Compliance Assessment UUID
-
setDangerousGdsSftyDtaShtNotePhrs
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: DangerousGdsSftyDtaShtNotePhrs
- Parameters:
dangerousGdsSftyDtaShtNotePhrs- Phrase ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DngrsGdsSafetyDataSheetNote>
-
getKey
- Overrides:
getKeyin classVdmObject<DngrsGdsSafetyDataSheetNote>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DngrsGdsSafetyDataSheetNote>
-
fromMap
- Overrides:
fromMapin classVdmObject<DngrsGdsSafetyDataSheetNote>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DngrsGdsSafetyDataSheetNote>
-
getDngrsGoodsBasicClassificationIfPresent
@Nonnull public io.vavr.control.Option<DngrsGoodsBasicClassification> getDngrsGoodsBasicClassificationIfPresent()Retrieval of associated DngrsGoodsBasicClassification entity (one to one). This corresponds to the OData navigation property _DngrsGoodsBasicClassification.If the navigation property for an entity DngrsGdsSafetyDataSheetNote 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 _DngrsGoodsBasicClassification is already loaded, the
result will contain the DngrsGoodsBasicClassification entity. If not, an
Optionwith result stateemptyis returned.
-
setDngrsGoodsBasicClassification
Overwrites the associated DngrsGoodsBasicClassification entity for the loaded navigation property _DngrsGoodsBasicClassification.- Parameters:
value- New DngrsGoodsBasicClassification entity.
-
builder
-
getCmplRqRsltSftyDtaShtNoteUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltSftyDtaShtNoteUUID
- Returns:
- Safety Data Sheet Notes UUID
-
getCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Returns:
- Compliance Assessment UUID
-
getDangerousGdsSftyDtaShtNotePhrs
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: DangerousGdsSftyDtaShtNotePhrs
- Returns:
- Phrase ID
-
toString
- Overrides:
toStringin classVdmObject<DngrsGdsSafetyDataSheetNote>
-
equals
- Overrides:
equalsin classVdmEntity<DngrsGdsSafetyDataSheetNote>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DngrsGdsSafetyDataSheetNote>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DngrsGdsSafetyDataSheetNote>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<DngrsGdsSafetyDataSheetNote>
-