org.jfree.xml.generator.model
Class PropertyInfo
Information about a property.
PropertyInfo(String name, Class type) - Creates a new info object for a property.
|
equals , getComments , getDescription , getName , getType , hashCode , isConstrained , isNullable , setComments , setConstrained , setDescription , setNullable |
PropertyInfo
public PropertyInfo(String name,
Class type)
Creates a new info object for a property.
name
- the property name.type
- the class.
getXmlHandler
public String getXmlHandler()
Returns the XML handler.
getXmlName
public String getXmlName()
Returns the XML name.
isPreserve
public boolean isPreserve()
Returns the preserve flag.
isReadMethodAvailable
public boolean isReadMethodAvailable()
Returns true
if there is a read method available, and false
otherwise.
isWriteMethodAvailable
public boolean isWriteMethodAvailable()
Returns true
if there is a write method available, and false
otherwise.
setPreserve
public void setPreserve(boolean preserve)
Sets the preserve flag.
preserve
- the preserve flag.
setPropertyType
public void setPropertyType(PropertyType propertyType)
Sets the property type.
propertyType
- the type (null
not permitted).
setReadMethodAvailable
public void setReadMethodAvailable(boolean readMethodAvailable)
Sets a flag indicating whether or not there is a read method for this property.
readMethodAvailable
- the new value of the flag.
setWriteMethodAvailable
public void setWriteMethodAvailable(boolean writeMethodAvailable)
Sets a flag indicating whether or not there is a write method for this property.
writeMethodAvailable
- the new value of the flag.
setXmlHandler
public void setXmlHandler(String xmlHandler)
Sets the XML handler.
xmlHandler
- the fully qualified class name for the attribute handler.
setXmlName
public void setXmlName(String xmlName)
Sets the XML name.