net.sf.jasperreports.repo

## Class ObjectResource<T>

- java.lang.Object
- - net.sf.jasperreports.repo.ObjectResource<T>

- All Implemented Interfaces:
    Resource
  Direct Known Subclasses:
    CastorResource, InputStreamResource, OutputStreamResource, ResourceBundleResource, SerializableResource

      public class ObjectResource<T>
      extends java.lang.Object
      implements Resource

  Version:
    $Id: ObjectResource.java 6918 2014-02-19 17:35:10Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectResource()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()`
    `T` | `getValue()`
    `void` | `setName(java.lang.String name)`
    `void` | `setValue(T value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ObjectResource

          public ObjectResource()

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Specified by:
        `getName` in interface `Resource`

    - #### setName

          public void setName(java.lang.String name)

      Specified by:
        `setName` in interface `Resource`

    - #### getValue

          public T getValue()

    - #### setValue

          public void setValue(T value)

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com