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

public class BusSolnOrdItemRelationships extends VdmEntity<BusSolnOrdItemRelationships>
Item Relationships

Original entity name from the Odata EDM: A_BusSolnOrdItemRelationshipsType

  • Field Details

    • ALL_FIELDS

      public static final BusSolnOrdItemRelationshipsSelectable ALL_FIELDS
      Selector for all available fields of BusSolnOrdItemRelationships.
    • BUSINESS_SOLUTION_ORDER

      public static final BusSolnOrdItemRelationshipsField<String> BUSINESS_SOLUTION_ORDER
      Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations.
    • SRVC_ITEM_RELSHP_FROM_ITEM_NUMBER

      public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_FROM_ITEM_NUMBER
      Use with available fluent helpers to apply the SrvcItemRelshpFromItemNumber field to query operations.
    • SRVC_ITEM_RELSHP_TYPE

      public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_TYPE
      Use with available fluent helpers to apply the SrvcItemRelshpType field to query operations.
    • SRVC_ITEM_RELSHP_TO_ITEM_NUMBER

      public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_TO_ITEM_NUMBER
      Use with available fluent helpers to apply the SrvcItemRelshpToItemNumber field to query operations.
    • SRVC_ITEM_RELSHP_FROM_TYPE_NAME

      public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_FROM_TYPE_NAME
      Use with available fluent helpers to apply the SrvcItemRelshpFromTypeName field to query operations.
    • SRVC_ITEM_RELSHP_TO_TYPE_NAME

      public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_TO_TYPE_NAME
      Use with available fluent helpers to apply the SrvcItemRelshpToTypeName field to query operations.
  • Constructor Details

    • BusSolnOrdItemRelationships

      public BusSolnOrdItemRelationships()
    • BusSolnOrdItemRelationships

      public BusSolnOrdItemRelationships(@Nullable String businessSolutionOrder, @Nullable String srvcItemRelshpFromItemNumber, @Nullable String srvcItemRelshpType, @Nullable String srvcItemRelshpToItemNumber, @Nullable String srvcItemRelshpFromTypeName, @Nullable String srvcItemRelshpToTypeName)
  • Method Details

    • getType

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

      public void setBusinessSolutionOrder(@Nullable String businessSolutionOrder)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessSolutionOrder

      Parameters:
      businessSolutionOrder - Transaction ID
    • setSrvcItemRelshpFromItemNumber

      public void setSrvcItemRelshpFromItemNumber(@Nullable String srvcItemRelshpFromItemNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SrvcItemRelshpFromItemNumber

      Parameters:
      srvcItemRelshpFromItemNumber - Shortened Item Number in Document
    • setSrvcItemRelshpType

      public void setSrvcItemRelshpType(@Nullable String srvcItemRelshpType)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SrvcItemRelshpType

      Parameters:
      srvcItemRelshpType - Item Relationship Type
    • setSrvcItemRelshpToItemNumber

      public void setSrvcItemRelshpToItemNumber(@Nullable String srvcItemRelshpToItemNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SrvcItemRelshpToItemNumber

      Parameters:
      srvcItemRelshpToItemNumber - Shortened Item Number in Document
    • setSrvcItemRelshpFromTypeName

      public void setSrvcItemRelshpFromTypeName(@Nullable String srvcItemRelshpFromTypeName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SrvcItemRelshpFromTypeName

      Parameters:
      srvcItemRelshpFromTypeName - Name of Item Relationship (Forward)
    • setSrvcItemRelshpToTypeName

      public void setSrvcItemRelshpToTypeName(@Nullable String srvcItemRelshpToTypeName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SrvcItemRelshpToTypeName

      Parameters:
      srvcItemRelshpToTypeName - Name of Item Relationship (Backward)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusSolnOrdItemRelationshipsField<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> BusSolnOrdItemRelationshipsField<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<BusSolnOrdItemRelationships>
    • setServicePathForFetch

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

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

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

    • getBusinessSolutionOrder

      @Nullable public String getBusinessSolutionOrder()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessSolutionOrder

      Returns:
      Transaction ID
    • getSrvcItemRelshpFromItemNumber

      @Nullable public String getSrvcItemRelshpFromItemNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SrvcItemRelshpFromItemNumber

      Returns:
      Shortened Item Number in Document
    • getSrvcItemRelshpType

      @Nullable public String getSrvcItemRelshpType()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SrvcItemRelshpType

      Returns:
      Item Relationship Type
    • getSrvcItemRelshpToItemNumber

      @Nullable public String getSrvcItemRelshpToItemNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SrvcItemRelshpToItemNumber

      Returns:
      Shortened Item Number in Document
    • getSrvcItemRelshpFromTypeName

      @Nullable public String getSrvcItemRelshpFromTypeName()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SrvcItemRelshpFromTypeName

      Returns:
      Name of Item Relationship (Forward)
    • getSrvcItemRelshpToTypeName

      @Nullable public String getSrvcItemRelshpToTypeName()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SrvcItemRelshpToTypeName

      Returns:
      Name of Item Relationship (Backward)
    • toString

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

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

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

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