Annotation Type Entity


  • @Retention(RUNTIME)
    public @interface Entity
    Entity annotation to define the properties of an entity.
    Author:
    ivol
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String component
      The ID of the component which serves this entity.
      boolean websiteSpecific
      Indicates if the Entity is website specific or not.
    • Element Detail

      • component

        String component
        The ID of the component which serves this entity. The entity will only be available when the component is active
        Default:
        ""
      • websiteSpecific

        boolean websiteSpecific
        Indicates if the Entity is website specific or not. If so, entities created by the Entity Manager will be associated with the current website (as defined by the active session). If a session is used with another website, this entity will not be visible to the Entity Manager.
        Returns:
        true if the entity is associated with the current website, false if the entity is available in all websites
        Default:
        false