AbstractGAF.java from Texai at Krugle
Show AbstractGAF.java syntax highlighted
/*
* AbstractGAF.java
*
* Created on October 15, 2006, 11:14 PM
*
* Description: AbstractGAF is an abstract ground atomic formula in the Texai logical representation language.
*
* Copyright (C) 2006 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.ejb.entity;
import java.util.List;
import javax.persistence.Entity;
/**
* Entity class AbstractGAF
*
* @author reed
*/
@Entity
public abstract class AbstractGAF extends AbstractTerm {
/**
* Creates a new instance of AbstractGAF.
*/
public AbstractGAF() {
super();
}
/** Gets the predicate.
*
* @return the predicate
*/
public abstract AtomicTerm getPredicate();
/** Returns the arguments.
*
* @return the arguments
*/
public abstract List<AbstractTerm> getArgs();
/** Returns the assertion context (i.e. Cyc microtheory).
*
* @return the assertion context (i.e. Cyc microtheory)
*/
public abstract AbstractReifiedTerm getContext();
/** Returns the generated phrase for this ground atomic formula.
*
* @return the generated phrase for this ground atomic formula
*/
public abstract String getGeneratedPhrase();
/** Sets the generated phrase for this ground atomic formula.
*
* @param generatedPhrase the generated natural language phrase
*/
public abstract void setGeneratedPhrase(final String generatedPhrase);
/** Gets the assertion strength
*
* @return the assertion strength
*/
public abstract Double getStrength();
/** Sets the assertion strength.
*
* @param strength the assertion strength
*/
public abstract void setStrength(final Double strength);
/** Gets the creator.
*
* @return the creator
*/
public abstract AbstractReifiedTerm getCreator();
/** Gets the creation purpose.
*
* @return the creation purpose
*/
public abstract AbstractReifiedTerm getCreationPurpose();
/** Gets the creation time point.
*
* @return the creation time point
*/
public abstract TimePoint getCreationTimePoint();
}
See more files for this project here