public JAXBEntityType(IApsEntity entityType) {
   this.setTypeCode(entityType.getTypeCode());
   this.setTypeDescription(entityType.getTypeDescr());
   List<AttributeInterface> attributes = entityType.getAttributeList();
   if (null != attributes) {
     for (int i = 0; i < attributes.size(); i++) {
       AttributeInterface attribute = attributes.get(i);
       this.getAttributes().add(attribute.getJAXBAttributeType());
     }
   }
 }