Interface IMendixIdentifier


public interface IMendixIdentifier
Represents a Mendix identifier, holding information for uniquely identifiying a Mendix object instance.

It holds the following information:

  • object type
  • datastore code
  • object id

Based on this information the Mendix identifier can generate a globally unique identifier (GUID), which is globally unique within the whole run-time.

  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    since 9.4.0
    short
    Deprecated.
    since 9.24.
    Returns the Mendix object that corresponds to this identifier or null if none is set.
    A string representation of the entity type.
    void
    Deprecated.
    since 9.23.
    long
    The numeric value of the Mendix identfier.
  • Method Details

    • getObjectType

      String getObjectType()
      A string representation of the entity type.
      Returns:
      the entity name
    • toLong

      long toLong()
      The numeric value of the Mendix identfier.
      Returns:
      the numeric value
    • getEntityId

      @Deprecated short getEntityId()
      Deprecated.
      since 9.24. This method was exposed for internal purposes. There is no replacement.
      The numeric value of the entity.
      Returns:
      the entity identifier
    • getObject

      IMendixObject getObject()
      Returns the Mendix object that corresponds to this identifier or null if none is set. Use at your own risk, the actual object will most likely not be set.
      Returns:
      the Mendix object if it set, null otherwise
    • setObject

      @Deprecated void setObject(IMendixObject object)
      Deprecated.
      since 9.23. This method was exposed for internal purposes. There is no replacement.
      Sets the Mendix object that corresponds to this identifier.
      Parameters:
      object - the object to set
    • clone

      Deprecated.
      since 9.4.0
      Returns a deep clone of this identifier. It will copy all data and share nothing with the original identifier.
      Returns:
      the deep clone
      Throws:
      CloneNotSupportedException