|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.dfki.mycbr.core.casebase.Range
public abstract class Range
Interface to be implemented by containers of attribute values. Is of great importance for multiple attributes.
| Constructor Summary | |
|---|---|
Range(Project p)
|
|
| Method Summary | |
|---|---|
abstract Attribute |
getAttribute(java.lang.Object obj)
Gets the attribute associated with the specified Object obj. |
Project |
getProject()
|
void |
setProject(Project p)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Observer |
|---|
update |
| Constructor Detail |
|---|
public Range(Project p)
p - the project this range belongs to.| Method Detail |
|---|
public abstract Attribute getAttribute(java.lang.Object obj)
throws java.text.ParseException
Object obj.
obj is expected to be of a certain type (dependent on AttributeDesc
object of
class implementing this interface) or SpecialAttribute (represented by a
string). Should return result of Project.getSpecialAttribute(String) if obj
is a special attribute, a corresponding attribute for the description if obj
is of the expected type, else null.
obj - the object for which the corresponding attribute should be
returned
java.text.ParseException - if obj does not fit descriptionpublic final void setProject(Project p)
p - the project to setpublic final Project getProject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||