Package jade.content.onto.annotations

Examples of jade.content.onto.annotations.AggregateResult


    if ((annotation = clazz.getAnnotation(Result.class)) != null) {
      Result r = (Result)annotation;
      TermSchema ts = (TermSchema)doAddSchema(r.type(), buildHierarchy);
      ((AgentActionSchema)schema).setResult(ts);
    } else if ((annotation = clazz.getAnnotation(AggregateResult.class)) != null) {
      AggregateResult ar = (AggregateResult)annotation;
      TermSchema ts = (TermSchema)doAddSchema(ar.type(), buildHierarchy);
      ((AgentActionSchema)schema).setResult(ts, ar.cardMin(), ar.cardMax());
    }

  }
View Full Code Here

TOP

Related Classes of jade.content.onto.annotations.AggregateResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.