Code Search for Developers
 
 
  

AbstractRDFTestEntity.java from Texai at Krugle


Show AbstractRDFTestEntity.java syntax highlighted

/*
 * AbstractRDFTestEntity.java
 *
 * Created on August 16, 2007, 10:59 AM
 *
 * Description: .
 *
 * Copyright (C) August 16, 2007 Stephen L. Reed.
 *
 * This program is free software; you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

package org.texai.kb.persistence.benchmark;

import java.util.Set;
import org.texai.kb.Constants;
import org.texai.kb.persistence.RDFEntity;
import org.texai.kb.persistence.RDFNamespace;
import org.texai.kb.persistence.RDFProperty;

/**
 *
 * @author reed
 */
@RDFEntity(namespaces={
  @RDFNamespace(prefix="texai", namespaceURI=Constants.TEXAI_NAMESPACE),
@RDFNamespace(prefix="cyc", namespaceURI=Constants.CYC_NAMESPACE)}, 
subject="texai:org.texai.kb.persistence.benchmark.AbstractRDFTestEntity")
public class AbstractRDFTestEntity {
  
  /** a set field */
  @RDFProperty(predicate="cyc:cyclistNotes")
  private Set<String> cyclistNotes;
  
  
  /** Creates a new instance of AbstractRDFTestEntity. */
  public AbstractRDFTestEntity() {
  }
  
  public Set<String> getCyclistNotes() {
    return cyclistNotes;
  }

  public void setCyclistNotes(Set<String> cyclistNotes) {
    this.cyclistNotes = cyclistNotes;
  }

}




See more files for this project here

Texai

Texai is an chatbot that intelligently seeks to acquire knowledge and friendly behaviors.

Project homepage: http://sourceforge.net/projects/texai
Programming language(s): Java,Shell Script,XML
License: other

  AbstractRDFTestEntity.java
  PerformanceBenchmark.java
  RDFTestEntity.java