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

public class REContractTypeText extends VdmEntity<REContractTypeText> implements VdmEntitySet
Real Estate Contract Type - Text

Original entity name from the Odata EDM: REContractTypeText_Type

  • Field Details

  • Constructor Details

    • REContractTypeText

      public REContractTypeText()
    • REContractTypeText

      public REContractTypeText(@Nullable String rEContractType, @Nullable String language, @Nullable String rEContractTypeName, @Nullable REContractType to_REContractType)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: REContractType

      Parameters:
      rEContractType - External Real Estate Contract Type
    • 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
    • setREContractTypeName

      public void setREContractTypeName(@Nullable String rEContractTypeName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: REContractTypeName

      Parameters:
      rEContractTypeName - Contract Type Name
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity REContractTypeText 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 _REContractType is already loaded, the result will contain the REContractType entity. If not, an Option with result state empty is returned.
    • setREContractType

      public void setREContractType(REContractType value)
      Overwrites the associated REContractType entity for the loaded navigation property _REContractType.
      Parameters:
      value - New REContractType entity.
    • builder

      @Nonnull public static REContractTypeText.REContractTypeTextBuilder builder()
    • getREContractType

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

      Original property name from the Odata EDM: REContractType

      Returns:
      External Real Estate Contract Type
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getREContractTypeName

      @Nullable public String getREContractTypeName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: REContractTypeName

      Returns:
      Contract Type Name
    • toString

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

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

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

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

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