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

public class OriginObject extends VdmEntity<OriginObject>
Origin Object Type (Master Data)

Original entity name from the Odata EDM: OriginObjectType

  • Field Details

    • ALL_FIELDS

      public static final OriginObjectSelectable ALL_FIELDS
      Selector for all available fields of OriginObject.
    • ORIGIN_OBJECT_TYPE_ID

      public static final OriginObjectField<String> ORIGIN_OBJECT_TYPE_ID
      Use with available fluent helpers to apply the OriginObjectType_ID field to query operations.
    • ORIGIN_OBJECT_TYPE_TEXT

      public static final OriginObjectField<String> ORIGIN_OBJECT_TYPE_TEXT
      Use with available fluent helpers to apply the OriginObjectTypeText field to query operations.
  • Constructor Details

    • OriginObject

      public OriginObject()
    • OriginObject

      public OriginObject(@Nullable String originObjectType_ID, @Nullable String originObjectTypeText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: OriginObjectType_ID

      Parameters:
      originObjectType_ID - Origin Object Type
    • setOriginObjectTypeText

      public void setOriginObjectTypeText(@Nullable String originObjectTypeText)
      Constraints: none

      Original property name from the Odata EDM: OriginObjectTypeText

      Parameters:
      originObjectTypeText - Origin Object Type (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> OriginObjectField<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> OriginObjectField<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<OriginObject>
    • setServicePathForFetch

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

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

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

      @Nonnull public static OriginObject.OriginObjectBuilder builder()
    • getOriginObjectType_ID

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

      Original property name from the Odata EDM: OriginObjectType_ID

      Returns:
      Origin Object Type
    • getOriginObjectTypeText

      @Nullable public String getOriginObjectTypeText()
      Constraints: none

      Original property name from the Odata EDM: OriginObjectTypeText

      Returns:
      Origin Object Type (Description)
    • toString

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

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

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

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