|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public interface SequenceMapper
Maps model classes.
This specification declares a multiplicity of Many.
An application assembler may provide multiple implementations of this specification (including none).
Use of class ObjectManager is supported for accessing implementations.
SequenceMapper[] objects = ObjectManagerFactory.getObjectManager( getClass().getClassLoader() ).getObject( SequenceMapper[].class ); SequenceMapper object = ObjectManagerFactory.getObjectManager( getClass().getClassLoader() ).getObject( SequenceMapper.class, "implementation name" );
This specification does not apply to any scope. A new object is returned whenever requested.
| Modifier and Type | Method and Description |
|---|---|
org.jomc.sequences.model.SequenceType |
map(org.jomc.sequences.Sequence sequence,
org.jomc.sequences.model.SequenceType sequenceType)
Maps a Sequence instance to a SequenceType instance. |
org.jomc.sequences.Sequence |
map(org.jomc.sequences.model.SequenceType sequenceType,
org.jomc.sequences.Sequence sequence)
Maps a SequenceType instance to a Sequence instance. |
| Method Detail |
|---|
org.jomc.sequences.Sequence map(org.jomc.sequences.model.SequenceType sequenceType,
org.jomc.sequences.Sequence sequence)
throws org.jomc.sequences.SequencesSystemException
SequenceType instance to a Sequence instance.
sequenceType - The instance to map.sequence - The target instance to map sequenceType to.sequenceType mapped to sequence.org.jomc.sequences.SequencesSystemException - if mapping fails unexpectedly.
org.jomc.sequences.model.SequenceType map(org.jomc.sequences.Sequence sequence,
org.jomc.sequences.model.SequenceType sequenceType)
throws org.jomc.sequences.SequencesSystemException
Sequence instance to a SequenceType instance.
sequence - The instance to map.sequenceType - The target instance to map sequence to.sequence mapped to sequenceType.org.jomc.sequences.SequencesSystemException - if mapping fails unexpectedly.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||