org.lexevs.system.constants
Class IndividualVariableFactory<T>

java.lang.Object
  extended by org.lexevs.system.constants.IndividualVariableFactory<T>
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class IndividualVariableFactory<T>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean

A factory for creating IndividualVariable objects.


Constructor Summary
IndividualVariableFactory()
           
 
Method Summary
 T getBean()
          Gets the bean.
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 java.lang.String getVariableName()
          Gets the variable name.
 boolean isSingleton()
           
 void setBean(T bean)
          Sets the bean.
 void setVariableName(java.lang.String variableName)
          Sets the variable name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndividualVariableFactory

public IndividualVariableFactory()
Method Detail

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getBean

public T getBean()
Gets the bean.

Returns:
the bean

setBean

public void setBean(T bean)
Sets the bean.

Parameters:
bean - the new bean

getVariableName

public java.lang.String getVariableName()
Gets the variable name.

Returns:
the variable name

setVariableName

public void setVariableName(java.lang.String variableName)
Sets the variable name.

Parameters:
variableName - the new variable name

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.