Magentix2  2.1.1
es.upv.dsic.gti_ia.argAgents.knowledgeResources.Premise Class Reference
Inheritance diagram for es.upv.dsic.gti_ia.argAgents.knowledgeResources.Premise:
Collaboration diagram for es.upv.dsic.gti_ia.argAgents.knowledgeResources.Premise:

List of all members.

Public Member Functions

 Premise (int id, String name, String content)
 Premise ()
int getID ()
void setID (int newID)
String getContent ()
void setContent (String newContent)
String getName ()
void setName (String newName)
int compareTo (Object obj)

Detailed Description

Implementation of the concept Premise

Definition at line 10 of file Premise.java.


Constructor & Destructor Documentation

es.upv.dsic.gti_ia.argAgents.knowledgeResources.Premise.Premise ( int  id,
String  name,
String  content 
)

Definition at line 20 of file Premise.java.

                                                        {
        this.id = id;
        this.name = name;
        this.content = content;
    }

Definition at line 27 of file Premise.java.

                     {
        id = -1;
        name = "";
        content = "";
    }

Member Function Documentation

Definition at line 68 of file Premise.java.

                                         {
                Premise otherPremise= (Premise) obj;
                return this.getID()-otherPremise.getID();
        }

Definition at line 45 of file Premise.java.

                               {
        return content;
    }

Definition at line 35 of file Premise.java.

                       {
        return id;
    }

Definition at line 57 of file Premise.java.

                            {
        return (String) name;
    }

Definition at line 50 of file Premise.java.

                                              {
        content = newContent;
    }

Definition at line 39 of file Premise.java.

                                {
        id = newID;
    }

Definition at line 62 of file Premise.java.

                                        {
        name = newName;
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables