public class BooleanMultiProperty extends AbstractScalarProperty<java.lang.Boolean[]>
Constructor and Description |
---|
BooleanMultiProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Boolean[] defaultValues,
float theUIOrder)
Constructor for BooleanMultiProperty that allows for multiple values.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean[] |
arrayFor(int size) |
protected java.lang.Object |
createFrom(java.lang.String value)
Creates and returns a Boolean instance from a raw string
|
protected java.lang.String |
defaultAsString() |
boolean |
isMultiValue()
Returns whether the property is multi-valued, i.e.
|
java.lang.Class<java.lang.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 BooleanMultiProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Boolean[] defaultValues, float theUIOrder)
theName
- StringtheDescription
- StringdefaultValues
- Boolean[]theUIOrder
- floatpublic java.lang.Class<java.lang.Boolean[]> type()
PropertyDescriptor
PropertyDescriptor.type()
public boolean isMultiValue()
AbstractProperty
isMultiValue
in interface PropertyDescriptor<java.lang.Boolean[]>
isMultiValue
in class AbstractProperty<java.lang.Boolean[]>
PropertyDescriptor.isMultiValue()
protected java.lang.Object createFrom(java.lang.String value)
createFrom
in class AbstractScalarProperty<java.lang.Boolean[]>
value
- Stringprotected java.lang.Boolean[] arrayFor(int size)
arrayFor
in class AbstractScalarProperty<java.lang.Boolean[]>
size
- intprotected java.lang.String defaultAsString()
defaultAsString
in class AbstractProperty<java.lang.Boolean[]>
Copyright © 2002-2014 InfoEther. All Rights Reserved.