AbstractMESObjectReferenceProperty
Sepasoft MES Module Suite
AbstractMESObjectProperty
This object can be used to obtain reference information about a Material Lot object regarding its location and material definition.
Object Creation
Returned with these functions:
Object Properties
Inherits the AbstractMESObject properties.
Object Functions
getMESObjectType()
Gets the MES object type that this property is set to.
getMESObjectType()
None
MESObjectTypes type - The MES object type that this property is set to.
All
getParentMESObjectUUID()
Gets the uuid of the parent object for this property.
getParentMESObjectUUID()
None
String parentMESObjectUUID - The uuid of the parent object.
All
getReferenceMESObjectName()
Gets the name of the reference object of this property.
getReferenceMESObjectName()
None
String name - Name of the reference object of this property.
All
getReferenceObject(mesObjectTypeName, mesObjectUUID)
Gets the reference object for this property.
getReferenceObject(mesObjectTypeName, mesObjectUUID)
String mesObjectTypeName - Name of the type of MES object to return reference object for.
String mesObjectUUID - The UUID of MES object to return the reference object for.
AbstractMESObject - The reference object for this property.
All
getReferenceOptions(referenceType, searchPattern)
Gets the reference options for this property.
getReferenceOptions(referenceType, searchPattern)
MESObjectTypes referenceType - The reference of MES object type that this property is set to.
String searchPattern - The search pattern to filter the results by. It can contain the * and ? wild card characters.
List<MESObjectLink> - The reference options for this property.
All
getRefPropertyPath()
Gets the reference property path for this property.
getRefPropertyPath()
None
String refPropertyPath - The reference property path for this property.
All
Gets the version reference UUID for this property.
getVersionRefUUID()
None
String versionRefUUID - The version reference uuid for this property.
All
hasParentMESObjectUUID()
Checks whether there is a parent object uuid associated with this property.
hasParentMESObjectUUID()
None
boolean - True if there exist a parent object uuid and False otherwise.
All
hasRefPropertyPath()
Checks whether there is a reference property path for this property.
hasRefPropertyPath()
None
boolean - True if there exist a reference property path and False otherwise.
All
setParentMESObjectUUID(parentMESObjectUUID)
Sets the UUID of the parent object for this property.
setParentMESObjectUUID(parentMESObjectUUID)
String parentMESObjectUUID - Unique identifier that represents the parent object.
Nothing
All
setRefPropertyPath(refPropertyPath)
Sets the reference property path for this property.
setRefPropertyPath(refPropertyPath)
String refPropertyPath - The reference property path for this property.
Nothing
All
Object Events
Inherits the AbstractMESObject events.
Event Name
| Description
|
|---|
CreateLotNumber | This event is run every time a Material Lot object is requested to create a new lot number. This event provides a method to intercept the generation of lot numbers so that the format of the lot number or even the number itself can be modified. For systems that retrieve lot numbers from a ERP or other system, this event will allow obtaining a lot number from it. Script in this event can also read from a block of available lot numbers that are maintained in a database. |
| EvaluateLotStatus | The event is fired when a Material Lot is being finalized in a segment operation with a quantity and/or status change. If no script is entered, then the default handler will be executed. To execute the default handler from within the script entered here, add a script line: event.runDefaultHandler() |
| New | The event is fired when a new instance of a Material Lot MES object is created. If no script is entered, then the default handler will be executed. To execute the default handler from within the script entered here, add a script line: event.runDefaultHandler() |
Sepasoft MES Module Suite