Package org.apache.openjpa.meta
Interface AbstractCFMetaDataFactory.Serializer
- All Superinterfaces:
MetaDataSerializer
- All Known Implementing Classes:
AnnotationPersistenceMappingSerializer
,AnnotationPersistenceMetaDataSerializer
,XMLPersistenceMappingSerializer
,XMLPersistenceMetaDataSerializer
- Enclosing class:
- AbstractCFMetaDataFactory
Internal serializer interface.
-
Field Summary
Fields inherited from interface org.apache.openjpa.lib.meta.MetaDataSerializer
APPEND, COMPACT, PRETTY, VERBOSE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(MetaDataRepository repos) Add all components in the given repository to the set to be serialized.void
addMetaData
(ClassMetaData meta) Add a class meta data to the set to be serialized.void
Add a query meta data to the set to be serialized.void
Add a sequence meta data to the set to be serialized.boolean
removeMetaData
(ClassMetaData meta) Remove a class meta data from the set to be serialized.void
setMode
(int mode) The serialization mode according to the expected document type.Methods inherited from interface org.apache.openjpa.lib.meta.MetaDataSerializer
serialize, serialize, serialize, serialize
-
Method Details
-
setMode
void setMode(int mode) The serialization mode according to the expected document type. The mode constants act as bit flags, and therefore can be combined. -
addMetaData
Add a class meta data to the set to be serialized. -
removeMetaData
Remove a class meta data from the set to be serialized. -
addSequenceMetaData
Add a sequence meta data to the set to be serialized. -
addQueryMetaData
Add a query meta data to the set to be serialized. -
addAll
Add all components in the given repository to the set to be serialized.
-