|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.generator.model.TypeInfo
org.jfree.xml.generator.model.PropertyInfo
public class PropertyInfo
Information about a property.
Constructor Summary | |
---|---|
PropertyInfo(java.lang.String name,
java.lang.Class type)
Creates a new info object for a property. |
Method Summary | |
---|---|
PropertyType |
getPropertyType()
Returns the property type. |
java.lang.String |
getXmlHandler()
Returns the XML handler. |
java.lang.String |
getXmlName()
Returns the XML name. |
boolean |
isPreserve()
Returns the preserve flag. |
boolean |
isReadMethodAvailable()
Returns true if there is a read method available, and false
otherwise. |
boolean |
isWriteMethodAvailable()
Returns true if there is a write method available, and false
otherwise. |
void |
setPreserve(boolean preserve)
Sets the preserve flag. |
void |
setPropertyType(PropertyType propertyType)
Sets the property type. |
void |
setReadMethodAvailable(boolean readMethodAvailable)
Sets a flag indicating whether or not there is a read method for this property. |
void |
setWriteMethodAvailable(boolean writeMethodAvailable)
Sets a flag indicating whether or not there is a write method for this property. |
void |
setXmlHandler(java.lang.String xmlHandler)
Sets the XML handler. |
void |
setXmlName(java.lang.String xmlName)
Sets the XML name. |
Methods inherited from class org.jfree.xml.generator.model.TypeInfo |
---|
equals, getComments, getDescription, getName, getType, hashCode, isConstrained, isNullable, setComments, setConstrained, setDescription, setNullable |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyInfo(java.lang.String name, java.lang.Class type)
name
- the property name.type
- the class.Method Detail |
---|
public boolean isPreserve()
public void setPreserve(boolean preserve)
preserve
- the preserve flag.public PropertyType getPropertyType()
public void setPropertyType(PropertyType propertyType)
propertyType
- the type (null
not permitted).public java.lang.String getXmlHandler()
public void setXmlHandler(java.lang.String xmlHandler)
xmlHandler
- the fully qualified class name for the attribute handler.public java.lang.String getXmlName()
public void setXmlName(java.lang.String xmlName)
xmlName
- the XML name.public boolean isReadMethodAvailable()
true
if there is a read method available, and false
otherwise.
public void setReadMethodAvailable(boolean readMethodAvailable)
readMethodAvailable
- the new value of the flag.public boolean isWriteMethodAvailable()
true
if there is a write method available, and false
otherwise.
public void setWriteMethodAvailable(boolean writeMethodAvailable)
writeMethodAvailable
- the new value of the flag.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |