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

public class InspLotMatlDocItmSrlNmbr extends VdmEntity<InspLotMatlDocItmSrlNmbr>
Serial Numbers for Stock Posting

Original entity name from the Odata EDM: A_InspLotMatlDocItmSrlNmbrType

  • Field Details

    • ALL_FIELDS

      public static final InspLotMatlDocItmSrlNmbrSelectable ALL_FIELDS
      Selector for all available fields of InspLotMatlDocItmSrlNmbr.
    • INSPECTION_LOT

      public static final InspLotMatlDocItmSrlNmbrField<String> INSPECTION_LOT
      Use with available fluent helpers to apply the InspectionLot field to query operations.
    • INSP_LOT_MATL_DOC_ITEM

      public static final InspLotMatlDocItmSrlNmbrField<String> INSP_LOT_MATL_DOC_ITEM
      Use with available fluent helpers to apply the InspLotMatlDocItem field to query operations.
    • EQUIPMENT

      public static final InspLotMatlDocItmSrlNmbrField<String> EQUIPMENT
      Use with available fluent helpers to apply the Equipment field to query operations.
    • SERIAL_NUMBER

      public static final InspLotMatlDocItmSrlNmbrField<String> SERIAL_NUMBER
      Use with available fluent helpers to apply the SerialNumber field to query operations.
    • INSP_LOT_MATL_DOC_ITEM_TYPE

      public static final InspLotMatlDocItmSrlNmbrField<String> INSP_LOT_MATL_DOC_ITEM_TYPE
      Use with available fluent helpers to apply the InspLotMatlDocItemType field to query operations.
  • Constructor Details

    • InspLotMatlDocItmSrlNmbr

      public InspLotMatlDocItmSrlNmbr()
    • InspLotMatlDocItmSrlNmbr

      public InspLotMatlDocItmSrlNmbr(@Nullable String inspectionLot, @Nullable String inspLotMatlDocItem, @Nullable String equipment, @Nullable String serialNumber, @Nullable String inspLotMatlDocItemType)
  • Method Details

    • getType

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

      public void setInspectionLot(@Nullable String inspectionLot)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: InspectionLot

      Parameters:
      inspectionLot - Inspection Lot Number
    • setInspLotMatlDocItem

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

      Original property name from the Odata EDM: InspLotMatlDocItem

      Parameters:
      inspLotMatlDocItem - Internal Counter for DB Objects
    • setEquipment

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

      Original property name from the Odata EDM: Equipment

      Parameters:
      equipment - Equipment Number
    • setSerialNumber

      public void setSerialNumber(@Nullable String serialNumber)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SerialNumber

      Parameters:
      serialNumber - Serial Number
    • setInspLotMatlDocItemType

      public void setInspLotMatlDocItemType(@Nullable String inspLotMatlDocItemType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InspLotMatlDocItemType

      Parameters:
      inspLotMatlDocItemType - Type of Reference Between Inspection Lot and Material Doc.
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> InspLotMatlDocItmSrlNmbrField<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> InspLotMatlDocItmSrlNmbrField<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<InspLotMatlDocItmSrlNmbr>
    • setServicePathForFetch

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

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

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

    • getInspectionLot

      @Nullable public String getInspectionLot()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: InspectionLot

      Returns:
      Inspection Lot Number
    • getInspLotMatlDocItem

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

      Original property name from the Odata EDM: InspLotMatlDocItem

      Returns:
      Internal Counter for DB Objects
    • getEquipment

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

      Original property name from the Odata EDM: Equipment

      Returns:
      Equipment Number
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SerialNumber

      Returns:
      Serial Number
    • getInspLotMatlDocItemType

      @Nullable public String getInspLotMatlDocItemType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: InspLotMatlDocItemType

      Returns:
      Type of Reference Between Inspection Lot and Material Doc.
    • toString

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

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

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

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