Class ExecutionResult


  • public class ExecutionResult
    extends java.lang.Object
    Represents the result of 1 or more executions. This object will be rendered as JSON
    Author:
    Gethin James
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEmbedded​(java.util.Map<java.lang.String,​java.lang.Object> embedded)
      Adds embeddeds object to the enclosing root object
      void addRelated​(java.util.Map<java.lang.String,​java.lang.Object> related)
      Adds related object to the enclosing root object
      java.util.Map<java.lang.String,​java.lang.Object> getEmbedded()
      Returns the Map of embedded objects
      BeanPropertiesFilter getFilter()  
      java.util.Map<java.lang.String,​java.lang.Object> getRelated()
      Returns the Map of related objects
      java.lang.Object getRoot()  
      boolean isAnEmbeddedEntity()
      Is this object and embedded entity
      void setAnEmbeddedEntity​(boolean anEmbeddedEntity)
      Is this object and embedded entity
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getRoot

        public java.lang.Object getRoot()
      • addEmbedded

        public void addEmbedded​(java.util.Map<java.lang.String,​java.lang.Object> embedded)
        Adds embeddeds object to the enclosing root object
        Parameters:
        embedded - objects to add
      • addRelated

        public void addRelated​(java.util.Map<java.lang.String,​java.lang.Object> related)
        Adds related object to the enclosing root object
        Parameters:
        related - objects to add
      • isAnEmbeddedEntity

        public boolean isAnEmbeddedEntity()
        Is this object and embedded entity
        Returns:
        boolean - true if it is embedded, defaults to false
      • setAnEmbeddedEntity

        public void setAnEmbeddedEntity​(boolean anEmbeddedEntity)
        Is this object and embedded entity
        Parameters:
        anEmbeddedEntity - - true if it is embedded, defaults to false
      • getRelated

        public java.util.Map<java.lang.String,​java.lang.Object> getRelated()
        Returns the Map of related objects
        Returns:
        Map
      • getEmbedded

        public java.util.Map<java.lang.String,​java.lang.Object> getEmbedded()
        Returns the Map of embedded objects
        Returns:
        Map
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object