コード例 #1
0
 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());
   }
 }
コード例 #2
0
 @Override
 public String getElementClass() {
   return jaxbArrayMapping.getElementClass();
 }
コード例 #3
0
 @Override
 public String getXmlNodeName() {
   return jaxbArrayMapping.getNode();
 }