package org.infinispan.query.api;

import org.infinispan.protostream.annotations.ProtoFactory;
import org.infinispan.protostream.annotations.ProtoField;

/**
 * A test value having a non-standard constructor, no setter and not indexed
 */
public class NotIndexedType {

   @ProtoFactory
   public NotIndexedType(String name) {
      this.name = name;
   }

   private final String name;

   @ProtoField(1)
   public String getName() {
      return name;
   }
}
