Sepasoft MES Module Suite
Response Personnel Property
When an operation is executed, this object is created that stores information about the personnel resource associated with the operation. It is the related to the Personnel Resource Property object.
This object is not derived from the MESAbstractObject. Instead it is derived from the AbstractMESComplexProperty and inherits all the exposed properties, methods and events for that object.
Object Functions
This object provides the following functions:
getBeginDateTime()
Get the begin date and time.
getBeginDateTime()
- Parameters
None
- Returns
Date beginDateTime - The date and time at which the segment begin.
- Scope
All
getEndDateTime()
Get the end date and time.
getEndDateTime()
- Parameters
None
- Returns
Date endDateTime - The date and time at which segment had end.
- Scope
All
getPersonRef()
Returns the reference of the personnel property.
getPersonRef()
- Parameters
None
- Returns
MES Object Link mesObjectLink - The MESObjectLink representing the personnel object.
- Scope
All
getPersonRefProperty()
Gets the person reference properties for this response personnel property.
getPersonRefProperty()
- Parameters
None
- Returns
MESPersonRefProperty - The person reference properties.
- Scope
All
getPersonnelRefType()
Gets the reference type of the personnel.
getPersonnelRefType()
- Parameters
None
- Returns
String personnelRefType - The type of the personnel.
- Scope
All
getPersonRefUUID()
Gets the reference UUID of the personnel.
getPersonRefUUID()
- Parameters
None
- Returns
String personRefUUID - The UUID representing this personnel.
- Scope
All
getPersonVersionRefUUID()
Gets the uuid representing the personnel version.
getPersonVersionRefUUID()
- Parameters
None
- Returns
String versionRefUUID - The UUID to refer the version of person.
- Scope
All
getQuantity()
Gets the quantity of personnel object.
getQuantity()
- Parameters
None
- Returns
Double quantity - The quantity of personnel object.
- Scope
All
hasBeginDateTime()
Checks if the start date and time is set.
hasBeginDateTime()
- Parameters
None
- Returns
boolean time - True, if the date and time to begin is set and False otherwise.
- Scope
All
hasEndDateTime()
Checks whether the end date and time is set.
hasEndDateTime()
- Parameters
None
- Returns
boolean time - True, if the end date and time is set and False otherwise.
- Scope
All
hasPersonRef()
Checks for the existence of person reference.
hasPersonRef()
- Parameters
None
- Returns
boolean True, if there exist any reference to the person and False otherwise.
- Scope
All
isActive()
Checks if the person is active.
isActive()
- Parameters
None
- Returns
boolean - True if the person is active and False if it is inactive.
- Scope
All
isOptional()
Returns true if the personnel is set as optional.
isOptional()
- Parameters
None
- Returns
boolean True if the personnel is set as optional and False otherwise.
- Scope
All
isProductionSelectable()
Checks if the personnel is selectable or not during production.
isProductionSelectable()
- Parameters
None
- Returns
boolean True if the personnel is selectable during production and False otherwise.
- Scope
All
setBeginDateTime(beginDateTime)
Set the beginning date and time to limit the results to return.
setBeginDateTime(beginDateTime)
- Parameters
Date beginDateTime - The date and time to filter the results.
- Returns
Nothing
- Scope
All
setEndDateTime(endDateTime)
Set the end date and time to limit the results to return.
setEndDateTime(endDateTime)
- Parameters
Date endDateTime - The date and time to filter the results.
- Returns
Nothing
- Scope
All
setPersonRef(mesObjectLink)
Sets the reference of the person.
setPersonRef(mesObjectLink)
- Parameters
MES Object Link mesObjectLink - The MESObjectLink representing the person.
- Returns
Nothing
- Scope
All
setPersonRefType(personRefType)
setPersonRefType(personRefType)
- Parameters
String personRefType - The type of person.
- Returns
Nothing
- Scope
All
setPersonRefUUID(personRefUUID)
setPersonRefUUID(personRefUUID)
- Parameters
String personRefUUID - The uuid representing this person.
- Returns
Nothing
- Scope
All
setOptional(optional)
Set the personnel as an optional one.
setOptional(optional)
- Parameters
Boolean optional - Set to True if this personnel should be optional and False otherwise.
- Returns
Nothing
- Scope
All
setProductionSelectable(productionSelectable)
Sets the boolean value for the production selectable property. User can select the production if set to True.
setProductionSelectable(productionSelectable)
- Parameters
boolean productionSelectable - Set to True if you need to enable this property and False otherwise.
- Returns
Nothing
- Scope
All
setQuantity(quantity)
Sets the quantity set for the personnel.
setQuantity(quantity)
- Parameters
Double quantity - The actual quantity for this personnel resource.
- Returns
Nothing
- Scope
All
setSegmentRefUUID(segmentRefUUID)
Sets a reference uuid for the segment.
setSegmentRefUUID(segmentRefUUID)
- Parameters
String segmentRefUUID - The uuid to set the segment for.
- Returns
Nothing
- Scope
All
Sepasoft MES Module Suite