Class OperationResult<T>

java.lang.Object
de.rpgframework.genericrpg.chargen.OperationResult<T>

public class OperationResult<T> extends Object
  • Constructor Details

    • OperationResult

      public OperationResult()
    • OperationResult

      public OperationResult(Possible poss)
    • OperationResult

      public OperationResult(Possible poss, boolean success)
    • OperationResult

      public OperationResult(T value)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • get

      public T get()
    • set

      public void set(T value)
    • hasError

      public boolean hasError()
    • wasSuccessful

      public boolean wasSuccessful()
    • getMessages

      public List<ToDoElement> getMessages()
    • getError

      public String getError()
    • addMessage

      public void addMessage(ToDoElement mess)
    • isPresent

      public boolean isPresent()