integrated enums into xsd and java implementation