Class EntityReference

  • All Implemented Interfaces:
    Serializable

    public final class EntityReference
    extends Object
    implements Serializable
    Basic info of a formcycle entity, used by queries made by E2E test against a formcycle app running inside a servlet container.

    Note that since the tests are running outside a formcycle context, formcycle specific classes are not available, so all parameters and return values must not reference formcycle specific classes. Thus we need to create separate classes for the data we wish to transfer between the E2E tests and the formcycle app.

    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Method Detail

      • getId

        public Long getId()
        Returns:
        The internal database ID of the entity.
      • getName

        public String getName()
        Returns:
        The name of the entity, if the entity does have a name.
      • getUuid

        public UUID getUuid()
        Returns:
        The UUID of the entity, if the entity does have a UUID.