Class ChemicalComplianceInfoPurpose
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ChemicalComplianceInfoPurpose>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.chemicalcomplianceinfo.ChemicalComplianceInfoPurpose
- All Implemented Interfaces:
VdmEntitySet
public class ChemicalComplianceInfoPurpose
extends VdmEntity<ChemicalComplianceInfoPurpose>
implements VdmEntitySet
Chml Cmplnc Info Purpose Assignment
Original entity name from the Odata EDM: ChemicalComplianceInfoPurpose_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ChemicalComplianceInfoPurpose instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ChemicalComplianceInfoPurpose>Selector for all available fields of ChemicalComplianceInfoPurpose.static final SimpleProperty.Guid<ChemicalComplianceInfoPurpose>static final SimpleProperty.String<ChemicalComplianceInfoPurpose>Use with available request builders to apply the _ChmlCmplncInfo 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
ConstructorsConstructorDescriptionChemicalComplianceInfoPurpose(UUID chmlCmplncPrpsAssgmtUUID, String cmplncPrps, ChemicalComplianceInfo to_ChmlCmplncInfo) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<ChemicalComplianceInfo>Retrieval of associated ChemicalComplianceInfo entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 15protected Stringprotected Stringprotected ODataEntityKeygetKey()getType()inthashCode()voidOverwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ChmlCmplncInfo.voidsetChmlCmplncPrpsAssgmtUUID(UUID chmlCmplncPrpsAssgmtUUID) (Key Field) Constraints: Not nullablevoidsetCmplncPrps(String cmplncPrps) Constraints: Not nullable, Maximum length: 15toString()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 ChemicalComplianceInfoPurpose. -
CHML_CMPLNC_PRPS_ASSGMT_UUID
-
CMPLNC_PRPS
-
TO__CHML_CMPLNC_INFO
public static final NavigationProperty.Single<ChemicalComplianceInfoPurpose,ChemicalComplianceInfo> TO__CHML_CMPLNC_INFOUse with available request builders to apply the _ChmlCmplncInfo navigation property to query operations.
-
-
Constructor Details
-
ChemicalComplianceInfoPurpose
public ChemicalComplianceInfoPurpose() -
ChemicalComplianceInfoPurpose
public ChemicalComplianceInfoPurpose(@Nullable UUID chmlCmplncPrpsAssgmtUUID, @Nullable String cmplncPrps, @Nullable ChemicalComplianceInfo to_ChmlCmplncInfo)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ChemicalComplianceInfoPurpose>
-
setChmlCmplncPrpsAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncPrpsAssgmtUUID
- Parameters:
chmlCmplncPrpsAssgmtUUID- Purpose Assignment
-
setCmplncPrps
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: CmplncPrps
- Parameters:
cmplncPrps- Compliance Purpose ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ChemicalComplianceInfoPurpose>
-
getKey
- Overrides:
getKeyin classVdmObject<ChemicalComplianceInfoPurpose>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ChemicalComplianceInfoPurpose>
-
fromMap
- Overrides:
fromMapin classVdmObject<ChemicalComplianceInfoPurpose>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ChemicalComplianceInfoPurpose>
-
getChmlCmplncInfoIfPresent
Retrieval of associated ChemicalComplianceInfo entity (one to one). This corresponds to the OData navigation property _ChmlCmplncInfo.If the navigation property for an entity ChemicalComplianceInfoPurpose 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 _ChmlCmplncInfo is already loaded, the result will
contain the ChemicalComplianceInfo entity. If not, an
Optionwith result stateemptyis returned.
-
setChmlCmplncInfo
Overwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ChmlCmplncInfo.- Parameters:
value- New ChemicalComplianceInfo entity.
-
builder
-
getChmlCmplncPrpsAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncPrpsAssgmtUUID
- Returns:
- Purpose Assignment
-
getCmplncPrps
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: CmplncPrps
- Returns:
- Compliance Purpose ID
-
toString
- Overrides:
toStringin classVdmObject<ChemicalComplianceInfoPurpose>
-
equals
- Overrides:
equalsin classVdmEntity<ChemicalComplianceInfoPurpose>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ChemicalComplianceInfoPurpose>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ChemicalComplianceInfoPurpose>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ChemicalComplianceInfoPurpose>
-