public class InspectionMethod extends VdmEntity<InspectionMethod>
Original entity name from the Odata EDM: A_InspectionMethodType
Modifier and Type | Class and Description |
---|---|
static class |
InspectionMethod.InspectionMethodBuilder |
Modifier and Type | Field and Description |
---|---|
static InspectionMethodSelectable |
ALL_FIELDS
Selector for all available fields of InspectionMethod.
|
static InspectionMethodField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static InspectionMethodField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static InspectionMethodField<String> |
INSP_METH_INFORMATION_FIELD1
Use with available fluent helpers to apply the InspMethInformationField1 field to query operations.
|
static InspectionMethodField<String> |
INSP_METH_INFORMATION_FIELD2
Use with available fluent helpers to apply the InspMethInformationField2 field to query operations.
|
static InspectionMethodField<String> |
INSP_METH_INFORMATION_FIELD3
Use with available fluent helpers to apply the InspMethInformationField3 field to query operations.
|
static InspectionMethodField<String> |
INSPECTION_METHOD
Use with available fluent helpers to apply the InspectionMethod field to query operations.
|
static InspectionMethodField<String> |
INSPECTION_METHOD_PLANT
Use with available fluent helpers to apply the InspectionMethodPlant field to query operations.
|
static InspectionMethodField<String> |
INSPECTION_METHOD_SEARCH_FIELD
Use with available fluent helpers to apply the InspectionMethodSearchField field to query operations.
|
static InspectionMethodField<String> |
INSPECTION_METHOD_STATUS
Use with available fluent helpers to apply the InspectionMethodStatus field to query operations.
|
static InspectionMethodField<LocalDateTime> |
INSPECTION_METHOD_VALID_FROM_DATE
Use with available fluent helpers to apply the InspectionMethodValidFromDate field to query operations.
|
static InspectionMethodField<String> |
INSPECTION_METHOD_VERSION
Use with available fluent helpers to apply the InspectionMethodVersion field to query operations.
|
static InspectionMethodField<String> |
INSPECTOR_QUALIFICATION
Use with available fluent helpers to apply the InspectorQualification field to query operations.
|
static InspectionMethodField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static InspectionMethodField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static InspectionMethodField<String> |
LINKED_SAP_OBJECT_KEY
Use with available fluent helpers to apply the LinkedSAPObjectKey field to query operations.
|
static InspectionMethodField<String> |
QLTY_MSTR_DATA_AUTHORIZATION_GROUP
Use with available fluent helpers to apply the QltyMstrDataAuthorizationGroup field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
InspectionMethod() |
InspectionMethod(String inspectionMethod,
String inspectionMethodVersion,
String inspectionMethodPlant,
LocalDateTime inspectionMethodValidFromDate,
String inspectionMethodSearchField,
String inspectionMethodStatus,
String inspMethInformationField1,
String inspMethInformationField2,
String inspMethInformationField3,
String qltyMstrDataAuthorizationGroup,
String inspectorQualification,
String createdByUser,
LocalDateTime creationDate,
String lastChangedByUser,
LocalDateTime lastChangeDate,
String linkedSAPObjectKey) |
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 InspectionMethod.InspectionMethodBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> InspectionMethodField<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) |
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
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.
|
String |
getInspectionMethod()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getInspectionMethodPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getInspectionMethodSearchField()
Constraints: Not nullable, Maximum length: 40
|
String |
getInspectionMethodStatus()
Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getInspectionMethodValidFromDate()
Constraints: Not nullable, Precision: 0
|
String |
getInspectionMethodVersion()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getInspectorQualification()
Constraints: Not nullable, Maximum length: 5
|
String |
getInspMethInformationField1()
Constraints: Not nullable, Maximum length: 10
|
String |
getInspMethInformationField2()
Constraints: Not nullable, Maximum length: 20
|
String |
getInspMethInformationField3()
Constraints: Not nullable, Maximum length: 40
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getLinkedSAPObjectKey()
Constraints: Not nullable, Maximum length: 18
|
String |
getQltyMstrDataAuthorizationGroup()
Constraints: Not nullable, Maximum length: 8
|
Class<InspectionMethod> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setInspectionMethod(String inspectionMethod)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setInspectionMethodPlant(String inspectionMethodPlant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setInspectionMethodSearchField(String inspectionMethodSearchField)
Constraints: Not nullable, Maximum length: 40
|
void |
setInspectionMethodStatus(String inspectionMethodStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setInspectionMethodValidFromDate(LocalDateTime inspectionMethodValidFromDate)
Constraints: Not nullable, Precision: 0
|
void |
setInspectionMethodVersion(String inspectionMethodVersion)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setInspectorQualification(String inspectorQualification)
Constraints: Not nullable, Maximum length: 5
|
void |
setInspMethInformationField1(String inspMethInformationField1)
Constraints: Not nullable, Maximum length: 10
|
void |
setInspMethInformationField2(String inspMethInformationField2)
Constraints: Not nullable, Maximum length: 20
|
void |
setInspMethInformationField3(String inspMethInformationField3)
Constraints: Not nullable, Maximum length: 40
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setLinkedSAPObjectKey(String linkedSAPObjectKey)
Constraints: Not nullable, Maximum length: 18
|
void |
setQltyMstrDataAuthorizationGroup(String qltyMstrDataAuthorizationGroup)
Constraints: Not nullable, Maximum length: 8
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 InspectionMethodSelectable ALL_FIELDS
public static final InspectionMethodField<String> INSPECTION_METHOD
public static final InspectionMethodField<String> INSPECTION_METHOD_VERSION
public static final InspectionMethodField<String> INSPECTION_METHOD_PLANT
public static final InspectionMethodField<LocalDateTime> INSPECTION_METHOD_VALID_FROM_DATE
public static final InspectionMethodField<String> INSPECTION_METHOD_SEARCH_FIELD
public static final InspectionMethodField<String> INSPECTION_METHOD_STATUS
public static final InspectionMethodField<String> INSP_METH_INFORMATION_FIELD1
public static final InspectionMethodField<String> INSP_METH_INFORMATION_FIELD2
public static final InspectionMethodField<String> INSP_METH_INFORMATION_FIELD3
public static final InspectionMethodField<String> QLTY_MSTR_DATA_AUTHORIZATION_GROUP
public static final InspectionMethodField<String> INSPECTOR_QUALIFICATION
public static final InspectionMethodField<String> CREATED_BY_USER
public static final InspectionMethodField<LocalDateTime> CREATION_DATE
public static final InspectionMethodField<String> LAST_CHANGED_BY_USER
public static final InspectionMethodField<LocalDateTime> LAST_CHANGE_DATE
public static final InspectionMethodField<String> LINKED_SAP_OBJECT_KEY
public InspectionMethod()
public InspectionMethod(@Nullable String inspectionMethod, @Nullable String inspectionMethodVersion, @Nullable String inspectionMethodPlant, @Nullable LocalDateTime inspectionMethodValidFromDate, @Nullable String inspectionMethodSearchField, @Nullable String inspectionMethodStatus, @Nullable String inspMethInformationField1, @Nullable String inspMethInformationField2, @Nullable String inspMethInformationField3, @Nullable String qltyMstrDataAuthorizationGroup, @Nullable String inspectorQualification, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String linkedSAPObjectKey)
@Nonnull public Class<InspectionMethod> getType()
getType
in class VdmObject<InspectionMethod>
public void setInspectionMethod(@Nullable String inspectionMethod)
Original property name from the Odata EDM: InspectionMethod
An inspection method describes how to inspect an inspection characteristic. You can assign an inspection method to a master inspection characteristic or directly to an inspection characteristic in an inspection plan.
inspectionMethod
- Name that uniquely identifies an inspection method within a plant.public void setInspectionMethodVersion(@Nullable String inspectionMethodVersion)
Original property name from the Odata EDM: InspectionMethodVersion
inspectionMethodVersion
- Version Number of the Inspection Methodpublic void setInspectionMethodPlant(@Nullable String inspectionMethodPlant)
Original property name from the Odata EDM: InspectionMethodPlant
For inspection methods this plant is the planning plant, in which the inspection method was created in QM.
inspectionMethodPlant
- Key, that identifies a plant.public void setInspectionMethodValidFromDate(@Nullable LocalDateTime inspectionMethodValidFromDate)
Original property name from the Odata EDM: InspectionMethodValidFromDate
inspectionMethodValidFromDate
- Specifies the start date for the validity period of an object (such as material, BOM, or routing).public void setInspectionMethodSearchField(@Nullable String inspectionMethodSearchField)
Original property name from the Odata EDM: InspectionMethodSearchField
Enter a meaningful word or phrase in this language-independent field. The entry you make should be easy to remember and should identify the master data record uniquely.
inspectionMethodSearchField
- This field uses the search help to make it easier to find master data records.public void setInspectionMethodStatus(@Nullable String inspectionMethodStatus)
Original property name from the Odata EDM: InspectionMethodStatus
inspectionMethodStatus
- Indicates the processing status of the master record; for example, created, released, blocked, marked
for deletion.public void setInspMethInformationField1(@Nullable String inspMethInformationField1)
Original property name from the Odata EDM: InspMethInformationField1
inspMethInformationField1
- This field is used to store information only. The system does not use the contents of this field. Its
only purpose is to provide a place to store information that is relevant to an object, such as an
inspection method or a master inspection characteristic.public void setInspMethInformationField2(@Nullable String inspMethInformationField2)
Original property name from the Odata EDM: InspMethInformationField2
inspMethInformationField2
- This field is used to store information only. The system does not use the contents of this field. Its
only purpose is to provide a place to store information that is relevant to an object, such as an
inspection method or a master inspection characteristic.public void setInspMethInformationField3(@Nullable String inspMethInformationField3)
Original property name from the Odata EDM: InspMethInformationField3
inspMethInformationField3
- This field is used to store information only. The system does not use the contents of this field. Its
only purpose is to provide a place to store information that is relevant to an object, such as an
inspection method or a master inspection characteristic.public void setQltyMstrDataAuthorizationGroup(@Nullable String qltyMstrDataAuthorizationGroup)
Original property name from the Odata EDM: QltyMstrDataAuthorizationGroup
Objects and activities that are affected:Master inspection characteristic, inspection method:Creating with an authorization groupCreating a validity period with an authorization groupChangingDisplayingDeletingChanging authorization groupIncluding inspection method in master inspection characteristic or task listIncluding master inspection characteristic in task list, certificate profile, or material specificationChanging an unplanned characteristic in results recordingSample-drawing procedure:EditingEditing authorization groupIf you enter an authorization group for master data records, the system checks whether the user has access to the objects named above.If no authorization group is entered in the master record, no authorization check takes place.To pass the authorization check, the user must have authorization for master data, which contains the relevant authorization group as a field value.
qltyMstrDataAuthorizationGroup
- The basic data authorization group restricts user access to the Quality Management basic data.public void setInspectorQualification(@Nullable String inspectorQualification)
Original property name from the Odata EDM: InspectorQualification
This field has no controlling function. However, your entry is checked against a list of qualifications stored in the database.You can enter an inspector qualification in an inspection method, a master inspection characteristic, or a task list.If you use a master inspection characteristic in a task list that has an inspection method assigned, the inspector qualification defined in the inspection method is used in the task list. If there is no inspector qualification in the inspection method, the qualification is taken from the master inspection characteristic.
inspectorQualification
- Qualification that an inspector must have and, if necessary, validate in order to be able to conduct
an inspection.public void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
The system automatically enters the user name.
createdByUser
- Name of the user who created this data record.public void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
The system enters the current system date.
creationDate
- Date on which the data record was created.public void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of the user who made the last change to this data record.public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
The system enters the current system date.
lastChangeDate
- Date on which the data record was last changed.public void setLinkedSAPObjectKey(@Nullable String linkedSAPObjectKey)
Original property name from the Odata EDM: LinkedSAPObjectKey
linkedSAPObjectKey
- The linkedSAPObjectKey to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<InspectionMethod>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<InspectionMethod>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<InspectionMethod>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<InspectionMethod>
@Nonnull public static <T> InspectionMethodField<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> InspectionMethodField<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<InspectionMethod>
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<InspectionMethod>
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<InspectionMethod>
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<InspectionMethod>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static InspectionMethod.InspectionMethodBuilder builder()
@Nullable public String getInspectionMethod()
Original property name from the Odata EDM: InspectionMethod
An inspection method describes how to inspect an inspection characteristic. You can assign an inspection method to a master inspection characteristic or directly to an inspection characteristic in an inspection plan.
@Nullable public String getInspectionMethodVersion()
Original property name from the Odata EDM: InspectionMethodVersion
@Nullable public String getInspectionMethodPlant()
Original property name from the Odata EDM: InspectionMethodPlant
For inspection methods this plant is the planning plant, in which the inspection method was created in QM.
@Nullable public LocalDateTime getInspectionMethodValidFromDate()
Original property name from the Odata EDM: InspectionMethodValidFromDate
@Nullable public String getInspectionMethodSearchField()
Original property name from the Odata EDM: InspectionMethodSearchField
Enter a meaningful word or phrase in this language-independent field. The entry you make should be easy to remember and should identify the master data record uniquely.
@Nullable public String getInspectionMethodStatus()
Original property name from the Odata EDM: InspectionMethodStatus
@Nullable public String getInspMethInformationField1()
Original property name from the Odata EDM: InspMethInformationField1
@Nullable public String getInspMethInformationField2()
Original property name from the Odata EDM: InspMethInformationField2
@Nullable public String getInspMethInformationField3()
Original property name from the Odata EDM: InspMethInformationField3
@Nullable public String getQltyMstrDataAuthorizationGroup()
Original property name from the Odata EDM: QltyMstrDataAuthorizationGroup
Objects and activities that are affected:Master inspection characteristic, inspection method:Creating with an authorization groupCreating a validity period with an authorization groupChangingDisplayingDeletingChanging authorization groupIncluding inspection method in master inspection characteristic or task listIncluding master inspection characteristic in task list, certificate profile, or material specificationChanging an unplanned characteristic in results recordingSample-drawing procedure:EditingEditing authorization groupIf you enter an authorization group for master data records, the system checks whether the user has access to the objects named above.If no authorization group is entered in the master record, no authorization check takes place.To pass the authorization check, the user must have authorization for master data, which contains the relevant authorization group as a field value.
@Nullable public String getInspectorQualification()
Original property name from the Odata EDM: InspectorQualification
This field has no controlling function. However, your entry is checked against a list of qualifications stored in the database.You can enter an inspector qualification in an inspection method, a master inspection characteristic, or a task list.If you use a master inspection characteristic in a task list that has an inspection method assigned, the inspector qualification defined in the inspection method is used in the task list. If there is no inspector qualification in the inspection method, the qualification is taken from the master inspection characteristic.
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
The system automatically enters the user name.
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
The system enters the current system date.
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
The system enters the current system date.
@Nullable public String getLinkedSAPObjectKey()
Original property name from the Odata EDM: LinkedSAPObjectKey
public String toString()
toString
in class VdmObject<InspectionMethod>
public boolean equals(Object o)
equals
in class VdmObject<InspectionMethod>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<InspectionMethod>
public int hashCode()
hashCode
in class VdmObject<InspectionMethod>
Copyright © 2020 SAP SE. All rights reserved.