Class EntityDelegator<T extends Identifiable>

java.lang.Object
ubic.gemma.web.controller.util.EntityDelegator<T>
Type Parameters:
T - the type of entity being delegated

public class EntityDelegator<T extends Identifiable> extends Object
Bean to expose for remote access via AJAX, when all that is needed is the ID and a way to know what the class is.
Author:
Paul
  • Constructor Details

    • EntityDelegator

      public EntityDelegator()
    • EntityDelegator

      public EntityDelegator(T entity)
  • Method Details

    • getClassDelegatingFor

      public String getClassDelegatingFor()
    • getId

      public Long getId()
    • setClassDelegatingFor

      public void setClassDelegatingFor(String classDelegatingFor)
    • setId

      public void setId(Long id)
    • holds

      public boolean holds(Class<?> type)
      Check if the entity delegator holds the given type.
    • toString

      public String toString()
      Overrides:
      toString in class Object