Interface IMetaObjectIndex


public interface IMetaObjectIndex
Representation of a database index for an entity member.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<? extends IMetaPrimitive>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Since 11.12.0.
    Returns the attributes for this index.
    Returns the identifier of the modeled index which is the base of this meta object index.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Since 11.12.0.
    boolean
    Returns whether the specified member is ascending or descending in the index.
  • Method Details

    • getMembers

      List<? extends IMetaObjectMember> getMembers()
      Returns the attributes for this index.
      Returns:
      the attributes
      Since:
      Mendix 11.12
    • getAttributes

      @Deprecated(forRemoval=true, since="11.12.0") List<? extends IMetaPrimitive> getAttributes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 11.12.0. Use getMembers()
      Returns the attributes for this index. If a member of this index is an association, the corresponding list item will be null.
      Returns:
      the attributes
    • isMemberAscending

      boolean isMemberAscending(IMetaObjectMember member)
      Returns whether the specified member is ascending or descending in the index.
      Parameters:
      member - the attribute to check
      Returns:
      true if the member is ascending; false if it is descending
      Since:
      Mendix 11.12
    • isAttributeAscending

      @Deprecated(forRemoval=true, since="11.12.0") boolean isAttributeAscending(IMetaPrimitive attribute)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns whether the specified attribute is ascending or descending in the index.
      Parameters:
      attribute - the attribute to check
      Returns:
      true if the attribute is ascending; false if it is descending
    • getModelGUID

      UUID getModelGUID()
      Returns the identifier of the modeled index which is the base of this meta object index.
      Returns:
      the identifier