/******************************************************************************* * Copyright (c) 2004, 2007 IBM Corporation and Cambridge Semantics Incorporated. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * File: $Source: /cvsroot/slrp/boca/com.ibm.adtech.boca.jastor/src/com/ibm/adtech/boca/jastor/jet/OntologyClassTemplate.java,v $ * Created by: * Created on: 01/23/2007 * Revision: $Id: OntologyClassTemplate.java 172 2007-07-31 14:22:23Z mroy $ * * Contributors: * IBM Corporation - initial API and implementation * Cambridge Semantics Incorporated - Fork to Anzo *******************************************************************************/ package org.openanzo.rdf.jastor.jet; import org.openanzo.rdf.jastor.inference.OntologyClass; /** * Ontology class template * * @author Ben Szekely (<a href="mailto:bhszekel@us.ibm.com">bhszekel@us.ibm.com</a>) * */ public interface OntologyClassTemplate { /** * Generate the code for this ontology class * * @param oc * the ontology class for which to generate code * @return the generated code for this ontology class */ public String generate(OntologyClass oc); /** * Get the file provider * * @return the file provider */ public OntologyClassFileProvider getFileProvider(); /** * Set the file provider * * @param fileProvider * the file provider */ public void setFileProvider(OntologyClassFileProvider fileProvider); }