net.sf.beanform.prop
Class BeanProperty
java.lang.Object
net.sf.beanform.prop.BeanProperty
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BeanPropertyEjb3
public class BeanProperty
- extends java.lang.Object
- implements java.io.Serializable
A property of a Java bean, identified by the owner class and the name of the
property. Note that the name of the property may be recursive; for example, if
the owner class is Person, and the property name is
address.state.abbreviation, then this bean property represents a
person's address's state's 2-letter abbreviation, and its type is
java.lang.String (not Address or State).
- Author:
- Daniel Gredler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getOwnerClass
public java.lang.Class getOwnerClass()
getName
public java.lang.String getName()
divideName
public java.lang.String divideName(int i)
getValidators
public java.lang.String getValidators()
getAnnotations
public java.util.List<java.lang.annotation.Annotation> getAnnotations()
inferValidators
protected java.lang.String inferValidators()
isReadOnly
public boolean isReadOnly()
getTypeName
public java.lang.String getTypeName()
isString
public boolean isString()
isShortString
public boolean isShortString()
isLongString
public boolean isLongString()
isBoolean
public boolean isBoolean()
isNumber
public boolean isNumber()
isDate
public boolean isDate()
isEditableType
public boolean isEditableType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006 Daniel Gredler. All Rights Reserved.