Examples of cardMax()


Examples of jade.content.onto.annotations.AggregateResult.cardMax()

      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());
    }

  }
 
  private void manageSlots(Class clazz, ObjectSchema schema, boolean buildHierarchy) throws OntologyException {
View Full Code Here

Examples of jade.content.onto.annotations.AggregateSlot.cardMax()

              cardMin = aggregateSlotAnnotation.cardMin();
              if (slotAnnotation == null && cardMin > 0) {
                mandatory = true;
              }
             
              cardMax = aggregateSlotAnnotation.cardMax();
              if (!Object.class.equals(aggregateSlotAnnotation.type())) {
                aggregateType = aggregateSlotAnnotation.type();
              }
            }
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.