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

public class ServiceOrderTmplItemRefObj extends VdmEntity<ServiceOrderTmplItemRefObj>
Item Reference Object

Original entity name from the Odata EDM: A_ServiceOrderTmplItemRefObjType

  • Field Details

    • ALL_FIELDS

      public static final ServiceOrderTmplItemRefObjSelectable ALL_FIELDS
      Selector for all available fields of ServiceOrderTmplItemRefObj.
    • SERVICE_ORDER_TEMPLATE

      public static final ServiceOrderTmplItemRefObjField<String> SERVICE_ORDER_TEMPLATE
      Use with available fluent helpers to apply the ServiceOrderTemplate field to query operations.
    • SERVICE_ORDER_TEMPLATE_ITEM

      public static final ServiceOrderTmplItemRefObjField<String> SERVICE_ORDER_TEMPLATE_ITEM
      Use with available fluent helpers to apply the ServiceOrderTemplateItem field to query operations.
    • SERVICE_REFERENCE_EQUIPMENT

      public static final ServiceOrderTmplItemRefObjField<String> SERVICE_REFERENCE_EQUIPMENT
      Use with available fluent helpers to apply the ServiceReferenceEquipment field to query operations.
    • SERVICE_REF_FUNCTIONAL_LOCATION

      public static final ServiceOrderTmplItemRefObjField<String> SERVICE_REF_FUNCTIONAL_LOCATION
      Use with available fluent helpers to apply the ServiceRefFunctionalLocation field to query operations.
    • SRVC_REF_OBJ_IS_MAIN_OBJECT

      public static final ServiceOrderTmplItemRefObjField<Boolean> SRVC_REF_OBJ_IS_MAIN_OBJECT
      Use with available fluent helpers to apply the SrvcRefObjIsMainObject field to query operations.
  • Constructor Details

    • ServiceOrderTmplItemRefObj

      public ServiceOrderTmplItemRefObj()
    • ServiceOrderTmplItemRefObj

      public ServiceOrderTmplItemRefObj(@Nullable String serviceOrderTemplate, @Nullable String serviceOrderTemplateItem, @Nullable String serviceReferenceEquipment, @Nullable String serviceRefFunctionalLocation, @Nullable Boolean srvcRefObjIsMainObject)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceOrderTemplate

      Parameters:
      serviceOrderTemplate - Transaction ID
    • setServiceOrderTemplateItem

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

      Original property name from the Odata EDM: ServiceOrderTemplateItem

      Parameters:
      serviceOrderTemplateItem - Shortened Item Number in Document
    • setServiceReferenceEquipment

      public void setServiceReferenceEquipment(@Nullable String serviceReferenceEquipment)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ServiceReferenceEquipment

      Parameters:
      serviceReferenceEquipment - Equipment Number
    • setServiceRefFunctionalLocation

      public void setServiceRefFunctionalLocation(@Nullable String serviceRefFunctionalLocation)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceRefFunctionalLocation

      Parameters:
      serviceRefFunctionalLocation - Functional Location
    • setSrvcRefObjIsMainObject

      public void setSrvcRefObjIsMainObject(@Nullable Boolean srvcRefObjIsMainObject)
      Constraints: none

      Original property name from the Odata EDM: SrvcRefObjIsMainObject

      Parameters:
      srvcRefObjIsMainObject - Main Reference Object
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceOrderTmplItemRefObjField<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> ServiceOrderTmplItemRefObjField<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<ServiceOrderTmplItemRefObj>
    • setServicePathForFetch

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

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

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

    • getServiceOrderTemplate

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

      Original property name from the Odata EDM: ServiceOrderTemplate

      Returns:
      Transaction ID
    • getServiceOrderTemplateItem

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

      Original property name from the Odata EDM: ServiceOrderTemplateItem

      Returns:
      Shortened Item Number in Document
    • getServiceReferenceEquipment

      @Nullable public String getServiceReferenceEquipment()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ServiceReferenceEquipment

      Returns:
      Equipment Number
    • getServiceRefFunctionalLocation

      @Nullable public String getServiceRefFunctionalLocation()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceRefFunctionalLocation

      Returns:
      Functional Location
    • getSrvcRefObjIsMainObject

      @Nullable public Boolean getSrvcRefObjIsMainObject()
      Constraints: none

      Original property name from the Odata EDM: SrvcRefObjIsMainObject

      Returns:
      Main Reference Object
    • toString

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

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

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

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