|
ModeShape Distribution 3.5.0.Final | |||||||||
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. |
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. |
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 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.Holder
ReferenceFactory 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.
|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |