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

public class BusinessObjectKeys extends VdmEntity<BusinessObjectKeys>
SAP Object Type Keys

Original entity name from the Odata EDM: I_BusinessObjectKeysType

  • Field Details

    • ALL_FIELDS

      public static final BusinessObjectKeysSelectable ALL_FIELDS
      Selector for all available fields of BusinessObjectKeys.
    • SAP_OBJECT_TYPE

      public static final BusinessObjectKeysField<String> SAP_OBJECT_TYPE
      Use with available fluent helpers to apply the SAPObjectType field to query operations.
    • KEY_FIELD_NAME1

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME1
      Use with available fluent helpers to apply the KeyFieldName1 field to query operations.
    • KEY_FIELD_NAME2

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME2
      Use with available fluent helpers to apply the KeyFieldName2 field to query operations.
    • KEY_FIELD_NAME3

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME3
      Use with available fluent helpers to apply the KeyFieldName3 field to query operations.
    • KEY_FIELD_NAME4

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME4
      Use with available fluent helpers to apply the KeyFieldName4 field to query operations.
    • KEY_FIELD_NAME5

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME5
      Use with available fluent helpers to apply the KeyFieldName5 field to query operations.
    • KEY_FIELD_NAME6

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME6
      Use with available fluent helpers to apply the KeyFieldName6 field to query operations.
    • KEY_FIELD_NAME7

      public static final BusinessObjectKeysField<String> KEY_FIELD_NAME7
      Use with available fluent helpers to apply the KeyFieldName7 field to query operations.
  • Constructor Details

    • BusinessObjectKeys

      public BusinessObjectKeys()
    • BusinessObjectKeys

      public BusinessObjectKeys(@Nullable String sAPObjectType, @Nullable String keyFieldName1, @Nullable String keyFieldName2, @Nullable String keyFieldName3, @Nullable String keyFieldName4, @Nullable String keyFieldName5, @Nullable String keyFieldName6, @Nullable String keyFieldName7)
  • Method Details

    • getType

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

      public void setSAPObjectType(@Nullable String sAPObjectType)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SAPObjectType

      Parameters:
      sAPObjectType - SAP Object Type
    • setKeyFieldName1

      public void setKeyFieldName1(@Nullable String keyFieldName1)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName1

      Parameters:
      keyFieldName1 - Business Object Key Name 1
    • setKeyFieldName2

      public void setKeyFieldName2(@Nullable String keyFieldName2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName2

      Parameters:
      keyFieldName2 - Business Object Key Name 2
    • setKeyFieldName3

      public void setKeyFieldName3(@Nullable String keyFieldName3)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName3

      Parameters:
      keyFieldName3 - Business Object Key Name 3
    • setKeyFieldName4

      public void setKeyFieldName4(@Nullable String keyFieldName4)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName4

      Parameters:
      keyFieldName4 - Business Object Key Name 4
    • setKeyFieldName5

      public void setKeyFieldName5(@Nullable String keyFieldName5)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName5

      Parameters:
      keyFieldName5 - Business Object Key Name 5
    • setKeyFieldName6

      public void setKeyFieldName6(@Nullable String keyFieldName6)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName6

      Parameters:
      keyFieldName6 - Business Object Key Name 6
    • setKeyFieldName7

      public void setKeyFieldName7(@Nullable String keyFieldName7)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: KeyFieldName7

      Parameters:
      keyFieldName7 - Business Object Key Name 7
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusinessObjectKeysField<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> BusinessObjectKeysField<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<BusinessObjectKeys>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BusinessObjectKeys.BusinessObjectKeysBuilder builder()
    • getSAPObjectType

      @Nullable public String getSAPObjectType()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SAPObjectType

      Returns:
      SAP Object Type
    • getKeyFieldName1

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

      Original property name from the Odata EDM: KeyFieldName1

      Returns:
      Business Object Key Name 1
    • getKeyFieldName2

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

      Original property name from the Odata EDM: KeyFieldName2

      Returns:
      Business Object Key Name 2
    • getKeyFieldName3

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

      Original property name from the Odata EDM: KeyFieldName3

      Returns:
      Business Object Key Name 3
    • getKeyFieldName4

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

      Original property name from the Odata EDM: KeyFieldName4

      Returns:
      Business Object Key Name 4
    • getKeyFieldName5

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

      Original property name from the Odata EDM: KeyFieldName5

      Returns:
      Business Object Key Name 5
    • getKeyFieldName6

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

      Original property name from the Odata EDM: KeyFieldName6

      Returns:
      Business Object Key Name 6
    • getKeyFieldName7

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

      Original property name from the Odata EDM: KeyFieldName7

      Returns:
      Business Object Key Name 7
    • toString

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

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

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

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