org.bejug.javacareers.project.properties
Class ItemValueBinding

java.lang.Object
  extended byorg.bejug.javacareers.project.properties.ItemValueBinding

public class ItemValueBinding
extends java.lang.Object

This class binds the values defined in the application config to a specific javacareers Item class. It holds metadata for that class like the Clazz field to pass as a parameter to a searchCriteria object, an enabled/ disabled field to protect from unauthorized view and a message key to retrieve the I18nzed message from the messages resource bundle.

Version:
$Revision: 1.5 $ - $Date: 2005/12/20 15:36:47 $:
Author:
: Peter Symoens (Last modified by $Author: shally $)

Constructor Summary
ItemValueBinding()
           
 
Method Summary
 java.lang.Class getClazz()
           
 java.lang.String getMessageKey()
           
 boolean isEnabled()
           
 void setClazzName(java.lang.String className)
          Setter for the Spring container.
 void setEnabled(boolean enabled)
           
 void setEnabledString(java.lang.String enabled)
          Setter for the Spring container.
 void setMessageKey(java.lang.String messageKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemValueBinding

public ItemValueBinding()
Method Detail

getClazz

public java.lang.Class getClazz()
Returns:
the class object of this item.

setClazzName

public void setClazzName(java.lang.String className)
Setter for the Spring container.

Parameters:
className - The string to get the class from.

setEnabled

public void setEnabled(boolean enabled)
Parameters:
enabled - the boolean to set

isEnabled

public boolean isEnabled()
Returns:
is this enabled enabled

setEnabledString

public void setEnabledString(java.lang.String enabled)
Setter for the Spring container.

Parameters:
enabled - to enable

getMessageKey

public java.lang.String getMessageKey()
Returns:
the messageKey.

setMessageKey

public void setMessageKey(java.lang.String messageKey)
Parameters:
messageKey - The messageKey to set.


Copyright © 2005-2006 BeJUG. All Rights Reserved.