Package jade.content.schema

Source Code of jade.content.schema.ConceptSlotFunctionSchema

package jade.content.schema;

import jade.content.abs.AbsConceptSlotFunction;
import jade.content.abs.AbsObject;
import jade.content.onto.OntologyException;

//#APIDOC_EXCLUDE_FILE

public class ConceptSlotFunctionSchema extends ConceptSchema {
  public static final String CONCEPT_SLOT_FUNCTION_CONCEPT = "CSF_CONCEPT";
 
  public ConceptSlotFunctionSchema(String slotName) {
    super(slotName);
   
    add(CONCEPT_SLOT_FUNCTION_CONCEPT, ConceptSchema.getBaseSchema());
   
    this.setEncodingByOrder(true);
  }
 
  public AbsObject newInstance() throws OntologyException {
    return new AbsConceptSlotFunction(getTypeName());
  }
}
TOP

Related Classes of jade.content.schema.ConceptSlotFunctionSchema

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.