|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dasein.attributes.DataTypeFactory<Boolean>
org.dasein.attributes.types.BooleanFactory
public class BooleanFactory
Represents a true/false value.
Last modified: $Date: 2009/01/30 23:01:49 $
| Nested Class Summary | |
|---|---|
static class |
BooleanFactory.BooleanAttribute
Implements the rules around a boolean value. |
| Nested classes/interfaces inherited from class org.dasein.attributes.DataTypeFactory |
|---|
DataTypeFactory.Constraint |
| Field Summary | |
|---|---|
static String |
TYPE_NAME
The name of this type is 'boolean'. |
| Constructor Summary | |
|---|---|
BooleanFactory()
Constructs a new factory instance for boolean attributes. |
|
| Method Summary | |
|---|---|
Translator<String> |
getDisplayName()
Provides a multi-lingual display name for this data type. |
DataType<Boolean> |
getType(boolean ml,
boolean mv,
boolean req,
String... params)
Technically, you can have a multi-lingual or multi-valued boolean, but why would you? |
DataType<Boolean> |
getType(String grp,
Number idx,
boolean ml,
boolean mv,
boolean req,
String... params)
Technically, you can have a multi-lingual or multi-valued boolean, but why would you? |
String |
getTypeName()
|
| Methods inherited from class org.dasein.attributes.DataTypeFactory |
|---|
getConstraint, getConstraints, getDisplayValue, getDisplayValue, getInstance, getStringValue, getTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_NAME
| Constructor Detail |
|---|
public BooleanFactory()
| Method Detail |
|---|
public Translator<String> getDisplayName()
DataTypeFactory
getDisplayName in class DataTypeFactory<Boolean>public String getTypeName()
getTypeName in class DataTypeFactory<Boolean>
public DataType<Boolean> getType(boolean ml,
boolean mv,
boolean req,
String... params)
getType in class DataTypeFactory<Boolean>ml - true if the boolean is multi-lingualmv - true if the boolean can support multiple valuesreq - true if the boolean is requiredparams - unused
public DataType<Boolean> getType(String grp,
Number idx,
boolean ml,
boolean mv,
boolean req,
String... params)
getType in class DataTypeFactory<Boolean>ml - true if the boolean is multi-lingualmv - true if the boolean can support multiple valuesreq - true if the boolean is requiredparams - unusedgrp - the group of the data type.idx - the index of the data type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||