Class DngrsGdsClassfctnHazardLabel
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: DngrsGdsClassfctnHazardLabel_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DngrsGdsClassfctnHazardLabel instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<DngrsGdsClassfctnHazardLabel>Selector for all available fields of DngrsGdsClassfctnHazardLabel.static final SimpleProperty.Guid<DngrsGdsClassfctnHazardLabel>static final SimpleProperty.Guid<DngrsGdsClassfctnHazardLabel>static final SimpleProperty.String<DngrsGdsClassfctnHazardLabel>static final SimpleProperty.String<DngrsGdsClassfctnHazardLabel>Use with available request builders to apply the _DangerousGoodsClassification 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
ConstructorsConstructorDescriptionDngrsGdsClassfctnHazardLabel(UUID cmplRqRsltDngrsGdsLblUUID, UUID cmplRqRsltUUID, String dangerousGoodsHazardLabel, String dangerousGoodsHazardLabelName, DangerousGoodsClassification to_DangerousGoodsClassification) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullableConstraints: Not nullableio.vavr.control.Option<DangerousGoodsClassification>Retrieval of associated DangerousGoodsClassification entity (one to one).Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 1333protected Stringprotected Stringprotected ODataEntityKeygetKey()getType()inthashCode()voidsetCmplRqRsltDngrsGdsLblUUID(UUID cmplRqRsltDngrsGdsLblUUID) (Key Field) Constraints: Not nullablevoidsetCmplRqRsltUUID(UUID cmplRqRsltUUID) Constraints: Not nullablevoidOverwrites the associated DangerousGoodsClassification entity for the loaded navigation property _DangerousGoodsClassification.voidsetDangerousGoodsHazardLabel(String dangerousGoodsHazardLabel) Constraints: Not nullable, Maximum length: 30voidsetDangerousGoodsHazardLabelName(String dangerousGoodsHazardLabelName) Constraints: Not nullable, Maximum length: 1333toString()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 DngrsGdsClassfctnHazardLabel. -
CMPL_RQ_RSLT_DNGRS_GDS_LBL_UUID
public static final SimpleProperty.Guid<DngrsGdsClassfctnHazardLabel> CMPL_RQ_RSLT_DNGRS_GDS_LBL_UUID -
CMPL_RQ_RSLT_UUID
-
DANGEROUS_GOODS_HAZARD_LABEL
public static final SimpleProperty.String<DngrsGdsClassfctnHazardLabel> DANGEROUS_GOODS_HAZARD_LABEL -
DANGEROUS_GOODS_HAZARD_LABEL_NAME
public static final SimpleProperty.String<DngrsGdsClassfctnHazardLabel> DANGEROUS_GOODS_HAZARD_LABEL_NAME -
TO__DANGEROUS_GOODS_CLASSIFICATION
public static final NavigationProperty.Single<DngrsGdsClassfctnHazardLabel,DangerousGoodsClassification> TO__DANGEROUS_GOODS_CLASSIFICATIONUse with available request builders to apply the _DangerousGoodsClassification navigation property to query operations.
-
-
Constructor Details
-
DngrsGdsClassfctnHazardLabel
public DngrsGdsClassfctnHazardLabel() -
DngrsGdsClassfctnHazardLabel
public DngrsGdsClassfctnHazardLabel(@Nullable UUID cmplRqRsltDngrsGdsLblUUID, @Nullable UUID cmplRqRsltUUID, @Nullable String dangerousGoodsHazardLabel, @Nullable String dangerousGoodsHazardLabelName, @Nullable DangerousGoodsClassification to_DangerousGoodsClassification)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DngrsGdsClassfctnHazardLabel>
-
setCmplRqRsltDngrsGdsLblUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltDngrsGdsLblUUID
- Parameters:
cmplRqRsltDngrsGdsLblUUID- Dangerous Goods Labeling
-
setCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Parameters:
cmplRqRsltUUID- Compliance Assessment UUID
-
setDangerousGoodsHazardLabel
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: DangerousGoodsHazardLabel
- Parameters:
dangerousGoodsHazardLabel- Dangerous Goods Hazard Label
-
setDangerousGoodsHazardLabelName
Constraints: Not nullable, Maximum length: 1333Original property name from the Odata EDM: DangerousGoodsHazardLabelName
- Parameters:
dangerousGoodsHazardLabelName- Name of the Hazard Label for Dangerous Goods
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DngrsGdsClassfctnHazardLabel>
-
getKey
- Overrides:
getKeyin classVdmObject<DngrsGdsClassfctnHazardLabel>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DngrsGdsClassfctnHazardLabel>
-
fromMap
- Overrides:
fromMapin classVdmObject<DngrsGdsClassfctnHazardLabel>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DngrsGdsClassfctnHazardLabel>
-
getDangerousGoodsClassificationIfPresent
@Nonnull public io.vavr.control.Option<DangerousGoodsClassification> getDangerousGoodsClassificationIfPresent()Retrieval of associated DangerousGoodsClassification entity (one to one). This corresponds to the OData navigation property _DangerousGoodsClassification.If the navigation property for an entity DngrsGdsClassfctnHazardLabel 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 _DangerousGoodsClassification is already loaded, the
result will contain the DangerousGoodsClassification entity. If not, an
Optionwith result stateemptyis returned.
-
setDangerousGoodsClassification
Overwrites the associated DangerousGoodsClassification entity for the loaded navigation property _DangerousGoodsClassification.- Parameters:
value- New DangerousGoodsClassification entity.
-
builder
-
getCmplRqRsltDngrsGdsLblUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltDngrsGdsLblUUID
- Returns:
- Dangerous Goods Labeling
-
getCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Returns:
- Compliance Assessment UUID
-
getDangerousGoodsHazardLabel
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: DangerousGoodsHazardLabel
- Returns:
- Dangerous Goods Hazard Label
-
getDangerousGoodsHazardLabelName
Constraints: Not nullable, Maximum length: 1333Original property name from the Odata EDM: DangerousGoodsHazardLabelName
- Returns:
- Name of the Hazard Label for Dangerous Goods
-
toString
- Overrides:
toStringin classVdmObject<DngrsGdsClassfctnHazardLabel>
-
equals
- Overrides:
equalsin classVdmEntity<DngrsGdsClassfctnHazardLabel>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DngrsGdsClassfctnHazardLabel>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DngrsGdsClassfctnHazardLabel>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<DngrsGdsClassfctnHazardLabel>
-