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

public class ServiceOrderDefect extends VdmEntity<ServiceOrderDefect>
Defect Data Within Service Order

Original entity name from the Odata EDM: A_ServiceOrderDefectType

  • Field Details

    • ALL_FIELDS

      public static final ServiceOrderDefectSelectable ALL_FIELDS
      Selector for all available fields of ServiceOrderDefect.
    • SERVICE_ORDER

      public static final ServiceOrderDefectField<String> SERVICE_ORDER
      Use with available fluent helpers to apply the ServiceOrder field to query operations.
    • SRVC_DOC_TYPE_DEFECT_CODE_PROF_TYPE

      public static final ServiceOrderDefectField<String> SRVC_DOC_TYPE_DEFECT_CODE_PROF_TYPE
      Use with available fluent helpers to apply the SrvcDocTypeDefectCodeProfType field to query operations.
    • SERVICE_DEFECT_SEQUENCE

      public static final ServiceOrderDefectField<Short> SERVICE_DEFECT_SEQUENCE
      Use with available fluent helpers to apply the ServiceDefectSequence field to query operations.
    • SRVC_DOC_TYPE_DEFECT_CODE_PROFILE

      public static final ServiceOrderDefectField<String> SRVC_DOC_TYPE_DEFECT_CODE_PROFILE
      Use with available fluent helpers to apply the SrvcDocTypeDefectCodeProfile field to query operations.
    • SERVICE_DEFECT_CODE_CATALOG

      public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CODE_CATALOG
      Use with available fluent helpers to apply the ServiceDefectCodeCatalog field to query operations.
    • SERVICE_DEFECT_CODE_GROUP

      public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CODE_GROUP
      Use with available fluent helpers to apply the ServiceDefectCodeGroup field to query operations.
    • SERVICE_DEFECT_CODE

      public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CODE
      Use with available fluent helpers to apply the ServiceDefectCode field to query operations.
    • SERVICE_DEFECT_SCHEMA

      public static final ServiceOrderDefectField<String> SERVICE_DEFECT_SCHEMA
      Use with available fluent helpers to apply the ServiceDefectSchema field to query operations.
    • SERVICE_DEFECT_CATEGORY

      public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CATEGORY
      Use with available fluent helpers to apply the ServiceDefectCategory field to query operations.
  • Constructor Details

    • ServiceOrderDefect

      public ServiceOrderDefect()
    • ServiceOrderDefect

      public ServiceOrderDefect(@Nullable String serviceOrder, @Nullable String srvcDocTypeDefectCodeProfType, @Nullable Short serviceDefectSequence, @Nullable String srvcDocTypeDefectCodeProfile, @Nullable String serviceDefectCodeCatalog, @Nullable String serviceDefectCodeGroup, @Nullable String serviceDefectCode, @Nullable String serviceDefectSchema, @Nullable String serviceDefectCategory)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceOrder

      Parameters:
      serviceOrder - Transaction ID
    • setSrvcDocTypeDefectCodeProfType

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

      Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfType

      Parameters:
      srvcDocTypeDefectCodeProfType - Subject Profile Category
    • setServiceDefectSequence

      public void setServiceDefectSequence(@Nullable Short serviceDefectSequence)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ServiceDefectSequence

      Parameters:
      serviceDefectSequence - Sort Field
    • setSrvcDocTypeDefectCodeProfile

      public void setSrvcDocTypeDefectCodeProfile(@Nullable String srvcDocTypeDefectCodeProfile)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfile

      Parameters:
      srvcDocTypeDefectCodeProfile - Subject Profile
    • setServiceDefectCodeCatalog

      public void setServiceDefectCodeCatalog(@Nullable String serviceDefectCodeCatalog)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ServiceDefectCodeCatalog

      Parameters:
      serviceDefectCodeCatalog - Catalog
    • setServiceDefectCodeGroup

      public void setServiceDefectCodeGroup(@Nullable String serviceDefectCodeGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ServiceDefectCodeGroup

      Parameters:
      serviceDefectCodeGroup - Code Group
    • setServiceDefectCode

      public void setServiceDefectCode(@Nullable String serviceDefectCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceDefectCode

      Parameters:
      serviceDefectCode - Code
    • setServiceDefectSchema

      public void setServiceDefectSchema(@Nullable String serviceDefectSchema)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceDefectSchema

      Parameters:
      serviceDefectSchema - Coherent Cat. - Aspect ID
    • setServiceDefectCategory

      public void setServiceDefectCategory(@Nullable String serviceDefectCategory)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ServiceDefectCategory

      Parameters:
      serviceDefectCategory - Coherent Cat. - Aspect ID
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ServiceOrderDefectField<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> ServiceOrderDefectField<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<ServiceOrderDefect>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ServiceOrderDefect.ServiceOrderDefectBuilder builder()
    • getServiceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      Transaction ID
    • getSrvcDocTypeDefectCodeProfType

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

      Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfType

      Returns:
      Subject Profile Category
    • getServiceDefectSequence

      @Nullable public Short getServiceDefectSequence()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ServiceDefectSequence

      Returns:
      Sort Field
    • getSrvcDocTypeDefectCodeProfile

      @Nullable public String getSrvcDocTypeDefectCodeProfile()
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfile

      Returns:
      Subject Profile
    • getServiceDefectCodeCatalog

      @Nullable public String getServiceDefectCodeCatalog()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ServiceDefectCodeCatalog

      Returns:
      Catalog
    • getServiceDefectCodeGroup

      @Nullable public String getServiceDefectCodeGroup()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ServiceDefectCodeGroup

      Returns:
      Code Group
    • getServiceDefectCode

      @Nullable public String getServiceDefectCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ServiceDefectCode

      Returns:
      Code
    • getServiceDefectSchema

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

      Original property name from the Odata EDM: ServiceDefectSchema

      Returns:
      Coherent Cat. - Aspect ID
    • getServiceDefectCategory

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

      Original property name from the Odata EDM: ServiceDefectCategory

      Returns:
      Coherent Cat. - Aspect ID
    • toString

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

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

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

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