public class TLcdXMLSchemaChoiceAnnotation extends Object implements ILcdAnnotation
TLcdDataProperty
instances to indicate
that they are the result of mapping a xsd:choice property. The annotation carries information about
the different elements that make up the choice.Modifier and Type | Class and Description |
---|---|
static class |
TLcdXMLSchemaChoiceAnnotation.PropertyInfo
This class provides information about a choice property.
|
Constructor and Description |
---|
TLcdXMLSchemaChoiceAnnotation(List<TLcdXMLSchemaChoiceAnnotation.PropertyInfo> aChoiceInfo)
Creates a new annotation for the given list of choice elements.
|
Modifier and Type | Method and Description |
---|---|
List<TLcdXMLSchemaChoiceAnnotation.PropertyInfo> |
getChoiceInfo()
Returns property information on the different possibilities the annotated choice property
can have.
|
public TLcdXMLSchemaChoiceAnnotation(List<TLcdXMLSchemaChoiceAnnotation.PropertyInfo> aChoiceInfo)
aChoiceInfo
- the list of choice elements that make up this choicepublic List<TLcdXMLSchemaChoiceAnnotation.PropertyInfo> getChoiceInfo()
TLcdXMLSchemaChoiceAnnotation.PropertyInfo
describing the different possibilities
for the annotated choice property