public class ServiceOrderDefect extends VdmEntity<ServiceOrderDefect>
Original entity name from the Odata EDM: A_ServiceOrderDefectType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceOrderDefect.ServiceOrderDefectBuilder |
Modifier and Type | Field and Description |
---|---|
static ServiceOrderDefectSelectable |
ALL_FIELDS
Selector for all available fields of ServiceOrderDefect.
|
static ServiceOrderDefectField<String> |
SERVICE_DEFECT_CATEGORY
Use with available fluent helpers to apply the ServiceDefectCategory field to query operations.
|
static ServiceOrderDefectField<String> |
SERVICE_DEFECT_CODE
Use with available fluent helpers to apply the ServiceDefectCode field to query operations.
|
static ServiceOrderDefectField<String> |
SERVICE_DEFECT_CODE_CATALOG
Use with available fluent helpers to apply the ServiceDefectCodeCatalog field to query operations.
|
static ServiceOrderDefectField<String> |
SERVICE_DEFECT_CODE_GROUP
Use with available fluent helpers to apply the ServiceDefectCodeGroup field to query operations.
|
static ServiceOrderDefectField<String> |
SERVICE_DEFECT_SCHEMA
Use with available fluent helpers to apply the ServiceDefectSchema field to query operations.
|
static ServiceOrderDefectField<Short> |
SERVICE_DEFECT_SEQUENCE
Use with available fluent helpers to apply the ServiceDefectSequence field to query operations.
|
static ServiceOrderDefectField<String> |
SERVICE_ORDER
Use with available fluent helpers to apply the ServiceOrder field to query operations.
|
static ServiceOrderDefectField<String> |
SRVC_DOC_TYPE_DEFECT_CODE_PROF_TYPE
Use with available fluent helpers to apply the SrvcDocTypeDefectCodeProfType field to query operations.
|
static ServiceOrderDefectField<String> |
SRVC_DOC_TYPE_DEFECT_CODE_PROFILE
Use with available fluent helpers to apply the SrvcDocTypeDefectCodeProfile field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceOrderDefect() |
ServiceOrderDefect(String serviceOrder,
String srvcDocTypeDefectCodeProfType,
Short serviceDefectSequence,
String srvcDocTypeDefectCodeProfile,
String serviceDefectCodeCatalog,
String serviceDefectCodeGroup,
String serviceDefectCode,
String serviceDefectSchema,
String serviceDefectCategory) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ServiceOrderDefect.ServiceOrderDefectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ServiceOrderDefectField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
protected Map<String,Object> |
getKey() |
String |
getServiceDefectCategory()
Constraints: Not nullable, Maximum length: 40
|
String |
getServiceDefectCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getServiceDefectCodeCatalog()
Constraints: Not nullable, Maximum length: 2
|
String |
getServiceDefectCodeGroup()
Constraints: Not nullable, Maximum length: 8
|
String |
getServiceDefectSchema()
Constraints: Not nullable, Maximum length: 40
|
Short |
getServiceDefectSequence()
(Key Field) Constraints: Not nullable
|
String |
getServiceOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSrvcDocTypeDefectCodeProfile()
Constraints: Not nullable, Maximum length: 9
|
String |
getSrvcDocTypeDefectCodeProfType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
Class<ServiceOrderDefect> |
getType() |
int |
hashCode() |
void |
setServiceDefectCategory(String serviceDefectCategory)
Constraints: Not nullable, Maximum length: 40
|
void |
setServiceDefectCode(String serviceDefectCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setServiceDefectCodeCatalog(String serviceDefectCodeCatalog)
Constraints: Not nullable, Maximum length: 2
|
void |
setServiceDefectCodeGroup(String serviceDefectCodeGroup)
Constraints: Not nullable, Maximum length: 8
|
void |
setServiceDefectSchema(String serviceDefectSchema)
Constraints: Not nullable, Maximum length: 40
|
void |
setServiceDefectSequence(Short serviceDefectSequence)
(Key Field) Constraints: Not nullable
|
void |
setServiceOrder(String serviceOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSrvcDocTypeDefectCodeProfile(String srvcDocTypeDefectCodeProfile)
Constraints: Not nullable, Maximum length: 9
|
void |
setSrvcDocTypeDefectCodeProfType(String srvcDocTypeDefectCodeProfType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ServiceOrderDefectSelectable ALL_FIELDS
public static final ServiceOrderDefectField<String> SERVICE_ORDER
public static final ServiceOrderDefectField<String> SRVC_DOC_TYPE_DEFECT_CODE_PROF_TYPE
public static final ServiceOrderDefectField<Short> SERVICE_DEFECT_SEQUENCE
public static final ServiceOrderDefectField<String> SRVC_DOC_TYPE_DEFECT_CODE_PROFILE
public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CODE_CATALOG
public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CODE_GROUP
public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CODE
public static final ServiceOrderDefectField<String> SERVICE_DEFECT_SCHEMA
public static final ServiceOrderDefectField<String> SERVICE_DEFECT_CATEGORY
public 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)
@Nonnull public Class<ServiceOrderDefect> getType()
getType
in class VdmObject<ServiceOrderDefect>
public void setServiceOrder(@Nullable String serviceOrder)
Original property name from the Odata EDM: ServiceOrder
serviceOrder
- Number that identifies the transaction document. It is unique for each business transaction category.public void setSrvcDocTypeDefectCodeProfType(@Nullable String srvcDocTypeDefectCodeProfType)
Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfType
srvcDocTypeDefectCodeProfType
- Controls characteristics for the subject profile, for example, how many and which catalog categories
are allowed and whether a selection of one or several codes is possible using F1 help.public void setServiceDefectSequence(@Nullable Short serviceDefectSequence)
Original property name from the Odata EDM: ServiceDefectSequence
serviceDefectSequence
- Sort Fieldpublic void setSrvcDocTypeDefectCodeProfile(@Nullable String srvcDocTypeDefectCodeProfile)
Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfile
srvcDocTypeDefectCodeProfile
- Grouping of code group profiles from different catalogs. This can be done on a structured basis, which
enables the creation of a hierarchy.public void setServiceDefectCodeCatalog(@Nullable String serviceDefectCodeCatalog)
Original property name from the Odata EDM: ServiceDefectCodeCatalog
For example, you can use catalogs with characteristic attributes, tasks, and error types. Code subsets are combined into code groups within the catalog according to different criteria. Catalogs refer to catalog categories.In the standard system, some catalogs are defined based on their meaning and usage. Use catalog types P* to Z* to define internal, supplementary catalogs.
serviceDefectCodeCatalog
- Combination of codes related to one another by content, with which subjects described in text form are
coded.public void setServiceDefectCodeGroup(@Nullable String serviceDefectCodeGroup)
Original property name from the Odata EDM: ServiceDefectCodeGroup
You can either enter the key directly for the code group that you want to process or display, or you can process and display several code groups using a generic entry.You can use the generic entry P* to obtain all code groups whose key starts with 'P'.DependenciesIf you are using a generic entry to edit code groups, the system locks all code groups in the catalog.
serviceDefectCodeGroup
- Key for the code group.public void setServiceDefectCode(@Nullable String serviceDefectCode)
Original property name from the Odata EDM: ServiceDefectCode
The code can be uniquely identified only with the catalog type and code group.
serviceDefectCode
- Represents the lowest level within the hierarchy of catalog type, code group and code. A code refers
to the actual coding for the attribute. For example, in a code group of colors, the code BL can
represent the color blue, GR can represent the color green, and so forth.public void setServiceDefectSchema(@Nullable String serviceDefectSchema)
Original property name from the Odata EDM: ServiceDefectSchema
serviceDefectSchema
- Coherent Cat. - Aspect IDpublic void setServiceDefectCategory(@Nullable String serviceDefectCategory)
Original property name from the Odata EDM: ServiceDefectCategory
serviceDefectCategory
- Coherent Cat. - Aspect IDprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<ServiceOrderDefect>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceOrderDefect>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceOrderDefect>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceOrderDefect>
@Nonnull public static <T> ServiceOrderDefectField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ServiceOrderDefectField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ServiceOrderDefect>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ServiceOrderDefect>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ServiceOrderDefect>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<ServiceOrderDefect>
public static ServiceOrderDefect.ServiceOrderDefectBuilder builder()
@Nullable public String getServiceOrder()
Original property name from the Odata EDM: ServiceOrder
@Nullable public String getSrvcDocTypeDefectCodeProfType()
Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfType
@Nullable public Short getServiceDefectSequence()
Original property name from the Odata EDM: ServiceDefectSequence
@Nullable public String getSrvcDocTypeDefectCodeProfile()
Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfile
@Nullable public String getServiceDefectCodeCatalog()
Original property name from the Odata EDM: ServiceDefectCodeCatalog
For example, you can use catalogs with characteristic attributes, tasks, and error types. Code subsets are combined into code groups within the catalog according to different criteria. Catalogs refer to catalog categories.In the standard system, some catalogs are defined based on their meaning and usage. Use catalog types P* to Z* to define internal, supplementary catalogs.
@Nullable public String getServiceDefectCodeGroup()
Original property name from the Odata EDM: ServiceDefectCodeGroup
You can either enter the key directly for the code group that you want to process or display, or you can process and display several code groups using a generic entry.You can use the generic entry P* to obtain all code groups whose key starts with 'P'.DependenciesIf you are using a generic entry to edit code groups, the system locks all code groups in the catalog.
@Nullable public String getServiceDefectCode()
Original property name from the Odata EDM: ServiceDefectCode
The code can be uniquely identified only with the catalog type and code group.
@Nullable public String getServiceDefectSchema()
Original property name from the Odata EDM: ServiceDefectSchema
@Nullable public String getServiceDefectCategory()
Original property name from the Odata EDM: ServiceDefectCategory
public String toString()
toString
in class VdmObject<ServiceOrderDefect>
public boolean equals(Object o)
equals
in class VdmObject<ServiceOrderDefect>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ServiceOrderDefect>
public int hashCode()
hashCode
in class VdmObject<ServiceOrderDefect>
Copyright © 2020 SAP SE. All rights reserved.