Response Personnel Property

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()

Description

Get the begin date and time.

Syntax

getBeginDateTime()

  • Parameters

None

  • Returns

Date beginDateTime - The date and time at which the segment begin.

  • Scope

All

 

getEndDateTime()

Description

Get the end date and time.

Syntax

getEndDateTime()

  • Parameters

None

  • Returns

Date endDateTime - The date and time at which segment had end.

  • Scope

All

 

getPersonRef()

Description

Returns the reference of the personnel property.

Syntax

getPersonRef()

  • Parameters

None

  • Returns

MES Object Link mesObjectLink - The MESObjectLink representing the personnel object.

  • Scope

All

 

getPersonRefProperty()

Description

Gets the person reference properties for this response personnel property.

Syntax

getPersonRefProperty()

  • Parameters

None

  • Returns

MESPersonRefProperty - The person reference properties.

  • Scope

All

 

getPersonnelRefType()

Description

Gets the reference type of the personnel.

Syntax

getPersonnelRefType()

  • Parameters

None

  • Returns

String personnelRefType - The type of the personnel.

  • Scope

All

 

getPersonRefUUID()

Description

Gets the reference UUID of the personnel.

Syntax

getPersonRefUUID()

  • Parameters

None

  • Returns

String personRefUUID - The UUID representing this personnel.

  • Scope

All

 

getPersonVersionRefUUID()

Description

Gets the uuid representing the personnel version.

Syntax

getPersonVersionRefUUID()

  • Parameters

None

  • Returns

String versionRefUUID - The UUID to refer the version of person.

  • Scope

All

 

getQuantity()

Description

Gets the quantity of personnel object.

Syntax

getQuantity()

  • Parameters

None

  • Returns

Double quantity - The quantity of personnel object.

  • Scope

All

 

hasBeginDateTime()

Description

Checks if the start date and time is set.

Syntax

hasBeginDateTime()

  • Parameters

None

  • Returns

boolean time - True, if the date and time to begin is set and False otherwise.

  • Scope

All

 

hasEndDateTime()

Description

Checks whether the end date and time is set.

Syntax

hasEndDateTime()

  • Parameters

None

  • Returns

boolean time - True, if the end date and time is set and False otherwise.

  • Scope

All

 

hasPersonRef()

Description

Checks for the existence of person reference.

Syntax

hasPersonRef()

  • Parameters

None

  • Returns

boolean True, if there exist any reference to the person and False otherwise.

  • Scope

All

 

isActive()

Description

Checks if the person is active.

Syntax

isActive()

  • Parameters

None

  • Returns

boolean - True if the person is active and False if it is inactive.

  • Scope

All

 isOptional()

Description

Returns true if the personnel is set as optional.

Syntax

isOptional()

  • Parameters

None

  • Returns

boolean True if the personnel is set as optional and False otherwise.

  • Scope

All

 

isProductionSelectable()

Description

Checks if the personnel is selectable or not during production.

Syntax

isProductionSelectable()

  • Parameters

None

  • Returns

boolean True if the personnel is selectable during production and False otherwise.

  • Scope

All

 

setBeginDateTime(beginDateTime)

Description

Set the beginning date and time to limit the results to return.

Syntax

setBeginDateTime(beginDateTime)

  • Parameters

Date beginDateTime - The date and time to filter the results.

  • Returns

Nothing

  • Scope

All

 

setEndDateTime(endDateTime)

Description

Set the end date and time to limit the results to return.

Syntax

setEndDateTime(endDateTime)

  • Parameters

Date endDateTime - The date and time to filter the results.

  • Returns

Nothing

  • Scope

All

 setPersonRef(mesObjectLink)

Description

Sets the reference of the person.

Syntax

setPersonRef(mesObjectLink)

  • Parameters

MES Object Link mesObjectLink - The MESObjectLink representing the person.

  • Returns

Nothing

  • Scope

All

 

setPersonRefType(personRefType)

Description
Sets the reference type of person.
Syntax

setPersonRefType(personRefType)

  • Parameters

String personRefType - The type of person.

  • Returns

Nothing

  • Scope

All

 

setPersonRefUUID(personRefUUID)

Description
Sets the reference uuid of the person.
Syntax

setPersonRefUUID(personRefUUID)

  • Parameters

String personRefUUID - The uuid representing this person.

  • Returns

Nothing

  • Scope

All

 

setOptional(optional)

Description

Set the personnel as an optional one.

Syntax

setOptional(optional)

  • Parameters

Boolean optional - Set to True if this personnel should be optional and False otherwise.

  • Returns

Nothing

  • Scope

All

 

setProductionSelectable(productionSelectable)

Description

Sets the boolean value for the production selectable property. User can select the production if set to True.

Syntax

setProductionSelectable(productionSelectable)

  • Parameters

boolean productionSelectable - Set to True if you need to enable this property and False otherwise.

  • Returns

Nothing

  • Scope

All

 

setQuantity(quantity)

Description

Sets the quantity set for the personnel.

Syntax

setQuantity(quantity)

  • Parameters

Double quantity - The actual quantity for this personnel resource.

  • Returns

Nothing

  • Scope

All

 setSegmentRefUUID(segmentRefUUID)

Description

Sets a reference uuid for the segment.

Syntax

setSegmentRefUUID(segmentRefUUID)

  • Parameters

String segmentRefUUID - The uuid to set the segment for.

  • Returns

Nothing

  • Scope

All

 

setStatus(status)

Description

Sets the status for the response personnel property.

Syntax

setStatus(status)

  • Parameters

String status - The status to set the personnel property for.

  • Returns

Nothing

  • Scope

All

 

setUnits(units)

Description

Sets the units for the quantity setting.

Syntax

setUnits(units)

  • Parameters

String units - The units of quantity.

  • Returns

Nothing

  • Scope

All

Sepasoft MES Module Suite