Class DngrsGdsBscClassfctnSgrgtnGrp
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.dangerousgoodsbasicclassification.DngrsGdsBscClassfctnSgrgtnGrp
- All Implemented Interfaces:
VdmEntitySet
public class DngrsGdsBscClassfctnSgrgtnGrp
extends VdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
implements VdmEntitySet
Segregation Group
Original entity name from the Odata EDM: DngrsGdsBscClassfctnSgrgtnGrp_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DngrsGdsBscClassfctnSgrgtnGrp instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<DngrsGdsBscClassfctnSgrgtnGrp>Selector for all available fields of DngrsGdsBscClassfctnSgrgtnGrp.static final SimpleProperty.Guid<DngrsGdsBscClassfctnSgrgtnGrp>static final SimpleProperty.Guid<DngrsGdsBscClassfctnSgrgtnGrp>static final SimpleProperty.String<DngrsGdsBscClassfctnSgrgtnGrp>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
ConstructorsConstructorDescriptionDngrsGdsBscClassfctnSgrgtnGrp(UUID cmplRqRsltDngrsGdsSgrgtnUUID, UUID cmplRqRsltUUID, String segregationGroupForProduct, DngrsGoodsBasicClassification to_DngrsGoodsBasicClassification) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullableConstraints: Not nullableprotected Stringio.vavr.control.Option<DngrsGoodsBasicClassification>Retrieval of associated DngrsGoodsBasicClassification entity (one to one).protected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetCmplRqRsltDngrsGdsSgrgtnUUID(UUID cmplRqRsltDngrsGdsSgrgtnUUID) (Key Field) Constraints: Not nullablevoidsetCmplRqRsltUUID(UUID cmplRqRsltUUID) Constraints: Not nullablevoidOverwrites the associated DngrsGoodsBasicClassification entity for the loaded navigation property _DngrsGoodsBasicClassification.voidsetSegregationGroupForProduct(String segregationGroupForProduct) Constraints: Not nullable, Maximum length: 10toString()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 DngrsGdsBscClassfctnSgrgtnGrp. -
CMPL_RQ_RSLT_DNGRS_GDS_SGRGTN_UUID
public static final SimpleProperty.Guid<DngrsGdsBscClassfctnSgrgtnGrp> CMPL_RQ_RSLT_DNGRS_GDS_SGRGTN_UUID -
CMPL_RQ_RSLT_UUID
-
SEGREGATION_GROUP_FOR_PRODUCT
public static final SimpleProperty.String<DngrsGdsBscClassfctnSgrgtnGrp> SEGREGATION_GROUP_FOR_PRODUCT -
TO__DNGRS_GOODS_BASIC_CLASSIFICATION
public static final NavigationProperty.Single<DngrsGdsBscClassfctnSgrgtnGrp,DngrsGoodsBasicClassification> TO__DNGRS_GOODS_BASIC_CLASSIFICATIONUse with available request builders to apply the _DngrsGoodsBasicClassification navigation property to query operations.
-
-
Constructor Details
-
DngrsGdsBscClassfctnSgrgtnGrp
public DngrsGdsBscClassfctnSgrgtnGrp() -
DngrsGdsBscClassfctnSgrgtnGrp
public DngrsGdsBscClassfctnSgrgtnGrp(@Nullable UUID cmplRqRsltDngrsGdsSgrgtnUUID, @Nullable UUID cmplRqRsltUUID, @Nullable String segregationGroupForProduct, @Nullable DngrsGoodsBasicClassification to_DngrsGoodsBasicClassification)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DngrsGdsBscClassfctnSgrgtnGrp>
-
setCmplRqRsltDngrsGdsSgrgtnUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltDngrsGdsSgrgtnUUID
- Parameters:
cmplRqRsltDngrsGdsSgrgtnUUID- Dangerous Goods Segragation Group
-
setCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Parameters:
cmplRqRsltUUID- Compliance Assessment UUID
-
setSegregationGroupForProduct
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SegregationGroupForProduct
- Parameters:
segregationGroupForProduct- ID of the Segregation Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
-
getKey
- Overrides:
getKeyin classVdmObject<DngrsGdsBscClassfctnSgrgtnGrp>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DngrsGdsBscClassfctnSgrgtnGrp>
-
fromMap
- Overrides:
fromMapin classVdmObject<DngrsGdsBscClassfctnSgrgtnGrp>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
-
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 DngrsGdsBscClassfctnSgrgtnGrp 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
-
getCmplRqRsltDngrsGdsSgrgtnUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltDngrsGdsSgrgtnUUID
- Returns:
- Dangerous Goods Segragation Group
-
getCmplRqRsltUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Returns:
- Compliance Assessment UUID
-
getSegregationGroupForProduct
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SegregationGroupForProduct
- Returns:
- ID of the Segregation Group
-
toString
- Overrides:
toStringin classVdmObject<DngrsGdsBscClassfctnSgrgtnGrp>
-
equals
- Overrides:
equalsin classVdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DngrsGdsBscClassfctnSgrgtnGrp>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<DngrsGdsBscClassfctnSgrgtnGrp>
-