public PluralAttributeSourceArrayImpl( MappingDocument sourceMappingDocument, JaxbHbmArrayType jaxbArrayMapping, AttributeSourceContainer container) { super(sourceMappingDocument, jaxbArrayMapping, container); this.jaxbArrayMapping = jaxbArrayMapping; if (jaxbArrayMapping.getListIndex() != null) { this.indexSource = new PluralAttributeSequentialIndexSourceImpl( sourceMappingDocument(), jaxbArrayMapping.getListIndex()); } else { this.indexSource = new PluralAttributeSequentialIndexSourceImpl( sourceMappingDocument(), jaxbArrayMapping.getIndex()); } }
@Override public String getElementClass() { return jaxbArrayMapping.getElementClass(); }
@Override public String getXmlNodeName() { return jaxbArrayMapping.getNode(); }