net.sourceforge.pmd.properties
public abstract class AbstractPMDProperty extends Object implements PropertyDescriptor
Version: $Revision$
Field Summary | |
---|---|
protected char | multiValueDelimiter |
Constructor Summary | |
---|---|
protected | AbstractPMDProperty(String theName, String theDescription, Object theDefault, float theUIOrder)
Constructor for AbstractPMDProperty. |
Method Summary | |
---|---|
static boolean | areEqual(Object value, Object otherValue)
Method areEqual. |
String | asDelimitedString(Object values)
Method asDelimitedString. |
protected String | asString(Object value)
Return the value as a string that can be easily recognized and parsed
when we see it again.
|
Object[][] | choices()
Method choices. |
int | compareTo(PropertyDescriptor otherProperty)
Method compareTo. |
Object | defaultValue() |
String | description()
Method description. |
String | errorFor(Object value)
Method errorFor. |
protected boolean | isArray(Object value)
Method isArray. |
boolean | isRequired()
Method isRequired. |
int | maxValueCount()
Method maxValueCount. |
protected void | maxValueCount(int theCount)
Method maxValueCount. |
protected void | multiValueDelimiter(char aDelimiter)
Method multiValueDelimiter. |
char | multiValueDelimiter()
Method multiValueDelimiter. |
String | name()
Method name. |
int | preferredRowCount()
Method preferredRowCount. |
String | propertyErrorFor(Rule rule)
Method propertyErrorFor. |
protected String | typeErrorFor(Object value)
Method typeErrorFor. |
float | uiOrder()
Method uiOrder. |
protected String | valueErrorFor(Object value)
Method valueErrorFor. |
Parameters: theName String theDescription String theDefault Object theUIOrder float
Parameters: value Object otherValue Object
Returns: boolean
Parameters: value Object
Returns: String
Returns: Object[][]
See Also: choices
Parameters: otherProperty Object
Returns: int
See Also: java.lang.Comparable#compareTo(Object)
Returns: Object
See Also: defaultValue
Returns: String
See Also: description
Parameters: value Object
Returns: boolean
Returns: boolean
See Also: isRequired
Returns: int
See Also: maxValueCount
Parameters: theCount int
See Also: maxValueCount
Parameters: aDelimiter char
Returns: char
See Also: multiValueDelimiter
Returns: String
See Also: name
Returns: int
See Also: preferredRowCount
Parameters: value Object
Returns: String
Returns: float
See Also: uiOrder
Parameters: value Object
Returns: String