Modifier and Type | Class and Description |
---|---|
static class |
Defect.DefectBuilder |
Modifier and Type | Field and Description |
---|---|
static DefectSelectable |
ALL_FIELDS
Selector for all available fields of Defect.
|
static DefectField<String> |
CATALOG_PROFILE
Use with available fluent helpers to apply the CatalogProfile field to query operations.
|
static DefectField<ZonedDateTime> |
CHANGED_DATE_TIME
Use with available fluent helpers to apply the ChangedDateTime field to query operations.
|
static DefectField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static DefectField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static DefectField<LocalTime> |
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations.
|
static DefectField<String> |
DEFECT
Use with available fluent helpers to apply the Defect field to query operations.
|
static DefectField<String> |
DEFECT_CATEGORY
Use with available fluent helpers to apply the DefectCategory field to query operations.
|
static DefectField<String> |
DEFECT_CLASS
Use with available fluent helpers to apply the DefectClass field to query operations.
|
static DefectField<String> |
DEFECT_CODE
Use with available fluent helpers to apply the DefectCode field to query operations.
|
static DefectField<String> |
DEFECT_CODE_CATALOG
Use with available fluent helpers to apply the DefectCodeCatalog field to query operations.
|
static DefectField<String> |
DEFECT_CODE_GROUP
Use with available fluent helpers to apply the DefectCodeGroup field to query operations.
|
static DefectField<String> |
DEFECT_CODE_VERSION
Use with available fluent helpers to apply the DefectCodeVersion field to query operations.
|
static DefectField<String> |
DEFECT_INTERNAL_ID
Use with available fluent helpers to apply the DefectInternalID field to query operations.
|
static DefectField<String> |
DEFECT_OBJECT_CODE
Use with available fluent helpers to apply the DefectObjectCode field to query operations.
|
static DefectField<String> |
DEFECT_OBJECT_CODE_CATALOG
Use with available fluent helpers to apply the DefectObjectCodeCatalog field to query operations.
|
static DefectField<String> |
DEFECT_OBJECT_CODE_GROUP
Use with available fluent helpers to apply the DefectObjectCodeGroup field to query operations.
|
static DefectField<String> |
DEFECT_ORIGIN
Use with available fluent helpers to apply the DefectOrigin field to query operations.
|
static DefectField<String> |
DEFECT_TEXT
Use with available fluent helpers to apply the DefectText field to query operations.
|
static DefectField<String> |
EQUIPMENT
Use with available fluent helpers to apply the Equipment field to query operations.
|
static DefectField<String> |
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations.
|
static DefectField<String> |
INSP_PLAN_OPERATION_INTERNAL_ID
Use with available fluent helpers to apply the InspPlanOperationInternalID field to query operations.
|
static DefectField<String> |
INSPECTION_CHARACTERISTIC
Use with available fluent helpers to apply the InspectionCharacteristic field to query operations.
|
static DefectField<String> |
INSPECTION_LOT
Use with available fluent helpers to apply the InspectionLot field to query operations.
|
static DefectField<String> |
INSPECTION_SUBSET_INTERNAL_ID
Use with available fluent helpers to apply the InspectionSubsetInternalID field to query operations.
|
static DefectField<String> |
IS_DELETED
Use with available fluent helpers to apply the IsDeleted field to query operations.
|
static DefectField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static DefectField<LocalTime> |
LAST_CHANGE_TIME
Use with available fluent helpers to apply the LastChangeTime field to query operations.
|
static DefectField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static DefectField<String> |
MAIN_WORK_CENTER_INTERNAL_ID
Use with available fluent helpers to apply the MainWorkCenterInternalID field to query operations.
|
static DefectField<String> |
MAIN_WORK_CENTER_PLANT
Use with available fluent helpers to apply the MainWorkCenterPlant field to query operations.
|
static DefectField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static DefectField<String> |
MATERIAL_SAMPLE
Use with available fluent helpers to apply the MaterialSample field to query operations.
|
static DefectField<Integer> |
NUMBER_OF_DEFECTS
Use with available fluent helpers to apply the NumberOfDefects field to query operations.
|
static DefectField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static DefectField<String> |
WORK_CENTER_TYPE_CODE
Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Defect() |
Defect(String defectInternalID,
String defect,
String defectCategory,
String createdByUser,
LocalDateTime creationDate,
String lastChangedByUser,
LocalDateTime lastChangeDate,
String defectText,
String defectCodeCatalog,
String defectCodeGroup,
String defectCode,
String defectCodeVersion,
String defectObjectCodeCatalog,
String defectObjectCodeGroup,
String defectObjectCode,
LocalTime creationTime,
LocalTime lastChangeTime,
String defectClass,
Integer numberOfDefects,
String inspPlanOperationInternalID,
String inspectionCharacteristic,
String inspectionSubsetInternalID,
String materialSample,
String workCenterTypeCode,
String mainWorkCenterInternalID,
String mainWorkCenterPlant,
String equipment,
String functionalLocation,
String isDeleted,
String defectOrigin,
String material,
String plant,
String inspectionLot,
String catalogProfile,
ZonedDateTime changedDateTime) |
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 Defect.DefectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> DefectField<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 |
getCatalogProfile()
Constraints: Not nullable, Maximum length: 9
|
ZonedDateTime |
getChangedDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getCreationTime()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getDefect()
Constraints: Not nullable, Maximum length: 11
|
String |
getDefectCategory()
Constraints: Not nullable, Maximum length: 2
|
String |
getDefectClass()
Constraints: Not nullable, Maximum length: 2
|
String |
getDefectCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getDefectCodeCatalog()
Constraints: Not nullable, Maximum length: 1
|
String |
getDefectCodeGroup()
Constraints: Not nullable, Maximum length: 8
|
String |
getDefectCodeVersion()
Constraints: Not nullable, Maximum length: 6
|
String |
getDefectInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
String |
getDefectObjectCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getDefectObjectCodeCatalog()
Constraints: Not nullable, Maximum length: 1
|
String |
getDefectObjectCodeGroup()
Constraints: Not nullable, Maximum length: 8
|
String |
getDefectOrigin()
Constraints: Not nullable, Maximum length: 1
|
String |
getDefectText()
Constraints: Not nullable, Maximum length: 40
|
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 |
getEquipment()
Constraints: Not nullable, Maximum length: 18
|
String |
getFunctionalLocation()
Constraints: Not nullable, Maximum length: 40
|
String |
getInspectionCharacteristic()
Constraints: Not nullable, Maximum length: 4
|
String |
getInspectionLot()
Constraints: Not nullable, Maximum length: 12
|
String |
getInspectionSubsetInternalID()
Constraints: Not nullable, Maximum length: 6
|
String |
getInspPlanOperationInternalID()
Constraints: Not nullable, Maximum length: 8
|
String |
getIsDeleted()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalTime |
getLastChangeTime()
Constraints: Not nullable, Precision: 0
|
String |
getMainWorkCenterInternalID()
Constraints: Not nullable, Maximum length: 8
|
String |
getMainWorkCenterPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialSample()
Constraints: Not nullable, Maximum length: 12
|
Integer |
getNumberOfDefects()
Constraints: none
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
Class<Defect> |
getType() |
String |
getWorkCenterTypeCode()
Constraints: Not nullable, Maximum length: 2
|
int |
hashCode() |
void |
setCatalogProfile(String catalogProfile)
Constraints: Not nullable, Maximum length: 9
|
void |
setChangedDateTime(ZonedDateTime changedDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCreationTime(LocalTime creationTime)
Constraints: Not nullable, Precision: 0
|
void |
setDefect(String defect)
Constraints: Not nullable, Maximum length: 11
|
void |
setDefectCategory(String defectCategory)
Constraints: Not nullable, Maximum length: 2
|
void |
setDefectClass(String defectClass)
Constraints: Not nullable, Maximum length: 2
|
void |
setDefectCode(String defectCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setDefectCodeCatalog(String defectCodeCatalog)
Constraints: Not nullable, Maximum length: 1
|
void |
setDefectCodeGroup(String defectCodeGroup)
Constraints: Not nullable, Maximum length: 8
|
void |
setDefectCodeVersion(String defectCodeVersion)
Constraints: Not nullable, Maximum length: 6
|
void |
setDefectInternalID(String defectInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setDefectObjectCode(String defectObjectCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setDefectObjectCodeCatalog(String defectObjectCodeCatalog)
Constraints: Not nullable, Maximum length: 1
|
void |
setDefectObjectCodeGroup(String defectObjectCodeGroup)
Constraints: Not nullable, Maximum length: 8
|
void |
setDefectOrigin(String defectOrigin)
Constraints: Not nullable, Maximum length: 1
|
void |
setDefectText(String defectText)
Constraints: Not nullable, Maximum length: 40
|
void |
setEquipment(String equipment)
Constraints: Not nullable, Maximum length: 18
|
void |
setFunctionalLocation(String functionalLocation)
Constraints: Not nullable, Maximum length: 40
|
void |
setInspectionCharacteristic(String inspectionCharacteristic)
Constraints: Not nullable, Maximum length: 4
|
void |
setInspectionLot(String inspectionLot)
Constraints: Not nullable, Maximum length: 12
|
void |
setInspectionSubsetInternalID(String inspectionSubsetInternalID)
Constraints: Not nullable, Maximum length: 6
|
void |
setInspPlanOperationInternalID(String inspPlanOperationInternalID)
Constraints: Not nullable, Maximum length: 8
|
void |
setIsDeleted(String isDeleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setLastChangeTime(LocalTime lastChangeTime)
Constraints: Not nullable, Precision: 0
|
void |
setMainWorkCenterInternalID(String mainWorkCenterInternalID)
Constraints: Not nullable, Maximum length: 8
|
void |
setMainWorkCenterPlant(String mainWorkCenterPlant)
Constraints: Not nullable, Maximum length: 4
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialSample(String materialSample)
Constraints: Not nullable, Maximum length: 12
|
void |
setNumberOfDefects(Integer numberOfDefects)
Constraints: none
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setWorkCenterTypeCode(String workCenterTypeCode)
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 DefectSelectable ALL_FIELDS
public static final DefectField<String> DEFECT_INTERNAL_ID
public static final DefectField<String> DEFECT
public static final DefectField<String> DEFECT_CATEGORY
public static final DefectField<String> CREATED_BY_USER
public static final DefectField<LocalDateTime> CREATION_DATE
public static final DefectField<String> LAST_CHANGED_BY_USER
public static final DefectField<LocalDateTime> LAST_CHANGE_DATE
public static final DefectField<String> DEFECT_TEXT
public static final DefectField<String> DEFECT_CODE_CATALOG
public static final DefectField<String> DEFECT_CODE_GROUP
public static final DefectField<String> DEFECT_CODE
public static final DefectField<String> DEFECT_CODE_VERSION
public static final DefectField<String> DEFECT_OBJECT_CODE_CATALOG
public static final DefectField<String> DEFECT_OBJECT_CODE_GROUP
public static final DefectField<String> DEFECT_OBJECT_CODE
public static final DefectField<LocalTime> CREATION_TIME
public static final DefectField<LocalTime> LAST_CHANGE_TIME
public static final DefectField<String> DEFECT_CLASS
public static final DefectField<Integer> NUMBER_OF_DEFECTS
public static final DefectField<String> INSP_PLAN_OPERATION_INTERNAL_ID
public static final DefectField<String> INSPECTION_CHARACTERISTIC
public static final DefectField<String> INSPECTION_SUBSET_INTERNAL_ID
public static final DefectField<String> MATERIAL_SAMPLE
public static final DefectField<String> WORK_CENTER_TYPE_CODE
public static final DefectField<String> MAIN_WORK_CENTER_INTERNAL_ID
public static final DefectField<String> MAIN_WORK_CENTER_PLANT
public static final DefectField<String> EQUIPMENT
public static final DefectField<String> FUNCTIONAL_LOCATION
public static final DefectField<String> IS_DELETED
public static final DefectField<String> DEFECT_ORIGIN
public static final DefectField<String> MATERIAL
public static final DefectField<String> PLANT
public static final DefectField<String> INSPECTION_LOT
public static final DefectField<String> CATALOG_PROFILE
public static final DefectField<ZonedDateTime> CHANGED_DATE_TIME
public Defect()
public Defect(@Nullable String defectInternalID, @Nullable String defect, @Nullable String defectCategory, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String defectText, @Nullable String defectCodeCatalog, @Nullable String defectCodeGroup, @Nullable String defectCode, @Nullable String defectCodeVersion, @Nullable String defectObjectCodeCatalog, @Nullable String defectObjectCodeGroup, @Nullable String defectObjectCode, @Nullable LocalTime creationTime, @Nullable LocalTime lastChangeTime, @Nullable String defectClass, @Nullable Integer numberOfDefects, @Nullable String inspPlanOperationInternalID, @Nullable String inspectionCharacteristic, @Nullable String inspectionSubsetInternalID, @Nullable String materialSample, @Nullable String workCenterTypeCode, @Nullable String mainWorkCenterInternalID, @Nullable String mainWorkCenterPlant, @Nullable String equipment, @Nullable String functionalLocation, @Nullable String isDeleted, @Nullable String defectOrigin, @Nullable String material, @Nullable String plant, @Nullable String inspectionLot, @Nullable String catalogProfile, @Nullable ZonedDateTime changedDateTime)
public void setDefectInternalID(@Nullable String defectInternalID)
Original property name from the Odata EDM: DefectInternalID
defectInternalID
- Number that identifies the notification.public void setDefect(@Nullable String defect)
Original property name from the Odata EDM: Defect
defect
- Defect Numberpublic void setDefectCategory(@Nullable String defectCategory)
Original property name from the Odata EDM: DefectCategory
defectCategory
- Defect Categorypublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on Which Record Was Createdpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of Person who Changed Objectpublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date of Last Changepublic void setDefectText(@Nullable String defectText)
Original property name from the Odata EDM: DefectText
defectText
- Defect Textpublic void setDefectCodeCatalog(@Nullable String defectCodeCatalog)
Original property name from the Odata EDM: DefectCodeCatalog
defectCodeCatalog
- Key for the catalog type on which the damages are basedpublic void setDefectCodeGroup(@Nullable String defectCodeGroup)
Original property name from the Odata EDM: DefectCodeGroup
defectCodeGroup
- Defect Code Grouppublic void setDefectCode(@Nullable String defectCode)
Original property name from the Odata EDM: DefectCode
defectCode
- Defect Codepublic void setDefectCodeVersion(@Nullable String defectCodeVersion)
Original property name from the Odata EDM: DefectCodeVersion
The system assigns a new version number if:an existing master record is created with a new validity perioda master record is changed with history
defectCodeVersion
- A master record can be maintained with different versions. The version number is always assigned by
the system.public void setDefectObjectCodeCatalog(@Nullable String defectObjectCodeCatalog)
Original property name from the Odata EDM: DefectObjectCodeCatalog
defectObjectCodeCatalog
- Defect Location Catalogpublic void setDefectObjectCodeGroup(@Nullable String defectObjectCodeGroup)
Original property name from the Odata EDM: DefectObjectCodeGroup
defectObjectCodeGroup
- Defect Location Code Grouppublic void setDefectObjectCode(@Nullable String defectObjectCode)
Original property name from the Odata EDM: DefectObjectCode
defectObjectCode
- Defect Location Codepublic void setCreationTime(@Nullable LocalTime creationTime)
Original property name from the Odata EDM: CreationTime
creationTime
- Time at Which Record Was Addedpublic void setLastChangeTime(@Nullable LocalTime lastChangeTime)
Original property name from the Odata EDM: LastChangeTime
lastChangeTime
- Time at which the current record was last changed.public void setDefectClass(@Nullable String defectClass)
Original property name from the Odata EDM: DefectClass
Defects are usually assigned to one of three classes: critical defect, major defect, or minor defect.
defectClass
- Categorizes the possible defects into classes according to a defect valuation based on the results
caused by the defect.public void setNumberOfDefects(@Nullable Integer numberOfDefects)
Original property name from the Odata EDM: NumberOfDefects
numberOfDefects
- Number of Defect Occurrencespublic void setInspPlanOperationInternalID(@Nullable String inspPlanOperationInternalID)
Original property name from the Odata EDM: InspPlanOperationInternalID
inspPlanOperationInternalID
- Current Node Number from Order Counterpublic void setInspectionCharacteristic(@Nullable String inspectionCharacteristic)
Original property name from the Odata EDM: InspectionCharacteristic
inspectionCharacteristic
- The number that explicitly identifies an inspection characteristic within an operation in an
inspection plan.public void setInspectionSubsetInternalID(@Nullable String inspectionSubsetInternalID)
Original property name from the Odata EDM: InspectionSubsetInternalID
inspectionSubsetInternalID
- Number identifying an inspection sample if dependent or independent multiple samples are used in the
sampling procedure of the characteristic or if inspection points are involved.public void setMaterialSample(@Nullable String materialSample)
Original property name from the Odata EDM: MaterialSample
materialSample
- Unique, client-wide identifier for a sample.public void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
Original property name from the Odata EDM: WorkCenterTypeCode
A - a work centerFH - a production resource/tool.The key is only used internally but it is displayed within matchcode selection on technical grounds. You do not have to make an entry.
workCenterTypeCode
- Internally used key which identifies the type of operating resource. For example, the following
indicators represent:public void setMainWorkCenterInternalID(@Nullable String mainWorkCenterInternalID)
Original property name from the Odata EDM: MainWorkCenterInternalID
mainWorkCenterInternalID
- Object ID of the Work Centerpublic void setMainWorkCenterPlant(@Nullable String mainWorkCenterPlant)
Original property name from the Odata EDM: MainWorkCenterPlant
mainWorkCenterPlant
- Key which unambiguously identifies a plant.public void setEquipment(@Nullable String equipment)
Original property name from the Odata EDM: Equipment
equipment
- Number by which a piece of equipment can be clearly identified.public void setFunctionalLocation(@Nullable String functionalLocation)
Original property name from the Odata EDM: FunctionalLocation
If alternative labels exist for a functional location, you can define in your user profile which label should be displayed in this field.
functionalLocation
- Label that uniquely identifies a functional location.public void setIsDeleted(@Nullable String isDeleted)
Original property name from the Odata EDM: IsDeleted
isDeleted
- The data record is marked for deletion if the indicator is set.public void setDefectOrigin(@Nullable String defectOrigin)
Original property name from the Odata EDM: DefectOrigin
defectOrigin
- Origin of Item Recordpublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setInspectionLot(@Nullable String inspectionLot)
Original property name from the Odata EDM: InspectionLot
The inspection lot number is assigned by the system.
inspectionLot
- Number that uniquely identifies an inspection lot.public void setCatalogProfile(@Nullable String catalogProfile)
Original property name from the Odata EDM: CatalogProfile
In Plant Maintenance and Customer Service, the catalog profile is proposed in the notification if:A notification is created without a reference object orThe reference object entered (equipment or functional location) does not contain a catalog profile
catalogProfile
- Key of the catalog profile that is intended as the basis for the notification.public void setChangedDateTime(@Nullable ZonedDateTime changedDateTime)
Original property name from the Odata EDM: ChangedDateTime
changedDateTime
- The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time).protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<Defect>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Defect>
@Nonnull public static <T> DefectField<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> DefectField<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<Defect>
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<Defect>
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<Defect>
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<Defect>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static Defect.DefectBuilder builder()
@Nullable public String getDefectInternalID()
Original property name from the Odata EDM: DefectInternalID
@Nullable public String getDefect()
Original property name from the Odata EDM: Defect
@Nullable public String getDefectCategory()
Original property name from the Odata EDM: DefectCategory
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public String getDefectText()
Original property name from the Odata EDM: DefectText
@Nullable public String getDefectCodeCatalog()
Original property name from the Odata EDM: DefectCodeCatalog
@Nullable public String getDefectCodeGroup()
Original property name from the Odata EDM: DefectCodeGroup
@Nullable public String getDefectCode()
Original property name from the Odata EDM: DefectCode
@Nullable public String getDefectCodeVersion()
Original property name from the Odata EDM: DefectCodeVersion
The system assigns a new version number if:an existing master record is created with a new validity perioda master record is changed with history
@Nullable public String getDefectObjectCodeCatalog()
Original property name from the Odata EDM: DefectObjectCodeCatalog
@Nullable public String getDefectObjectCodeGroup()
Original property name from the Odata EDM: DefectObjectCodeGroup
@Nullable public String getDefectObjectCode()
Original property name from the Odata EDM: DefectObjectCode
@Nullable public LocalTime getCreationTime()
Original property name from the Odata EDM: CreationTime
@Nullable public LocalTime getLastChangeTime()
Original property name from the Odata EDM: LastChangeTime
@Nullable public String getDefectClass()
Original property name from the Odata EDM: DefectClass
Defects are usually assigned to one of three classes: critical defect, major defect, or minor defect.
@Nullable public Integer getNumberOfDefects()
Original property name from the Odata EDM: NumberOfDefects
@Nullable public String getInspPlanOperationInternalID()
Original property name from the Odata EDM: InspPlanOperationInternalID
@Nullable public String getInspectionCharacteristic()
Original property name from the Odata EDM: InspectionCharacteristic
@Nullable public String getInspectionSubsetInternalID()
Original property name from the Odata EDM: InspectionSubsetInternalID
@Nullable public String getMaterialSample()
Original property name from the Odata EDM: MaterialSample
@Nullable public String getWorkCenterTypeCode()
Original property name from the Odata EDM: WorkCenterTypeCode
A - a work centerFH - a production resource/tool.The key is only used internally but it is displayed within matchcode selection on technical grounds. You do not have to make an entry.
@Nullable public String getMainWorkCenterInternalID()
Original property name from the Odata EDM: MainWorkCenterInternalID
@Nullable public String getMainWorkCenterPlant()
Original property name from the Odata EDM: MainWorkCenterPlant
@Nullable public String getEquipment()
Original property name from the Odata EDM: Equipment
@Nullable public String getFunctionalLocation()
Original property name from the Odata EDM: FunctionalLocation
If alternative labels exist for a functional location, you can define in your user profile which label should be displayed in this field.
@Nullable public String getIsDeleted()
Original property name from the Odata EDM: IsDeleted
@Nullable public String getDefectOrigin()
Original property name from the Odata EDM: DefectOrigin
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getInspectionLot()
Original property name from the Odata EDM: InspectionLot
The inspection lot number is assigned by the system.
@Nullable public String getCatalogProfile()
Original property name from the Odata EDM: CatalogProfile
In Plant Maintenance and Customer Service, the catalog profile is proposed in the notification if:A notification is created without a reference object orThe reference object entered (equipment or functional location) does not contain a catalog profile
@Nullable public ZonedDateTime getChangedDateTime()
Original property name from the Odata EDM: ChangedDateTime
Copyright © 2021 SAP SE. All rights reserved.