@ThreadSafe public interface ValueFactories extends Iterable<ValueFactory<?>>, NameFactory.Holder
ValueFactory instances.| Modifier and Type | Method and Description |
|---|---|
BinaryFactory |
getBinaryFactory()
Get the value factory for
binary properties. |
ValueFactory<Boolean> |
getBooleanFactory()
Get the value factory for
boolean properties. |
DateTimeFactory |
getDateFactory()
Get the value factory for
date properties. |
ValueFactory<BigDecimal> |
getDecimalFactory()
Get the value factory for
decimal properties. |
ValueFactory<Double> |
getDoubleFactory()
Get the value factory for
double properties. |
ValueFactory<Long> |
getLongFactory()
Get the value factory for
long properties. |
NameFactory |
getNameFactory()
Get the value factory for
name properties. |
ValueFactory<Object> |
getObjectFactory()
Get the value factory for
object properties. |
PathFactory |
getPathFactory()
Get the value factory for
path properties. |
ReferenceFactory |
getReferenceFactory()
Get the value factory for
reference properties. |
ReferenceFactory |
getSimpleReferenceFactory()
Get the value factory for
reference properties. |
StringFactory |
getStringFactory()
Get the value factory for
string properties. |
TypeSystem |
getTypeSystem()
Get the type system associated with these factories.
|
UriFactory |
getUriFactory()
Get the value factory for
URI properties. |
UuidFactory |
getUuidFactory()
Get the value factory for
UUID properties. |
ValueFactory<?> |
getValueFactory(Object prototype)
Get the value factory that is best able to create values with the most natural type given by the supplied value.
|
ValueFactory<?> |
getValueFactory(PropertyType type)
Get the value factory that creates values of the supplied
type. |
ReferenceFactory |
getWeakReferenceFactory()
Get the value factory for
reference properties. |
TypeSystem getTypeSystem()
ValueFactory<?> getValueFactory(PropertyType type)
type.type - the type for the valuesIllegalArgumentException - if the property type is nullValueFactory<?> getValueFactory(Object prototype)
prototype - the value that should be used to determine the best value factoryIllegalArgumentException - if the prototype value is nullStringFactory getStringFactory()
string properties.BinaryFactory getBinaryFactory()
binary properties.ValueFactory<Long> getLongFactory()
long properties.ValueFactory<Double> getDoubleFactory()
double properties.ValueFactory<BigDecimal> getDecimalFactory()
decimal properties.DateTimeFactory getDateFactory()
date properties.ValueFactory<Boolean> getBooleanFactory()
boolean properties.NameFactory getNameFactory()
name properties.getNameFactory in interface NameFactory.HolderReferenceFactory getReferenceFactory()
reference properties.ReferenceFactory getWeakReferenceFactory()
reference properties.ReferenceFactory getSimpleReferenceFactory()
reference properties.PathFactory getPathFactory()
path properties.UriFactory getUriFactory()
URI properties.UuidFactory getUuidFactory()
UUID properties.ValueFactory<Object> getObjectFactory()
object properties.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.