Package com.imc.iss.groovy.user
Class Employee
java.lang.Object
com.imc.iss.groovy.user.Employee
This is a class representing a Employee for use by groovy scripts
Inside the script, an instance of this class, containing the data of the Employee that the script will be run on, will be provided automatically and can be accessed as a variable named employee
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmployeeDataAttributeValue(String attributeURI) To get the value of a Employee data attribute by attribute URI.getEmployeeRelationAttributeErpId(String attributeURI) To get the ERPID of a Employee relation attribute by attribute URI.getEmployeeRelationAttributeObjectId(String attributeURI) To get the object Id of a Employee relation attribute by attribute URI.getEmployeeRelationAttributeObjectName(String attributeURI) To get the object name of a Employee relation attribute by attribute URI.getEmployeeRelationAttributeURI(String attributeURI) To get the URI of a Employee relation attribute by attribute URI.Retrieves the URI of this Employee
-
Constructor Details
-
Employee
public Employee()
-
-
Method Details
-
getEmployeeDataAttributeValue
To get the value of a Employee data attribute by attribute URI.- Parameters:
attributeURI- as String. The URI of the Employee data attribute.- Returns:
- the value of the Employee data attribute as Object.
- Throws:
IMCException
-
getEmployeeRelationAttributeErpId
To get the ERPID of a Employee relation attribute by attribute URI.- Parameters:
attributeURI- as String. The URI of the Employee relation attribute.- Returns:
- the ERPId of the Employee relation attribute as String.
- Throws:
IMCException
-
getEmployeeRelationAttributeObjectId
To get the object Id of a Employee relation attribute by attribute URI.- Parameters:
attributeURI- as String. The URI of the Employee relation attribute.- Returns:
- the objectId of the Employee relation attribute as String.
- Throws:
IMCException
-
getEmployeeRelationAttributeObjectName
To get the object name of a Employee relation attribute by attribute URI.- Parameters:
attributeURI- as String. The URI of the Employee relation attribute.- Returns:
- the object name of the Employee relation attribute as String.
- Throws:
IMCException
-
getEmployeeRelationAttributeURI
To get the URI of a Employee relation attribute by attribute URI.- Parameters:
attributeURI- as String. The URI of the Employee relation attribute.- Returns:
- the object URI of the Employee relation attribute as String.
- Throws:
IMCException
-
getEmployeeURI
Retrieves the URI of this Employee- Returns:
- The Employee URI as String
-