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

public class ProjectExternalID extends VdmEntity<ProjectExternalID>
Project External ID (Master Data)

Original entity name from the Odata EDM: ProjectExternalID

  • Field Details

    • ALL_FIELDS

      public static final ProjectExternalIDSelectable ALL_FIELDS
      Selector for all available fields of ProjectExternalID.
    • PROJECT_EXTERNAL_IDID

      public static final ProjectExternalIDField<String> PROJECT_EXTERNAL_IDID
      Use with available fluent helpers to apply the ProjectExternalID_ID field to query operations.
    • PROJECT_EXTERNAL_ID_TEXT

      public static final ProjectExternalIDField<String> PROJECT_EXTERNAL_ID_TEXT
      Use with available fluent helpers to apply the ProjectExternalIDText field to query operations.
  • Constructor Details

    • ProjectExternalID

      public ProjectExternalID()
    • ProjectExternalID

      public ProjectExternalID(@Nullable String projectExternalID_ID, @Nullable String projectExternalIDText)
  • Method Details

    • getType

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

      public void setProjectExternalID_ID(@Nullable String projectExternalID_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ProjectExternalID_ID

      Parameters:
      projectExternalID_ID - Project External ID
    • setProjectExternalIDText

      public void setProjectExternalIDText(@Nullable String projectExternalIDText)
      Constraints: none

      Original property name from the Odata EDM: ProjectExternalIDText

      Parameters:
      projectExternalIDText - Project External ID (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProjectExternalIDField<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> ProjectExternalIDField<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<ProjectExternalID>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProjectExternalID.ProjectExternalIDBuilder builder()
    • getProjectExternalID_ID

      @Nullable public String getProjectExternalID_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ProjectExternalID_ID

      Returns:
      Project External ID
    • getProjectExternalIDText

      @Nullable public String getProjectExternalIDText()
      Constraints: none

      Original property name from the Odata EDM: ProjectExternalIDText

      Returns:
      Project External ID (Description)
    • toString

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

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

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

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