public class BooleanMultiProperty extends AbstractScalarProperty<Boolean[]>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Constructor and Description |
---|
BooleanMultiProperty(String theName,
String theDescription,
Boolean[] defaultValues,
float theUIOrder)
Constructor for BooleanMultiProperty that allows for multiple values.
|
Modifier and Type | Method and Description |
---|---|
protected Boolean[] |
arrayFor(int size) |
protected Object |
createFrom(String value)
Creates and returns a Boolean instance from a raw string
|
protected String |
defaultAsString() |
boolean |
isMultiValue()
Returns whether the property is multi-valued, i.e.
|
Class<Boolean[]> |
type()
Denotes the value datatype.
|
valueFrom
addAttributesTo, areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorFor
public static final PropertyDescriptorFactory FACTORY
public Class<Boolean[]> type()
PropertyDescriptor
PropertyDescriptor.type()
public boolean isMultiValue()
AbstractProperty
isMultiValue
in interface PropertyDescriptor<Boolean[]>
isMultiValue
in class AbstractProperty<Boolean[]>
PropertyDescriptor.isMultiValue()
protected Object createFrom(String value)
createFrom
in class AbstractScalarProperty<Boolean[]>
value
- Stringprotected Boolean[] arrayFor(int size)
arrayFor
in class AbstractScalarProperty<Boolean[]>
size
- intprotected String defaultAsString()
defaultAsString
in class AbstractProperty<Boolean[]>
Copyright © 2002-2015 InfoEther. All Rights Reserved.