|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.util.AttributeUtils
public class AttributeUtils
Utility methods to manage the attributes of a case.
Attribute
Constructor Summary | |
---|---|
AttributeUtils()
|
Method Summary | |
---|---|
static CaseComponent |
findBelongingComponent(Attribute at,
CaseComponent cc)
Finds the belonging component of an attribute. |
static CaseComponent |
findBelongingComponent(Attribute at,
CBRCase c)
Similar to findBelongingComponent(Attribute, CaseComponent) as a CBRCase is a CaseComponent. |
static CaseComponent |
findBelongingComponent(Attribute at,
CBRQuery q)
Similar to findBelongingComponent(Attribute, CaseComponent) as a CBRQuery is a CaseComponent. |
static java.lang.Object |
findValue(Attribute at,
CaseComponent cc)
Returns the value of an Attribute in a CaseComponent object. |
static java.lang.Object |
findValue(Attribute at,
CBRCase c)
Finds the value of an Attribute in a CBRCase object. |
static java.lang.Object |
findValue(Attribute at,
CBRQuery query)
Finds the value of an Attribute in a CBRQuery object. |
static java.util.Collection<Attribute> |
getAttributes(CaseComponent cc)
Returns the list of attributes of a CaseComponents and all its sub-caseComponents. |
static java.util.Collection<Attribute> |
getAttributes(CaseComponent cc,
java.lang.Class _class)
Returns the list of attributes of a CaseComponents and all its sub-caseComponents which values are instance of a given class |
static Attribute[] |
getAttributes(java.lang.Class c)
Returns the list of attributes of a class. |
static void |
setValue(Attribute at,
CaseComponent cc,
java.lang.Object value)
Returns the value of an Attribute in a CaseComponent object. |
static void |
setValue(Attribute at,
CBRCase c,
java.lang.Object value)
Finds the value of an Attribute in a CBRCase object. |
static void |
setValue(Attribute at,
CBRQuery query,
java.lang.Object value)
Finds the value of an Attribute in a CBRQuery object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeUtils()
Method Detail |
---|
public static Attribute[] getAttributes(java.lang.Class c)
public static java.util.Collection<Attribute> getAttributes(CaseComponent cc)
public static java.util.Collection<Attribute> getAttributes(CaseComponent cc, java.lang.Class _class)
public static CaseComponent findBelongingComponent(Attribute at, CaseComponent cc)
public static CaseComponent findBelongingComponent(Attribute at, CBRQuery q)
public static CaseComponent findBelongingComponent(Attribute at, CBRCase c)
public static java.lang.Object findValue(Attribute at, CaseComponent cc)
public static java.lang.Object findValue(Attribute at, CBRQuery query)
public static java.lang.Object findValue(Attribute at, CBRCase c)
public static void setValue(Attribute at, CaseComponent cc, java.lang.Object value)
public static void setValue(Attribute at, CBRQuery query, java.lang.Object value)
public static void setValue(Attribute at, CBRCase c, java.lang.Object value)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |