jcolibri.test.test10
Class TravelSolution
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TravelSolution
public TravelSolution()
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.