java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<PartnerProject>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.PartnerProject

public class PartnerProject extends VdmEntity<PartnerProject>
Partner Project

Original entity name from the Odata EDM: PartnerProject

  • Field Details

    • ALL_FIELDS

      public static final PartnerProjectSelectable ALL_FIELDS
      Selector for all available fields of PartnerProject.
    • PARTNER_PROJECT

      public static final PartnerProjectField<String> PARTNER_PROJECT
      Use with available fluent helpers to apply the PartnerProject field to query operations.
    • PARTNER_PROJECT_TEXT

      public static final PartnerProjectField<String> PARTNER_PROJECT_TEXT
      Use with available fluent helpers to apply the PartnerProjectText field to query operations.
  • Constructor Details

    • PartnerProject

      public PartnerProject()
    • PartnerProject

      public PartnerProject(@Nullable String partnerProject, @Nullable String partnerProjectText)
  • Method Details

    • getType

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

      public void setPartnerProject(@Nullable String partnerProject)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PartnerProject

      Parameters:
      partnerProject - Partner Project
    • setPartnerProjectText

      public void setPartnerProjectText(@Nullable String partnerProjectText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: PartnerProjectText

      Parameters:
      partnerProjectText - Partner Project (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PartnerProjectField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> PartnerProjectField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<PartnerProject>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<PartnerProject>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<PartnerProject>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<PartnerProject>
    • builder

      @Nonnull public static PartnerProject.PartnerProjectBuilder builder()
    • getPartnerProject

      @Nullable public String getPartnerProject()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PartnerProject

      Returns:
      Partner Project
    • getPartnerProjectText

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

      Original property name from the Odata EDM: PartnerProjectText

      Returns:
      Partner Project (Description)
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PartnerProject>