|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface ValueFactories
The set of standard ValueFactory
instances.
Method Summary | |
---|---|
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. |
ValueFactory<String> |
getStringFactory()
Get the value factory for string properties. |
TypeSystem |
getTypeSystem()
Get the type system associated with these factories. |
ValueFactory<URI> |
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. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
TypeSystem getTypeSystem()
ValueFactory<?> getValueFactory(PropertyType type)
type
.
type
- the type for the values
IllegalArgumentException
- if the property type is nullValueFactory<?> getValueFactory(Object prototype)
prototype
- the value that should be used to determine the best value factory
IllegalArgumentException
- if the prototype value is nullValueFactory<String> 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.
ReferenceFactory getReferenceFactory()
reference
properties.
ReferenceFactory getWeakReferenceFactory()
reference
properties.
PathFactory getPathFactory()
path
properties.
ValueFactory<URI> getUriFactory()
URI
properties.
UuidFactory getUuidFactory()
UUID
properties.
ValueFactory<Object> getObjectFactory()
object
properties.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |