public class StringProperty extends AbstractProperty<String>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Constructor and Description |
---|
StringProperty(String theName,
String theDescription,
String theDefaultValue,
float theUIOrder)
Constructor for StringProperty.
|
Modifier and Type | Method and Description |
---|---|
protected String |
defaultAsString() |
Class<String> |
type()
Denotes the value datatype.
|
String |
valueFrom(String valueString)
If the property is multi-valued then return the separate values after
parsing the propertyString provided.
|
addAttributesTo, areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorFor
public static final PropertyDescriptorFactory FACTORY
protected String defaultAsString()
defaultAsString
in class AbstractProperty<String>
public Class<String> type()
PropertyDescriptor
PropertyDescriptor.type()
public String valueFrom(String valueString)
PropertyDescriptor
valueString
- StringPropertyDescriptor.valueFrom(String)
Copyright © 2002–2017 PMD. All rights reserved.