public class TypeMultiProperty extends AbstractMultiPackagedProperty<Class[]>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
DELIMITER
PACKAGED_FIELD_TYPES_BY_KEY
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Constructor and Description |
---|
TypeMultiProperty(String theName,
String theDescription,
Class<?>[] theDefaults,
String[] legalPackageNames,
float theUIOrder)
Constructor for TypeProperty.
|
TypeMultiProperty(String theName,
String theDescription,
String theTypeDefaults,
Map<String,String> otherParams,
float theUIOrder)
Constructor for TypeProperty.
|
TypeMultiProperty(String theName,
String theDescription,
String theTypeDefaults,
String[] legalPackageNames,
float theUIOrder)
Constructor for TypeProperty.
|
Modifier and Type | Method and Description |
---|---|
protected String |
asString(Object value)
Return the value as a string that can be easily recognized and parsed
when we see it again.
|
protected String |
itemTypeName()
Method itemTypeName.
|
protected String |
packageNameOf(Object item) |
Class<Class[]> |
type()
Denotes the value datatype.
|
static Class<?>[] |
typesFrom(String classesStr) |
Class<?>[] |
valueFrom(String valueString)
If the property is multi-valued then return the separate values after
parsing the propertyString provided.
|
defaultAsString, isMultiValue
addAttributesTo, legalPackageNames, packageNamesIn, valueErrorFor
areEqual, asDelimitedString, asDelimitedString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
public static final PropertyDescriptorFactory FACTORY
public TypeMultiProperty(String theName, String theDescription, Class<?>[] theDefaults, String[] legalPackageNames, float theUIOrder)
theName
- StringtheDescription
- StringtheDefaults
- Class[]legalPackageNames
- String[]theUIOrder
- floatIllegalArgumentException
public TypeMultiProperty(String theName, String theDescription, String theTypeDefaults, String[] legalPackageNames, float theUIOrder)
theName
- StringtheDescription
- StringtheTypeDefaults
- StringlegalPackageNames
- String[]theUIOrder
- floatIllegalArgumentException
public TypeMultiProperty(String theName, String theDescription, String theTypeDefaults, Map<String,String> otherParams, float theUIOrder)
theName
- StringtheDescription
- StringtheTypeDefaults
- StringotherParams
- MaptheUIOrder
- floatIllegalArgumentException
public static Class<?>[] typesFrom(String classesStr)
classesStr
- Stringprotected String packageNameOf(Object item)
packageNameOf
in class AbstractPackagedProperty<Class[]>
item
- Objectpublic Class<Class[]> type()
PropertyDescriptor
PropertyDescriptor.type()
protected String itemTypeName()
AbstractPackagedProperty
itemTypeName
in class AbstractPackagedProperty<Class[]>
protected String asString(Object value)
AbstractProperty
asString
in class AbstractProperty<Class[]>
value
- Objectpublic Class<?>[] valueFrom(String valueString)
PropertyDescriptor
valueString
- StringPropertyDescriptor.valueFrom(String)
Copyright © 2002-2015 InfoEther. All Rights Reserved.