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

public class JntOpgAgrmtText extends VdmEntity<JntOpgAgrmtText> implements VdmEntitySet
Description

Original entity name from the Odata EDM: A_JntOpgAgrmtTextType

  • Field Details

  • Constructor Details

    • JntOpgAgrmtText

      public JntOpgAgrmtText()
    • JntOpgAgrmtText

      public JntOpgAgrmtText(@Nullable String companyCode, @Nullable String language, @Nullable String jntOpgAgrmt, @Nullable String jntOpgAgrmtText, @Nullable String jntOpgAgrmtLongText, @Nullable JntOpgAgrmt to_JntOpgAgrmt)
  • Method Details

    • getType

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

      public void setCompanyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • 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
    • setJntOpgAgrmt

      public void setJntOpgAgrmt(@Nullable String jntOpgAgrmt)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: JntOpgAgrmt

      Parameters:
      jntOpgAgrmt - Joint Operating Agreement
    • setJntOpgAgrmtText

      public void setJntOpgAgrmtText(@Nullable String jntOpgAgrmtText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: JntOpgAgrmtText

      Parameters:
      jntOpgAgrmtText - JOA Description
    • setJntOpgAgrmtLongText

      public void setJntOpgAgrmtLongText(@Nullable String jntOpgAgrmtLongText)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: JntOpgAgrmtLongText

      Parameters:
      jntOpgAgrmtLongText - JOA long text (80 Char)
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity JntOpgAgrmtText 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 _JntOpgAgrmt is already loaded, the result will contain the JntOpgAgrmt entity. If not, an Option with result state empty is returned.
    • setJntOpgAgrmt

      public void setJntOpgAgrmt(JntOpgAgrmt value)
      Overwrites the associated JntOpgAgrmt entity for the loaded navigation property _JntOpgAgrmt.
      Parameters:
      value - New JntOpgAgrmt entity.
    • builder

      @Nonnull public static JntOpgAgrmtText.JntOpgAgrmtTextBuilder builder()
    • getCompanyCode

      @Nullable public String getCompanyCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getJntOpgAgrmt

      @Nullable public String getJntOpgAgrmt()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: JntOpgAgrmt

      Returns:
      Joint Operating Agreement
    • getJntOpgAgrmtText

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

      Original property name from the Odata EDM: JntOpgAgrmtText

      Returns:
      JOA Description
    • getJntOpgAgrmtLongText

      @Nullable public String getJntOpgAgrmtLongText()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: JntOpgAgrmtLongText

      Returns:
      JOA long text (80 Char)
    • toString

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

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

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

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

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