
package org.kishore.backends.ignite;

import org.apache.ignite.cache.query.annotations.QuerySqlField;

/**
 * The class maintains the indexed attribute details for objectclass.
 *
 */
public class Ignite_ObjectClass
{
  @QuerySqlField(index=true)
  private Long id;

  @QuerySqlField(orderedGroups = {
      @QuerySqlField.Group(name = "objectclassndexed_attrVal_idx", order = 0) })
  private Long entryID;

  @QuerySqlField()
  private String attrType;

  @QuerySqlField(orderedGroups = {
      @QuerySqlField.Group(name = "objectclassndexed_attrVal_idx", order = 1) })
  private String attrValue;



  /**
   * The default constructor.
   */
  public Ignite_ObjectClass()
  {
    // TODO Auto-generated constructor stub
  }



  /**
   * The constructor.
   *
   * @param entryId The entry ID.
   * @param attrType The attribute type.
   * @param attrValue The attribute value.
   */
  public Ignite_ObjectClass(Long entryId, String attrType,
      String attrValue)
  {
    this.entryID = entryId;
    this.attrType = attrType;
    this.attrValue = attrValue;
  }
}
