import java.util.List;
import java.util.Set;
+import eu.etaxonomy.cdm.model.common.DefinedTerm;
import eu.etaxonomy.cdm.model.common.Language;
-import eu.etaxonomy.cdm.model.description.Modifier;
import eu.etaxonomy.cdm.model.description.State;
import eu.etaxonomy.cdm.model.description.StateData;
import eu.etaxonomy.cdm.model.description.TextData;
for (Iterator<StateData> sd = states.iterator() ; sd.hasNext() ;){
StateData stateData = sd.next();
State s = stateData.getState();
- Set<Modifier> modifiers = stateData.getModifiers(); // the states and their according modifiers are simply concatenated one after the other
- for (Iterator<Modifier> mod = modifiers.iterator() ; mod.hasNext() ;){
- Modifier modifier = mod.next();
+ Set<DefinedTerm> modifiers = stateData.getModifiers(); // the states and their according modifiers are simply concatenated one after the other
+ for (Iterator<DefinedTerm> mod = modifiers.iterator() ; mod.hasNext() ;){
+ DefinedTerm modifier = mod.next();
CategoricalDescription.append(" " + getRightText(modifier.getPreferredRepresentation(languages)));
}
if(s != null) {