|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.mapping.TypeMappingRegistry<D>
D
- the type of the data type name.public abstract class TypeMappingRegistry<D>
A registry for TypeMapping
s. It provides the registration of TypeMapping
s under their
respective data type name and the retrieval of them given their data type name.
It is thread-safe and all subclasses should be thread-safe, too.
Constructor Summary | |
---|---|
|
TypeMappingRegistry()
Constructs a new TypeMappingRegistry . |
protected |
TypeMappingRegistry(TypeMappingRegistry<D> other)
Constructs a new TypeMappingRegistry as a copy of the given one. |
Method Summary | |
---|---|
abstract TypeMappingRegistry<D> |
createCopy()
Creates a copy of this TypeMappingRegistry . |
TypeMapping<D> |
get(D dataTypeName)
Returns the type mapping registered under the given data type name. |
void |
register(TypeMapping<D> typeMapping)
Registers the given type mapping under its data type name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeMappingRegistry()
TypeMappingRegistry
.
protected TypeMappingRegistry(TypeMappingRegistry<D> other)
TypeMappingRegistry
as a copy of the given one.
other
- the registry to copyMethod Detail |
---|
public final void register(TypeMapping<D> typeMapping)
typeMapping
- the type mappingpublic final TypeMapping<D> get(D dataTypeName)
dataTypeName
- the data type name
public abstract TypeMappingRegistry<D> createCopy()
TypeMappingRegistry
.
TypeMappingRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |