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

public class RESpaceGroupTypeText extends VdmEntity<RESpaceGroupTypeText> implements VdmEntitySet
Real Estate Usage Enablement and Occupancy Group Type Text

Original entity name from the Odata EDM: RESpaceGroupTypeText_Type

  • Field Details

  • Constructor Details

    • RESpaceGroupTypeText

      public RESpaceGroupTypeText()
    • RESpaceGroupTypeText

      public RESpaceGroupTypeText(@Nullable String rEIntegObjSpaceGroupType, @Nullable String language, @Nullable String rEIntegObjSpaceGroupTypeText, @Nullable RESpaceGroupType to_RESpaceGroupType)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: REIntegObjSpaceGroupType

      Parameters:
      rEIntegObjSpaceGroupType - Group 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
    • setREIntegObjSpaceGroupTypeText

      public void setREIntegObjSpaceGroupTypeText(@Nullable String rEIntegObjSpaceGroupTypeText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: REIntegObjSpaceGroupTypeText

      Parameters:
      rEIntegObjSpaceGroupTypeText - Description for Group Type
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity RESpaceGroupTypeText 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 _RESpaceGroupType is already loaded, the result will contain the RESpaceGroupType entity. If not, an Option with result state empty is returned.
    • setRESpaceGroupType

      public void setRESpaceGroupType(RESpaceGroupType value)
      Overwrites the associated RESpaceGroupType entity for the loaded navigation property _RESpaceGroupType.
      Parameters:
      value - New RESpaceGroupType entity.
    • builder

      @Nonnull public static RESpaceGroupTypeText.RESpaceGroupTypeTextBuilder builder()
    • getREIntegObjSpaceGroupType

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

      Original property name from the Odata EDM: REIntegObjSpaceGroupType

      Returns:
      Group 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
    • getREIntegObjSpaceGroupTypeText

      @Nullable public String getREIntegObjSpaceGroupTypeText()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: REIntegObjSpaceGroupTypeText

      Returns:
      Description for Group Type
    • toString

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

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

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

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

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