ActionTuple.java
Go to the documentation of this file.
00001 /****************************************************************
00002  *
00003  * Copyright (c) 2011, 2012
00004  *
00005  * School of Engineering, Cardiff University, UK
00006  *
00007  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00008  *
00009  * Project name: srs EU FP7 (www.srs-project.eu)
00010  * ROS stack name: srs
00011  * ROS package name: srs_knowledge
00012  * Description: 
00013  *                                                              
00014  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00015  *
00016  * @author Ze Ji, email: jiz1@cf.ac.uk
00017  *
00018  * Date of creation: Oct 2011:
00019  * ToDo: 
00020  *
00021  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00022  *
00023  * Redistribution and use in source and binary forms, with or without
00024  * modification, are permitted provided that the following conditions are met:
00025  *
00026  *       * Redistributions of source code must retain the above copyright
00027  *         notice, this list of conditions and the following disclaimer.
00028  *       * Redistributions in binary form must reproduce the above copyright
00029  *         notice, this list of conditions and the following disclaimer in the
00030  *         documentation and/or other materials provided with the distribution.
00031  *       * Neither the name of the school of Engineering, Cardiff University nor 
00032  *         the names of its contributors may be used to endorse or promote products 
00033  *         derived from this software without specific prior written permission.
00034  *
00035  * This program is free software: you can redistribute it and/or modify
00036  * it under the terms of the GNU Lesser General Public License LGPL as 
00037  * published by the Free Software Foundation, either version 3 of the 
00038  * License, or (at your option) any later version.
00039  * 
00040  * This program is distributed in the hope that it will be useful,
00041  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00042  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00043  * GNU Lesser General Public License LGPL for more details.
00044  * 
00045  * You should have received a copy of the GNU Lesser General Public 
00046  * License LGPL along with this program. 
00047  * If not, see <http://www.gnu.org/licenses/>.
00048  *
00049  ****************************************************************/
00050 
00051 package org.srs.srs_knowledge.task;
00052 
00053 import java.io.*;
00054 //import org.apache.commons.logging.Log;
00055 import java.util.ArrayList;
00056 import ros.pkg.srs_knowledge.msg.*;
00057 
00061 public class ActionTuple
00062 {
00063     public ActionTuple()
00064     {
00065         //ca = new CUAction();
00066     }
00067 
00068     public void setCUAction(CUAction ca)
00069     {
00070         this.ca = ca;
00071     }
00072 
00073     public void setActionName(String actionName)
00074     {
00075         this.actionName = actionName;
00076     }
00077 
00078     public void setActionLevel(int actionLevel)
00079     {
00080         this.actionLevel = actionLevel;
00081     }
00082     
00083     public void setActionId(int actionId)
00084     {
00085         this.actionId = actionId;
00086     }
00087     
00088     public void setParentId(int parentId)
00089     {
00090         this.parentId = parentId;
00091     }
00092     
00093     public void setCondition(boolean condition)
00094     {
00095         this.condition = condition;
00096     }
00097 
00098     public CUAction getCUAction()
00099     {
00100         return this.ca;
00101     }
00102 
00103     public String getActionName()
00104     {
00105         return actionName;
00106     }
00107 
00108     public int getActionLevel()
00109     {
00110         return actionLevel;
00111     }
00112     
00113     public int getActionId()
00114     {
00115         return actionId;
00116     }
00117     
00118     public int getParentId()
00119     {
00120         return this.parentId;
00121     }
00122 
00123     public boolean getCondition()
00124     {
00125         return condition;
00126     }
00127 
00128 
00129     private CUAction ca;
00130 
00131     private String actionName = "";
00132     private int actionId;
00133     private int parentId;
00134     private int actionLevel;
00135     private boolean condition; 
00136 
00137 }


srs_knowledge
Author(s): Ze Ji
autogenerated on Mon Oct 6 2014 08:27:32