Class CmplRqRsltPCN
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CmplRqRsltPCN_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CmplRqRsltPCN instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<CmplRqRsltPCN,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<CmplRqRsltPCN>Selector for all available fields of CmplRqRsltPCN.static final SimpleProperty.String<CmplRqRsltPCN>static final SimpleProperty.String<CmplRqRsltPCN>static final SimpleProperty.Guid<CmplRqRsltPCN>static final SimpleProperty.String<CmplRqRsltPCN>static final SimpleProperty.String<CmplRqRsltPCN>static final SimpleProperty.String<CmplRqRsltPCN>static final NavigationProperty.Single<CmplRqRsltPCN,CmplRqRsltPCNDets> Use with available request builders to apply the _PCNDetail navigation property to query operations.static final SimpleProperty.DateTime<CmplRqRsltPCN>static final SimpleProperty.DateTime<CmplRqRsltPCN>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionCmplRqRsltPCN(UUID cmplRqRsltUUID, String chemicalComplianceInfo, String cmplRqVers, String cmplRqRsltProcessingStatus, OffsetDateTime validityStartDateTime, OffsetDateTime validityEndDateTime, String pCNRegistrationStatus, String pCNRegistrationStatusRemarkTxt, Collection<SAP__Message> _Messages, CmplRqRsltPCNDets to_PCNDetail) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleancreateAndReleaseVersion(String chemicalComplianceInfo, String cmplRqVers, String pCNRegistrationStatus, String pCNRegistrationStatusRemarkTxt, D_CmplRqRsltPCNCreateDetP _PCNDetail) Action that can be applied to a collection of entities of this class.booleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 40protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<CmplRqRsltPCNDets>Retrieval of associated CmplRqRsltPCNDets entity (one to one).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 999999getType()Constraints: NullableConstraints: NullableinthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetChemicalComplianceInfo(String chemicalComplianceInfo) Constraints: Not nullable, Maximum length: 12voidsetCmplRqRsltProcessingStatus(String cmplRqRsltProcessingStatus) Constraints: Not nullable, Maximum length: 2voidsetCmplRqRsltUUID(UUID cmplRqRsltUUID) (Key Field) Constraints: Not nullablevoidsetCmplRqVers(String cmplRqVers) Constraints: Not nullable, Maximum length: 40voidsetPCNDetail(CmplRqRsltPCNDets value) Overwrites the associated CmplRqRsltPCNDets entity for the loaded navigation property _PCNDetail.voidsetPCNRegistrationStatus(String pCNRegistrationStatus) Constraints: Not nullable, Maximum length: 2voidsetPCNRegistrationStatusRemarkTxt(String pCNRegistrationStatusRemarkTxt) Constraints: Not nullable, Maximum length: 999999voidsetValidityEndDateTime(OffsetDateTime validityEndDateTime) Constraints: NullablevoidsetValidityStartDateTime(OffsetDateTime validityStartDateTime) Constraints: NullabletoString()validate(String chemicalComplianceInfo, String cmplRqVers, String pCNRegistrationStatus, String pCNRegistrationStatusRemarkTxt, D_CmplRqRsltPCNCreateDetP _PCNDetail) Action that can be applied to a collection of entities of this class.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 CmplRqRsltPCN. -
CMPL_RQ_RSLT_UUID
-
CHEMICAL_COMPLIANCE_INFO
-
CMPL_RQ_VERS
-
CMPL_RQ_RSLT_PROCESSING_STATUS
-
VALIDITY_START_DATE_TIME
-
VALIDITY_END_DATE_TIME
-
PCN_REGISTRATION_STATUS
-
PCN_REGISTRATION_STATUS_REMARK_TXT
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__P_C_N_DETAIL
Use with available request builders to apply the _PCNDetail navigation property to query operations.
-
-
Constructor Details
-
CmplRqRsltPCN
public CmplRqRsltPCN() -
CmplRqRsltPCN
public CmplRqRsltPCN(@Nullable UUID cmplRqRsltUUID, @Nullable String chemicalComplianceInfo, @Nullable String cmplRqVers, @Nullable String cmplRqRsltProcessingStatus, @Nullable OffsetDateTime validityStartDateTime, @Nullable OffsetDateTime validityEndDateTime, @Nullable String pCNRegistrationStatus, @Nullable String pCNRegistrationStatusRemarkTxt, @Nullable Collection<SAP__Message> _Messages, @Nullable CmplRqRsltPCNDets to_PCNDetail)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CmplRqRsltPCN>
-
setCmplRqRsltUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Parameters:
cmplRqRsltUUID- Compliance Assessment UUID
-
setChemicalComplianceInfo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChemicalComplianceInfo
- Parameters:
chemicalComplianceInfo- Chemical Compliance Information
-
setCmplRqVers
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CmplRqVers
- Parameters:
cmplRqVers- Compliance Requirement ID
-
setCmplRqRsltProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CmplRqRsltProcessingStatus
- Parameters:
cmplRqRsltProcessingStatus- Processing Status
-
setValidityStartDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDateTime
- Parameters:
validityStartDateTime- Valid-From Date Time Stamp
-
setValidityEndDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDateTime
- Parameters:
validityEndDateTime- Valid-To Date Time Stamp
-
setPCNRegistrationStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PCNRegistrationStatus
- Parameters:
pCNRegistrationStatus- Manually Set Status of a Compliance Requirement
-
setPCNRegistrationStatusRemarkTxt
Constraints: Not nullable, Maximum length: 999999Original property name from the Odata EDM: PCNRegistrationStatusRemarkTxt
- Parameters:
pCNRegistrationStatusRemarkTxt- Remarks on Status of Compliance Requirement
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CmplRqRsltPCN>
-
getKey
- Overrides:
getKeyin classVdmObject<CmplRqRsltPCN>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CmplRqRsltPCN>
-
fromMap
- Overrides:
fromMapin classVdmObject<CmplRqRsltPCN>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CmplRqRsltPCN>
-
getPCNDetailIfPresent
Retrieval of associated CmplRqRsltPCNDets entity (one to one). This corresponds to the OData navigation property _PCNDetail.If the navigation property for an entity CmplRqRsltPCN 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 _PCNDetail is already loaded, the result will contain
the CmplRqRsltPCNDets entity. If not, an
Optionwith result stateemptyis returned.
-
setPCNDetail
Overwrites the associated CmplRqRsltPCNDets entity for the loaded navigation property _PCNDetail.- Parameters:
value- New CmplRqRsltPCNDets entity.
-
createAndReleaseVersion
@Nonnull public static BoundAction.CollectionToSingle<CmplRqRsltPCN,CmplRqRsltPCN> createAndReleaseVersion(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplRqVers, @Nonnull String pCNRegistrationStatus, @Nonnull String pCNRegistrationStatusRemarkTxt, @Nonnull D_CmplRqRsltPCNCreateDetP _PCNDetail) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
pCNRegistrationStatusRemarkTxt- Constraints: Not nullable, Maximum length: 999999Original parameter name from the Odata EDM: PCNRegistrationStatusRemarkTxt
cmplRqVers- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: CmplRqVers
_PCNDetail- Constraints: Not nullableOriginal parameter name from the Odata EDM: _PCNDetail
pCNRegistrationStatus- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: PCNRegistrationStatus
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validate
@Nonnull public static BoundAction.CollectionToSingle<CmplRqRsltPCN,Void> validate(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplRqVers, @Nonnull String pCNRegistrationStatus, @Nonnull String pCNRegistrationStatusRemarkTxt, @Nonnull D_CmplRqRsltPCNCreateDetP _PCNDetail) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
pCNRegistrationStatusRemarkTxt- Constraints: Not nullable, Maximum length: 999999Original parameter name from the Odata EDM: PCNRegistrationStatusRemarkTxt
cmplRqVers- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: CmplRqVers
_PCNDetail- Constraints: Not nullableOriginal parameter name from the Odata EDM: _PCNDetail
pCNRegistrationStatus- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: PCNRegistrationStatus
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getCmplRqRsltUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Returns:
- Compliance Assessment UUID
-
getChemicalComplianceInfo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChemicalComplianceInfo
- Returns:
- Chemical Compliance Information
-
getCmplRqVers
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CmplRqVers
- Returns:
- Compliance Requirement ID
-
getCmplRqRsltProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CmplRqRsltProcessingStatus
- Returns:
- Processing Status
-
getValidityStartDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDateTime
- Returns:
- Valid-From Date Time Stamp
-
getValidityEndDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDateTime
- Returns:
- Valid-To Date Time Stamp
-
getPCNRegistrationStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PCNRegistrationStatus
- Returns:
- Manually Set Status of a Compliance Requirement
-
getPCNRegistrationStatusRemarkTxt
Constraints: Not nullable, Maximum length: 999999Original property name from the Odata EDM: PCNRegistrationStatusRemarkTxt
- Returns:
- Remarks on Status of Compliance Requirement
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<CmplRqRsltPCN>
-
equals
- Overrides:
equalsin classVdmEntity<CmplRqRsltPCN>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CmplRqRsltPCN>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CmplRqRsltPCN>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CmplRqRsltPCN>
-