T
- public abstract class AbstractMultiPackagedProperty<T> extends AbstractPackagedProperty<T>
Modifier and Type | Field and Description |
---|---|
protected static char |
DELIMITER |
PACKAGED_FIELD_TYPES_BY_KEY
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Modifier | Constructor and Description |
---|---|
protected |
AbstractMultiPackagedProperty(String theName,
String theDescription,
T theDefault,
String[] theLegalPackageNames,
float theUIOrder)
Constructor for AbstractMultiPackagedProperty.
|
Modifier and Type | Method and Description |
---|---|
protected String |
defaultAsString() |
boolean |
isMultiValue()
Returns whether the property is multi-valued, i.e.
|
addAttributesTo, itemTypeName, legalPackageNames, packageNameOf, packageNamesIn, valueErrorFor
areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
type, valueFrom
protected static final char DELIMITER
protected AbstractMultiPackagedProperty(String theName, String theDescription, T theDefault, String[] theLegalPackageNames, float theUIOrder)
theName
- StringtheDescription
- StringtheDefault
- TtheLegalPackageNames
- String[]theUIOrder
- floatpublic boolean isMultiValue()
AbstractProperty
As unary property rule properties will return a value of one, you must use the get/setProperty accessors when working with the actual values. When working with multi-value properties then the get/setProperties accessors must be used.
isMultiValue
in interface PropertyDescriptor<T>
isMultiValue
in class AbstractProperty<T>
PropertyDescriptor.isMultiValue()
protected String defaultAsString()
defaultAsString
in class AbstractProperty<T>
Copyright © 2002–2017 PMD. All rights reserved.