java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<PCSftyProperty>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.safetyrelatedproperty.PCSftyProperty
All Implemented Interfaces:
VdmEntitySet

public class PCSftyProperty extends VdmEntity<PCSftyProperty> implements VdmEntitySet
Safety-Related Property

Original entity name from the Odata EDM: PCSftyProperty_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<PCSftyProperty> getType()
      Specified by:
      getType in class VdmObject<PCSftyProperty>
    • setPCSftyPrptyUUID

      public void setPCSftyPrptyUUID(@Nullable UUID pCSftyPrptyUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PCSftyPrptyUUID

      Parameters:
      pCSftyPrptyUUID - Safety-Related Property
    • setChemicalComplianceInfo

      public void setChemicalComplianceInfo(@Nullable String chemicalComplianceInfo)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChemicalComplianceInfo

      Parameters:
      chemicalComplianceInfo - Chemical Compliance Information
    • setCompanySubstance

      public void setCompanySubstance(@Nullable String companySubstance)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CompanySubstance

      Parameters:
      companySubstance - Related Substance of the Composition
    • setPCPrptyProcgSts

      public void setPCPrptyProcgSts(@Nullable String pCPrptyProcgSts)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PCPrptyProcgSts

      Parameters:
      pCPrptyProcgSts - Processing Status for a Property
    • setValidityStartDateTime

      public void setValidityStartDateTime(@Nullable OffsetDateTime validityStartDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDateTime

      Parameters:
      validityStartDateTime - Valid-From Date Time Stamp
    • setValidityEndDateTime

      public void setValidityEndDateTime(@Nullable OffsetDateTime validityEndDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDateTime

      Parameters:
      validityEndDateTime - Valid-To Date Time Stamp
    • setPCSftyFlashPointHasNoAppl

      public void setPCSftyFlashPointHasNoAppl(@Nullable Boolean pCSftyFlashPointHasNoAppl)
      Constraints: Not nullable

      Original property name from the Odata EDM: PCSftyFlashPointHasNoAppl

      Parameters:
      pCSftyFlashPointHasNoAppl - Is Not Applicable Indicator for Product Compliance Property
    • setPCSftyFlashPointHasNoData

      public void setPCSftyFlashPointHasNoData(@Nullable Boolean pCSftyFlashPointHasNoData)
      Constraints: Not nullable

      Original property name from the Odata EDM: PCSftyFlashPointHasNoData

      Parameters:
      pCSftyFlashPointHasNoData - Has No Data Indicator for a Product Compliance Property
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<PCSftyProperty>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<PCSftyProperty>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<PCSftyProperty>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<PCSftyProperty>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<PCSftyProperty>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<PCSftyProperty>
    • getFlashPointIfPresent

      @Nonnull public io.vavr.control.Option<PCSftyFlashPoint> getFlashPointIfPresent()
      Retrieval of associated PCSftyFlashPoint entity (one to one). This corresponds to the OData navigation property _FlashPoint.

      If the navigation property for an entity PCSftyProperty has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _FlashPoint is already loaded, the result will contain the PCSftyFlashPoint entity. If not, an Option with result state empty is returned.
    • setFlashPoint

      public void setFlashPoint(PCSftyFlashPoint value)
      Overwrites the associated PCSftyFlashPoint entity for the loaded navigation property _FlashPoint.
      Parameters:
      value - New PCSftyFlashPoint entity.
    • validate

      @Nonnull public static BoundAction.CollectionToSingle<PCSftyProperty,Void> validate(@Nonnull D_PCSftyPropertyCrteFlshPtP _FlashPoint, @Nonnull String chemicalComplianceInfo, @Nonnull String companySubstance, @Nonnull Boolean pCSftyFlashPointHasNoAppl, @Nonnull Boolean pCSftyFlashPointHasNoData)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      companySubstance - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: CompanySubstance

      chemicalComplianceInfo - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ChemicalComplianceInfo

      pCSftyFlashPointHasNoAppl - Constraints: Not nullable

      Original parameter name from the Odata EDM: PCSftyFlashPointHasNoAppl

      pCSftyFlashPointHasNoData - Constraints: Not nullable

      Original parameter name from the Odata EDM: PCSftyFlashPointHasNoData

      _FlashPoint - Constraints: Not nullable

      Original parameter name from the Odata EDM: _FlashPoint

      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.
    • createAndReleaseVersion

      @Nonnull public static BoundAction.CollectionToSingle<PCSftyProperty,PCSftyProperty> createAndReleaseVersion(@Nonnull D_PCSftyPropertyCrteFlshPtP _FlashPoint, @Nonnull String chemicalComplianceInfo, @Nonnull String companySubstance, @Nonnull Boolean pCSftyFlashPointHasNoAppl, @Nonnull Boolean pCSftyFlashPointHasNoData)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      companySubstance - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: CompanySubstance

      chemicalComplianceInfo - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ChemicalComplianceInfo

      pCSftyFlashPointHasNoAppl - Constraints: Not nullable

      Original parameter name from the Odata EDM: PCSftyFlashPointHasNoAppl

      pCSftyFlashPointHasNoData - Constraints: Not nullable

      Original parameter name from the Odata EDM: PCSftyFlashPointHasNoData

      _FlashPoint - Constraints: Not nullable

      Original parameter name from the Odata EDM: _FlashPoint

      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

      @Nonnull public static PCSftyProperty.PCSftyPropertyBuilder builder()
    • getPCSftyPrptyUUID

      @Nullable public UUID getPCSftyPrptyUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PCSftyPrptyUUID

      Returns:
      Safety-Related Property
    • getChemicalComplianceInfo

      @Nullable public String getChemicalComplianceInfo()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChemicalComplianceInfo

      Returns:
      Chemical Compliance Information
    • getCompanySubstance

      @Nullable public String getCompanySubstance()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CompanySubstance

      Returns:
      Related Substance of the Composition
    • getPCPrptyProcgSts

      @Nullable public String getPCPrptyProcgSts()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PCPrptyProcgSts

      Returns:
      Processing Status for a Property
    • getValidityStartDateTime

      @Nullable public OffsetDateTime getValidityStartDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDateTime

      Returns:
      Valid-From Date Time Stamp
    • getValidityEndDateTime

      @Nullable public OffsetDateTime getValidityEndDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDateTime

      Returns:
      Valid-To Date Time Stamp
    • getPCSftyFlashPointHasNoAppl

      @Nullable public Boolean getPCSftyFlashPointHasNoAppl()
      Constraints: Not nullable

      Original property name from the Odata EDM: PCSftyFlashPointHasNoAppl

      Returns:
      Is Not Applicable Indicator for Product Compliance Property
    • getPCSftyFlashPointHasNoData

      @Nullable public Boolean getPCSftyFlashPointHasNoData()
      Constraints: Not nullable

      Original property name from the Odata EDM: PCSftyFlashPointHasNoData

      Returns:
      Has No Data Indicator for a Product Compliance Property
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<PCSftyProperty>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<PCSftyProperty>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<PCSftyProperty>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PCSftyProperty>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<PCSftyProperty>