public class BooleanMultiProperty extends AbstractScalarProperty<Boolean[]>
| 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.
|
valueFromaddAttributesTo, areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorForpublic Class<Boolean[]> type()
PropertyDescriptorPropertyDescriptor.type()public boolean isMultiValue()
AbstractPropertyisMultiValue 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-2014 InfoEther. All Rights Reserved.