Package jade.content.schema

Examples of jade.content.schema.PrimitiveSchema


   */
  private SerializableOntology() {
    super("Serializable-ontology", (Ontology) null, null);
    try {
      // Add the primitive schema for binary data
      PrimitiveSchema stringSchema = (PrimitiveSchema) BasicOntology.getInstance().getSchema(BasicOntology.STRING);
      add(stringSchema);
      // Add the schema for a generic Serializable object
      ConceptSchema serializableSchema = new ConceptSchema(SERIALIZABLE);
      serializableSchema.add(SERIALIZABLE_VALUE, stringSchema);
      add(serializableSchema);
View Full Code Here

TOP

Related Classes of jade.content.schema.PrimitiveSchema

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.