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

public class CndnContrConditionRecordText extends VdmEntity<CndnContrConditionRecordText> implements VdmEntitySet
Condition Record Text

Original entity name from the Odata EDM: CndnContrConditionRecordText_Type

  • Field Details

  • Constructor Details

    • CndnContrConditionRecordText

      public CndnContrConditionRecordText()
    • CndnContrConditionRecordText

      public CndnContrConditionRecordText(@Nullable String conditionContract, @Nullable String conditionRecord, @Nullable String language, @Nullable String cndnContrCndnRecdDesc, @Nullable CndnContrConditionRecord to_CndnContrCndnRecord, @Nullable ConditionContract to_ConditionContract)
  • Method Details

    • getType

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

      public void setConditionContract(@Nullable String conditionContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionContract

      Parameters:
      conditionContract - Condition Contract
    • setConditionRecord

      public void setConditionRecord(@Nullable String conditionRecord)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionRecord

      Parameters:
      conditionRecord - Number of Condition Record
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setCndnContrCndnRecdDesc

      public void setCndnContrCndnRecdDesc(@Nullable String cndnContrCndnRecdDesc)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CndnContrCndnRecdDesc

      Parameters:
      cndnContrCndnRecdDesc - Description for Condition Record
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CndnContrConditionRecordText 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 _CndnContrCndnRecord is already loaded, the result will contain the CndnContrConditionRecord entity. If not, an Option with result state empty is returned.
    • setCndnContrCndnRecord

      public void setCndnContrCndnRecord(CndnContrConditionRecord value)
      Overwrites the associated CndnContrConditionRecord entity for the loaded navigation property _CndnContrCndnRecord.
      Parameters:
      value - New CndnContrConditionRecord entity.
    • getConditionContractIfPresent

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

      If the navigation property for an entity CndnContrConditionRecordText 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 _ConditionContract is already loaded, the result will contain the ConditionContract entity. If not, an Option with result state empty is returned.
    • setConditionContract

      public void setConditionContract(ConditionContract value)
      Overwrites the associated ConditionContract entity for the loaded navigation property _ConditionContract.
      Parameters:
      value - New ConditionContract entity.
    • builder

    • getConditionContract

      @Nullable public String getConditionContract()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionContract

      Returns:
      Condition Contract
    • getConditionRecord

      @Nullable public String getConditionRecord()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ConditionRecord

      Returns:
      Number of Condition Record
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getCndnContrCndnRecdDesc

      @Nullable public String getCndnContrCndnRecdDesc()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CndnContrCndnRecdDesc

      Returns:
      Description for Condition Record
    • toString

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

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

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

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

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