public void externalise(AbsObject absObj, Ontology onto) throws OntologyException {
   try {
     AbsConcept abs = (AbsConcept) absObj;
     abs.set(
         CommonTerminologyOntology.QUANTITATIVECHARACTERDESCRIPTOR_SCORE,
         (AbsTerm) onto.fromObject(getScore()));
     abs.set(
         CommonTerminologyOntology.QUANTITATIVECHARACTERDESCRIPTOR_ATTRIBUTE,
         (AbsTerm) onto.fromObject(getAttribute()));
     abs.set(
         CommonTerminologyOntology.QUANTITATIVECHARACTERDESCRIPTOR_STRUCTURE,
         (AbsTerm) onto.fromObject(getStructure()));
   } catch (ClassCastException cce) {
     throw new OntologyException("Error externalising QuantitativeCharacterDescriptor");
   }
 }
 public void internalise(AbsObject absObj, Ontology onto)
     throws UngroundedException, OntologyException {
   try {
     AbsConcept abs = (AbsConcept) absObj;
     score =
         (List)
             onto.toObject(
                 abs.getAbsObject(
                     CommonTerminologyOntology.QUANTITATIVECHARACTERDESCRIPTOR_SCORE));
     attribute =
         (Attribute)
             onto.toObject(
                 abs.getAbsObject(
                     CommonTerminologyOntology.QUANTITATIVECHARACTERDESCRIPTOR_ATTRIBUTE));
     structure =
         (Object)
             onto.toObject(
                 abs.getAbsObject(
                     CommonTerminologyOntology.QUANTITATIVECHARACTERDESCRIPTOR_STRUCTURE));
   } catch (ClassCastException cce) {
     throw new OntologyException("Error internalising QuantitativeCharacterDescriptor");
   }
 }