public class ServiceRequestDefect extends VdmEntity<ServiceRequestDefect>
Original entity name from the Odata EDM: A_ServiceRequestDefectType
Modifier and Type | Class and Description |
---|---|
static class |
ServiceRequestDefect.ServiceRequestDefectBuilder |
Modifier and Type | Field and Description |
---|---|
static ServiceRequestDefectSelectable |
ALL_FIELDS
Selector for all available fields of ServiceRequestDefect.
|
static ServiceRequestDefectField<String> |
SERVICE_DEFECT_CATEGORY
Use with available fluent helpers to apply the ServiceDefectCategory field to query operations.
|
static ServiceRequestDefectField<String> |
SERVICE_DEFECT_CODE
Use with available fluent helpers to apply the ServiceDefectCode field to query operations.
|
static ServiceRequestDefectField<String> |
SERVICE_DEFECT_CODE_CATALOG
Use with available fluent helpers to apply the ServiceDefectCodeCatalog field to query operations.
|
static ServiceRequestDefectField<String> |
SERVICE_DEFECT_CODE_GROUP
Use with available fluent helpers to apply the ServiceDefectCodeGroup field to query operations.
|
static ServiceRequestDefectField<String> |
SERVICE_DEFECT_SCHEMA
Use with available fluent helpers to apply the ServiceDefectSchema field to query operations.
|
static ServiceRequestDefectField<Short> |
SERVICE_DEFECT_SEQUENCE
Use with available fluent helpers to apply the ServiceDefectSequence field to query operations.
|
static ServiceRequestDefectField<String> |
SERVICE_REQUEST
Use with available fluent helpers to apply the ServiceRequest field to query operations.
|
static ServiceRequestDefectField<String> |
SRVC_DOC_TYPE_DEFECT_CODE_PROF_TYPE
Use with available fluent helpers to apply the SrvcDocTypeDefectCodeProfType field to query operations.
|
static ServiceRequestDefectField<String> |
SRVC_DOC_TYPE_DEFECT_CODE_PROFILE
Use with available fluent helpers to apply the SrvcDocTypeDefectCodeProfile field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ServiceRequestDefect() |
ServiceRequestDefect(String serviceRequest,
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 ServiceRequestDefect.ServiceRequestDefectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ServiceRequestDefectField<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()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
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 |
getServiceRequest()
(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<ServiceRequestDefect> |
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
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setServiceRequest(String serviceRequest)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
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 ServiceRequestDefectSelectable ALL_FIELDS
public static final ServiceRequestDefectField<String> SERVICE_REQUEST
public static final ServiceRequestDefectField<String> SRVC_DOC_TYPE_DEFECT_CODE_PROF_TYPE
public static final ServiceRequestDefectField<Short> SERVICE_DEFECT_SEQUENCE
public static final ServiceRequestDefectField<String> SRVC_DOC_TYPE_DEFECT_CODE_PROFILE
public static final ServiceRequestDefectField<String> SERVICE_DEFECT_CODE_CATALOG
public static final ServiceRequestDefectField<String> SERVICE_DEFECT_CODE_GROUP
public static final ServiceRequestDefectField<String> SERVICE_DEFECT_CODE
public static final ServiceRequestDefectField<String> SERVICE_DEFECT_SCHEMA
public static final ServiceRequestDefectField<String> SERVICE_DEFECT_CATEGORY
public ServiceRequestDefect()
public ServiceRequestDefect(@Nullable String serviceRequest, @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<ServiceRequestDefect> getType()
getType
in class VdmObject<ServiceRequestDefect>
public void setServiceRequest(@Nullable String serviceRequest)
Original property name from the Odata EDM: ServiceRequest
serviceRequest
- Transaction IDpublic void setSrvcDocTypeDefectCodeProfType(@Nullable String srvcDocTypeDefectCodeProfType)
Original property name from the Odata EDM: SrvcDocTypeDefectCodeProfType
srvcDocTypeDefectCodeProfType
- Subject Profile Categorypublic 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
- Subject Profilepublic void setServiceDefectCodeCatalog(@Nullable String serviceDefectCodeCatalog)
Original property name from the Odata EDM: ServiceDefectCodeCatalog
serviceDefectCodeCatalog
- Catalogpublic void setServiceDefectCodeGroup(@Nullable String serviceDefectCodeGroup)
Original property name from the Odata EDM: ServiceDefectCodeGroup
serviceDefectCodeGroup
- Code Grouppublic void setServiceDefectCode(@Nullable String serviceDefectCode)
Original property name from the Odata EDM: ServiceDefectCode
serviceDefectCode
- Codepublic 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()
VdmEntity
getEntityCollection
in class VdmEntity<ServiceRequestDefect>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ServiceRequestDefect>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ServiceRequestDefect>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ServiceRequestDefect>
@Nonnull public static <T> ServiceRequestDefectField<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> ServiceRequestDefectField<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<ServiceRequestDefect>
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<ServiceRequestDefect>
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<ServiceRequestDefect>
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()
VdmEntity
getDefaultServicePath
in class VdmEntity<ServiceRequestDefect>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ServiceRequestDefect.ServiceRequestDefectBuilder builder()
@Nullable public String getServiceRequest()
Original property name from the Odata EDM: ServiceRequest
@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
@Nullable public String getServiceDefectCodeGroup()
Original property name from the Odata EDM: ServiceDefectCodeGroup
@Nullable public String getServiceDefectCode()
Original property name from the Odata EDM: ServiceDefectCode
@Nullable public String getServiceDefectSchema()
Original property name from the Odata EDM: ServiceDefectSchema
@Nullable public String getServiceDefectCategory()
Original property name from the Odata EDM: ServiceDefectCategory
@Nonnull public String toString()
toString
in class VdmObject<ServiceRequestDefect>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ServiceRequestDefect>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ServiceRequestDefect>
public int hashCode()
hashCode
in class VdmObject<ServiceRequestDefect>
Copyright © 2021 SAP SE. All rights reserved.