org.apache.empire.struts2.websample.ws
Class SampleBeanClass

java.lang.Object
  extended by org.apache.empire.data.bean.BeanClass
      extended by org.apache.empire.struts2.websample.ws.SampleBeanClass
Direct Known Subclasses:
SampleBeanDomain.Departments, SampleBeanDomain.Employees

public class SampleBeanClass
extends BeanClass

Base class definition for all database tables Automatically generates a message-key for the field title e.g. for the column EMPLOYEES.DATE_OF_BIRTH it generates the key "!field.title.employees.dateOfBirth";


Field Summary
 java.lang.String MESSAGE_KEY_PREFIX
           
 
Fields inherited from class org.apache.empire.data.bean.BeanClass
domain
 
Constructor Summary
SampleBeanClass(java.lang.String name, BeanDomain dom)
           
 
Method Summary
protected  void addProp(BeanProperty prop)
           
 
Methods inherited from class org.apache.empire.data.bean.BeanClass
addProp, addProp, addProp, getDomain, getKeyColumns, getName, getProperties, setKeyColumn, setKeyColumns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_KEY_PREFIX

public final java.lang.String MESSAGE_KEY_PREFIX
See Also:
Constant Field Values
Constructor Detail

SampleBeanClass

public SampleBeanClass(java.lang.String name,
                       BeanDomain dom)
Method Detail

addProp

protected void addProp(BeanProperty prop)
Overrides:
addProp in class BeanClass


Copyright © 2008-2009 Apache Software Foundation. All Rights Reserved.