|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.caleigo.core.Qualifier
org.caleigo.core.NegateQualifier
The NegateQualifier logically negates another single qualifier that may however be a CompositeQualifier. This would represent adding a "NOT" before the contained Qualifier.
Nested Class Summary |
Nested classes inherited from class org.caleigo.core.Qualifier |
Qualifier.RelayListener |
Constructor Summary | |
NegateQualifier(Qualifier entityQualifier)
Default constructor for NegateQualifier. |
Method Summary | |
void |
addQualifierListener(IQualifierListener listener)
Adds an IQualifierListener to receive notifications of contents and structure changes from the Qualifier object. |
boolean |
canDirectlyQualify(IEntityDescriptor entityDescriptor)
This abstract method must return true if the qualifier can select entities of the type defined by the provided entity descriptor without the nead of any complementary data. |
boolean |
canQualify(IEntityDescriptor entityDescriptor)
This method returns true if the qualifier can select entities of the type defined by the provided entity descriptor. |
boolean |
canUniquelyQualify(IEntityDescriptor entityDescriptor)
This method returns true if the qualifier can uniquely select entities of the type defined by the provided entity descriptor. |
boolean |
doesQualify(IEntity entity)
This method returns true if the qualifier does select the provided entity object. |
Qualifier |
getNegatedQualifier()
Access method that returns the wrapped contained qualifier that are defined as negated by the called Qualifier. |
java.lang.String |
toString()
The toString method returns an "abstract" expression of what the qualifier selects. |
Methods inherited from class org.caleigo.core.Qualifier |
and, and, and, combine, create, create, fireContentChangedEvent, fireQualifierEvent, fireStructureChangedEvent, negate, or, or, or, removeQualifierListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NegateQualifier(Qualifier entityQualifier)
Method Detail |
public boolean doesQualify(IEntity entity)
doesQualify
in class Qualifier
public boolean canQualify(IEntityDescriptor entityDescriptor)
canQualify
in class Qualifier
public boolean canUniquelyQualify(IEntityDescriptor entityDescriptor)
canUniquelyQualify
in class Qualifier
public boolean canDirectlyQualify(IEntityDescriptor entityDescriptor)
canDirectlyQualify
in class Qualifier
public void addQualifierListener(IQualifierListener listener)
addQualifierListener
in class Qualifier
public java.lang.String toString()
public Qualifier getNegatedQualifier()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |