|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.elf.ELFObject | +--org.opencyc.elf.goal.Goal
Provides the Goal container for the Elementary Loop Functioning (ELF). Either
a goal state or a goal procedure is specified.
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENCYC ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Field Summary | |
protected CycFort |
context
the context of the goal |
protected java.lang.String |
goalComment
the goal stated in natural language |
protected java.util.ArrayList |
goalFailureStates
the list of states which if entered, indicate goal failure |
protected org.opencyc.uml.core.Procedure |
goalProcedure
the goal procedure, which is mutually exclusive with the goal state |
protected CycAssertion |
goalSentence
the goal sentence stated in CycL |
protected State |
goalState
the goal state, which is mutally exclusive with the goal procedure |
protected Importance |
importance
the goal importance |
protected Goal |
parent
the parent goal of this goal |
protected java.util.ArrayList |
subGoals
the subgoals of this goal |
Fields inherited from class org.opencyc.elf.ELFObject |
name |
Constructor Summary | |
Goal()
Constructs a new Goal object. |
Method Summary | |
CycFort |
getContext()
Gets the context of the goal |
java.lang.String |
getGoalComment()
Gets the goal stated in natural language |
java.util.ArrayList |
getGoalFailureStates()
Gets the list of states which if entered, indicate goal failure |
org.opencyc.uml.core.Procedure |
getGoalProcedure()
Gets the goal procedure |
CycAssertion |
getGoalSentence()
Gets the goal sentence stated in CycL |
State |
getGoalState()
Gets the goal state |
Importance |
getImportance()
Gets the goal importance |
Goal |
getParent()
Gets the parent goal of this goal |
java.util.ArrayList |
getSubGoals()
Gets the subgoals of this goal |
void |
setContext(CycFort context)
Sets the context of the goal |
void |
setGoalComment(java.lang.String goalComment)
Sets the goal stated in natural language |
void |
setGoalFailureStates(java.util.ArrayList goalFailureStates)
Sets the list of states which if entered, indicate goal failure |
void |
setGoalProcedure(org.opencyc.uml.core.Procedure goalProcedure)
Sets the goal procedure |
void |
setGoalSentence(CycAssertion goalSentence)
Sets the goal sentence stated in CycL |
void |
setGoalState(State goalState)
Sets the goal state |
void |
setImportance(Importance importance)
Sets the goal importance |
void |
setParent(Goal parent)
Sets the parent goal of this goal |
void |
setSubGoals(java.util.ArrayList subGoals)
Sets the subgoals of this goal |
Methods inherited from class org.opencyc.elf.ELFObject |
getName, setName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected State goalState
protected org.opencyc.uml.core.Procedure goalProcedure
protected CycAssertion goalSentence
protected java.lang.String goalComment
protected java.util.ArrayList goalFailureStates
protected Goal parent
protected java.util.ArrayList subGoals
protected Importance importance
protected CycFort context
Constructor Detail |
public Goal()
Method Detail |
public State getGoalState()
public void setGoalState(State goalState)
goalState
- the goal statepublic org.opencyc.uml.core.Procedure getGoalProcedure()
public void setGoalProcedure(org.opencyc.uml.core.Procedure goalProcedure)
goalProcedure
- the goal procedurepublic CycAssertion getGoalSentence()
public void setGoalSentence(CycAssertion goalSentence)
goalSentence
- the goal sentence stated in CycLpublic java.lang.String getGoalComment()
public void setGoalComment(java.lang.String goalComment)
goalComment
- the goal stated in natural languagepublic java.util.ArrayList getGoalFailureStates()
public void setGoalFailureStates(java.util.ArrayList goalFailureStates)
goalFailureStates
- the list of states which if entered, indicate goal failurepublic Goal getParent()
public void setParent(Goal parent)
parent
- the parent goal of this goalpublic java.util.ArrayList getSubGoals()
public void setSubGoals(java.util.ArrayList subGoals)
subGoals
- the subgoals of this goalpublic Importance getImportance()
public void setImportance(Importance importance)
importance
- the goal importancepublic CycFort getContext()
public void setContext(CycFort context)
context
- the context of the goal
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |