jcolibri.test.test10
Class TravelSolution

java.lang.Object
  extended by jcolibri.test.test10.TravelSolution
All Implemented Interfaces:
CaseComponent

public class TravelSolution
extends java.lang.Object
implements CaseComponent

Bean that stores the solution of the case.

Version:
1.0
Author:
Juan A. Recio-Garcia

Constructor Summary
TravelSolution()
           
 
Method Summary
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 Instance getMainConcept()
           
 Instance getPrice()
           
 void setMainConcept(Instance mc)
           
 void setPrice(Instance price)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TravelSolution

public TravelSolution()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getIdAttribute

public Attribute getIdAttribute()
Description copied from interface: CaseComponent
Returns the attribute that identifies the component. An id-attribute must be unique for each component.

Specified by:
getIdAttribute in interface CaseComponent

getMainConcept

public Instance getMainConcept()
Returns:
Returns the id.

setMainConcept

public void setMainConcept(Instance mc)
Parameters:
mc - The main concept to set.

getPrice

public Instance getPrice()
Returns:
Returns the price.

setPrice

public void setPrice(Instance price)
Parameters:
price - The price to set.

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es