Class Employee

java.lang.Object
com.imc.iss.groovy.user.Employee

public class Employee extends Object
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 Details

    • Employee

      public Employee()
  • Method Details

    • getEmployeeDataAttributeValue

      public Object getEmployeeDataAttributeValue(String attributeURI) throws IMCException
      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

      public String getEmployeeRelationAttributeErpId(String attributeURI) throws IMCException
      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

      public String getEmployeeRelationAttributeObjectId(String attributeURI) throws IMCException
      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

      public String getEmployeeRelationAttributeObjectName(String attributeURI) throws IMCException
      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

      public String getEmployeeRelationAttributeURI(String attributeURI) throws IMCException
      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

      public String getEmployeeURI()
      Retrieves the URI of this Employee
      Returns:
      The Employee URI as String