public class PropertyInfo extends TypeInfo
Constructor and Description |
---|
PropertyInfo(String name,
Class type)
Creates a new info object for a property.
|
Modifier and Type | Method and Description |
---|---|
PropertyType |
getPropertyType()
Returns the property type.
|
String |
getXmlHandler()
Returns the XML handler.
|
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(String xmlHandler)
Sets the XML handler.
|
void |
setXmlName(String xmlName)
Sets the XML name.
|
equals, getComments, getDescription, getName, getType, hashCode, isConstrained, isNullable, setComments, setConstrained, setDescription, setNullable
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 String getXmlHandler()
public void setXmlHandler(String xmlHandler)
xmlHandler
- the fully qualified class name for the attribute handler.public String getXmlName()
public void setXmlName(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.Copyright © 2001–2018 JFree.org. All rights reserved.