|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.rules.IdentityNegator
public class IdentityNegator
Negates the object passed to the constructor. Uses == to compare identity.
| Constructor Summary | |
|---|---|
IdentityNegator(java.lang.Object obj)
|
|
IdentityNegator(java.lang.Object obj,
java.lang.String msg)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
|
boolean |
negates(java.lang.Object obj)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityNegator(java.lang.Object obj)
obj - Object to be negated.
public IdentityNegator(java.lang.Object obj,
java.lang.String msg)
obj - Object to be negated.msg - Message why the object was negated.| Method Detail |
|---|
public boolean negates(java.lang.Object obj)
negates in interface Negatorpublic java.lang.String getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||