Package jade.content.schema

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

Related Classes of jade.content.schema.AggregateSchema

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.