net.sf.jasperreports.jsf.component
Class UIDataSource

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by net.sf.jasperreports.jsf.component.UIDataSource
All Implemented Interfaces:
StateHolder

public class UIDataSource
extends UIComponentBase

The Class UIDataSource.


Field Summary
static String COMPONENT_FAMILY
          The Constant COMPONENT_FAMILY.
static String COMPONENT_TYPE
          The Constant COMPONENT_TYPE.
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UIDataSource()
          Instantiates a new uI data source.
 
Method Summary
 String getFamily()
           
 String getQuery()
          Gets the query.
 String getType()
          Gets the type.
 Object getValue()
          Gets the value.
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setQuery(String query)
          Sets the query.
 void setType(String type)
          Sets the type.
 void setValue(Object value)
          Sets the value.
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
The Constant COMPONENT_FAMILY.

See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
The Constant COMPONENT_TYPE.

See Also:
Constant Field Values
Constructor Detail

UIDataSource

public UIDataSource()
Instantiates a new uI data source.

Method Detail

getQuery

public String getQuery()
Gets the query.

Returns:
the query

setQuery

public void setQuery(String query)
Sets the query.

Parameters:
query - the new query

getType

public String getType()
Gets the type.

Returns:
the type

setType

public void setType(String type)
Sets the type.

Parameters:
type - the new type

getValue

public Object getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(Object value)
Sets the value.

Parameters:
value - the new value

getFamily

public String getFamily()
Specified by:
getFamily in class UIComponent

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class UIComponentBase

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class UIComponentBase


Copyright © 2009 SourceForge.net. All Rights Reserved.