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

public class EntProjectTypeText extends VdmEntity<EntProjectTypeText> implements VdmEntitySet
Internal Project Type Description

Original entity name from the Odata EDM: EntProjectTypeTextType

  • Field Details

  • Constructor Details

    • EntProjectTypeText

      public EntProjectTypeText()
    • EntProjectTypeText

      public EntProjectTypeText(@Nullable String language, @Nullable String entProjectTypeInternal, @Nullable String projectTypeName, @Nullable EntProjectType to_ProjectType)
  • Method Details

    • getType

      @Nonnull public Class<EntProjectTypeText> getType()
      Specified by:
      getType in class VdmObject<EntProjectTypeText>
    • 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
    • setEntProjectTypeInternal

      public void setEntProjectTypeInternal(@Nullable String entProjectTypeInternal)
      (Key Field) Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: EntProjectTypeInternal

      Parameters:
      entProjectTypeInternal - Project Type
    • setProjectTypeName

      public void setProjectTypeName(@Nullable String projectTypeName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectTypeName

      Parameters:
      projectTypeName - Short Text for Type
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity EntProjectTypeText 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 _ProjectType is already loaded, the result will contain the EntProjectType entity. If not, an Option with result state empty is returned.
    • setProjectType

      public void setProjectType(EntProjectType value)
      Overwrites the associated EntProjectType entity for the loaded navigation property _ProjectType.
      Parameters:
      value - New EntProjectType entity.
    • builder

      @Nonnull public static EntProjectTypeText.EntProjectTypeTextBuilder builder()
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getEntProjectTypeInternal

      @Nullable public String getEntProjectTypeInternal()
      (Key Field) Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: EntProjectTypeInternal

      Returns:
      Project Type
    • getProjectTypeName

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

      Original property name from the Odata EDM: ProjectTypeName

      Returns:
      Short Text for Type
    • toString

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

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

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

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

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