public class StringProperty extends AbstractPMDProperty
Modifier and Type | Field and Description |
---|---|
static char |
defaultDelimiter |
multiValueDelimiter
emptyPropertySet
Modifier | Constructor and Description |
---|---|
protected |
StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Object theDefaultValue,
float theUIOrder,
char aMultiValueDelimiter)
Constructor for StringProperty.
|
|
StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String[] theValues,
float theUIOrder,
char aMultiValueDelimiter)
Constructor for StringProperty.
|
|
StringProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String theDefaultValue,
float theUIOrder)
Constructor for StringProperty.
|
Modifier and Type | Method and Description |
---|---|
int |
preferredRowCount()
Method preferredRowCount.
|
java.lang.Class<?> |
type()
Method type.
|
protected java.lang.String |
valueErrorFor(java.lang.Object value)
Method valueErrorFor.
|
java.lang.Object |
valueFrom(java.lang.String valueString)
Method valueFrom.
|
areEqual, asDelimitedString, asString, choices, compareTo, defaultValue, description, errorFor, isArray, isRequired, maxValueCount, maxValueCount, multiValueDelimiter, multiValueDelimiter, name, propertyErrorFor, typeErrorFor, uiOrder
public static final char defaultDelimiter
public StringProperty(java.lang.String theName, java.lang.String theDescription, java.lang.String theDefaultValue, float theUIOrder)
theName
- StringtheDescription
- StringtheDefaultValue
- StringtheUIOrder
- floatpublic StringProperty(java.lang.String theName, java.lang.String theDescription, java.lang.String[] theValues, float theUIOrder, char aMultiValueDelimiter)
theName
- StringtheDescription
- StringtheValues
- String[]theUIOrder
- floataMultiValueDelimiter
- Stringprotected StringProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Object theDefaultValue, float theUIOrder, char aMultiValueDelimiter)
theName
- StringtheDescription
- StringtheDefaultValue
- ObjecttheUIOrder
- floataMultiValueDelimiter
- Stringpublic java.lang.Class<?> type()
PropertyDescriptor.type()
public java.lang.Object valueFrom(java.lang.String valueString)
valueString
- StringPropertyDescriptor.valueFrom(String)
protected java.lang.String valueErrorFor(java.lang.Object value)
AbstractPMDProperty
valueErrorFor
in class AbstractPMDProperty
value
- Objectpublic int preferredRowCount()
AbstractPMDProperty
preferredRowCount
in interface PropertyDescriptor
preferredRowCount
in class AbstractPMDProperty
PropertyDescriptor.preferredRowCount()