XSAttribute attr = new JdbcAttribute(pType, pType.getLocator(),
new XsQName((String) null, pColumn.getName().getName()), xsType,
pColumn.isNullable());
AttributeSGChain chain = (AttributeSGChain) pTypeSG.newAttributeSG(attr);
AttributeSG attributeSG = new AttributeSGImpl(chain);
pTypeSG.addAttributeSG(attributeSG);
theChild = attributeSG;
}
return theChild;