org.kuali.rice.core.api.criteria
Class NotNullExpression

java.lang.Object
  extended by org.kuali.rice.core.api.criteria.NotNullExpression
All Implemented Interfaces:
Serializable, Expression, PropertyPathExpression, ModelObjectBasic, ModelObjectComplete

public final class NotNullExpression
extends Object
implements PropertyPathExpression

An immutable expression which represents an "is not null" statement which is evaluated the property defined by the property path on this expression.

Constructed as part of a Criteria when built using a CriteriaBuilder.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Criteria, CriteriaBuilder, Serialized Form

Method Summary
 boolean equals(Object obj)
          All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.
 String getPropertyPath()
           
 int hashCode()
          All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.
 String toString()
          This will return a proper string representation of the Model Object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectComplete
equals, hashCode
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Method Detail

getPropertyPath

public String getPropertyPath()
Specified by:
getPropertyPath in interface PropertyPathExpression

hashCode

public int hashCode()
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.

Specified by:
hashCode in interface ModelObjectComplete
Overrides:
hashCode in class Object
Returns:
the hashCode value

equals

public boolean equals(Object obj)
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.

Specified by:
equals in interface ModelObjectComplete
Overrides:
equals in class Object
Parameters:
obj - to object to compare for equality
Returns:
if equal

toString

public String toString()
Description copied from interface: ModelObjectBasic
This will return a proper string representation of the Model Object. All of the fields comprising the "public" api should be represented in the return value.

Specified by:
toString in interface ModelObjectBasic
Overrides:
toString in class Object
Returns:
the string representation


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.