T
- public abstract class AbstractPackagedProperty<T> extends AbstractProperty<T>
Modifier and Type | Field and Description |
---|---|
protected static Map<String,Boolean> |
PACKAGED_FIELD_TYPES_BY_KEY |
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Modifier | Constructor and Description |
---|---|
protected |
AbstractPackagedProperty(String theName,
String theDescription,
T theDefault,
String[] theLegalPackageNames,
float theUIOrder) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributesTo(Map<String,String> attributes) |
protected abstract String |
itemTypeName()
Method itemTypeName.
|
String[] |
legalPackageNames() |
protected abstract String |
packageNameOf(Object item) |
protected static String[] |
packageNamesIn(Map<String,String> params) |
protected String |
valueErrorFor(Object value) |
areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultAsString, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
type, valueFrom
protected AbstractPackagedProperty(String theName, String theDescription, T theDefault, String[] theLegalPackageNames, float theUIOrder)
theName
- theDescription
- theDefault
- theLegalPackageNames
- theUIOrder
- IllegalArgumentException
protected void addAttributesTo(Map<String,String> attributes)
addAttributesTo
in class AbstractProperty<T>
attributes
- Mapprotected abstract String itemTypeName()
protected String valueErrorFor(Object value)
valueErrorFor
in class AbstractProperty<T>
value
- Objectprotected abstract String packageNameOf(Object item)
item
- Objectpublic String[] legalPackageNames()
Copyright © 2002–2017 PMD. All rights reserved.