java.lang.Object
org.infinispan.protostream.sampledomain.Note

@Indexed public class Note extends Object
An annotated entity.
Since:
3.0
Author:
anistor@redhat.com
  • Constructor Details

    • Note

      public Note()
  • Method Details

    • getText

      @Basic @ProtoField(1) public String getText()
    • setText

      public void setText(String text)
    • getAuthor

      @Basic @ProtoField(2) public User getAuthor()
    • setAuthor

      public void setAuthor(User author)
    • toString

      public String toString()
      Overrides:
      toString in class Object