Examples of AggregateSchema


Examples of jade.content.schema.AggregateSchema

    // Sequence type
    if (java.util.List.class.isAssignableFrom(clazz) ||
      jade.util.leap.List.class.isAssignableFrom(clazz) ||
      (clazz.isArray() && clazz != byte[].class)) {

      schema = new AggregateSchema(BasicOntology.SEQUENCE, elementSchema);
    }

    // Set type
    else if (java.util.Set.class.isAssignableFrom(clazz) ||
      jade.util.leap.Set.class.isAssignableFrom(clazz)) {
     
      schema = new AggregateSchema(BasicOntology.SET, elementSchema);
    }

    return schema;
  }
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.