Class ResultOne<T>

java.lang.Object
org.craftercms.studio.model.rest.Result
org.craftercms.studio.model.rest.ResultOne<T>
Type Parameters:
T - the entity type

public class ResultOne<T> extends Result
A Result where the actual result is a single entity.
Author:
Dejan Brkic, avasquez
  • Field Details

  • Constructor Details

    • ResultOne

      public ResultOne()
  • Method Details

    • getEntity

      public Map<String,T> getEntity()
      Returns the result entity.
    • setEntity

      public void setEntity(String name, T entity)
      Sets the result entity.