net.sf.beanform.prop
Class PseudoProperty

java.lang.Object
  extended by net.sf.beanform.prop.BeanProperty
      extended by net.sf.beanform.prop.PseudoProperty
All Implemented Interfaces:
Serializable

public class PseudoProperty
extends BeanProperty

A fake bean property that can be used to insert extra input fields into a BeanForm, allowing us to mix bean property fields with custom fields that do not correspond to bean properties.

Author:
Daniel Gredler
See Also:
Serialized Form

Constructor Summary
PseudoProperty(Class ownerClass, String name, String validators, String input)
           
 
Method Summary
 List<java.lang.annotation.Annotation> getAnnotations()
           
 Class getType()
           
 Object getValue()
           
 boolean isReadable()
           
 boolean isWriteable()
           
 void setValue(Object value)
           
 
Methods inherited from class net.sf.beanform.prop.BeanProperty
equals, getAnnotation, getInput, getName, getOwnerClass, getTypeName, getValidators, hashCode, isBoolean, isByteArray, isDate, isDouble, isEditableType, isEnum, isFloat, isInteger, isLong, isLongString, isNullable, isNumber, isShort, isShortString, isString, setBean, toString, usesCheckbox, usesDatePicker, usesInsert, usesTextArea, usesTextField, usesUpload
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PseudoProperty

public PseudoProperty(Class ownerClass,
                      String name,
                      String validators,
                      String input)
Method Detail

getAnnotations

public List<java.lang.annotation.Annotation> getAnnotations()
Overrides:
getAnnotations in class BeanProperty

isReadable

public boolean isReadable()
Overrides:
isReadable in class BeanProperty

isWriteable

public boolean isWriteable()
Overrides:
isWriteable in class BeanProperty

getType

public Class getType()
Overrides:
getType in class BeanProperty

getValue

public Object getValue()
Overrides:
getValue in class BeanProperty

setValue

public void setValue(Object value)
Overrides:
setValue in class BeanProperty


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.