public class TLcdXMLSchemaMappingAnnotation extends Object implements ILcdAnnotation
ILcdAnnotation
that allows a TLcdDataModel
to be annotated with
a ILcdXMLSchemaBasedMappingLibrary
, ILcdXMLSchemaBasedDecoderLibrary
and ILcdXMLSchemaBasedEncoderLibrary
.
TLcdXMLDataModelBuilder
and used
when a TLcdXMLSchemaBasedDecoder
or TLcdXMLSchemaBasedEncoder
needs to be configured
to decode or encode a certain data model.Constructor and Description |
---|
TLcdXMLSchemaMappingAnnotation(ILcdXMLSchemaBasedMappingLibrary aMappingLibrary,
ILcdXMLSchemaBasedDecoderLibrary aDecoderLibrary,
ILcdXMLSchemaBasedEncoderLibrary aEncoderLibrary)
Constructs a new annotation with the given libraries.
|
Modifier and Type | Method and Description |
---|---|
ILcdXMLSchemaBasedDecoderLibrary |
getDecoderLibrary()
Returns the decoder library of this annotation.
|
ILcdXMLSchemaBasedEncoderLibrary |
getEncoderLibrary()
Returns the encoder library of this annotation.
|
ILcdXMLSchemaBasedMappingLibrary |
getMappingLibrary()
Returns the mapping library of this annotation.
|
public TLcdXMLSchemaMappingAnnotation(ILcdXMLSchemaBasedMappingLibrary aMappingLibrary, ILcdXMLSchemaBasedDecoderLibrary aDecoderLibrary, ILcdXMLSchemaBasedEncoderLibrary aEncoderLibrary)
NullPointerException
is thrown in case one of these parameters is null
.aMappingLibrary
- the mapping library for this annotationaDecoderLibrary
- the decoder library for this annotationaEncoderLibrary
- the encoder library for this annotationpublic ILcdXMLSchemaBasedMappingLibrary getMappingLibrary()
public ILcdXMLSchemaBasedDecoderLibrary getDecoderLibrary()
public ILcdXMLSchemaBasedEncoderLibrary getEncoderLibrary()