org.opennms.netmgt.model
Class OnmsRestrictions

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsRestrictions

public class OnmsRestrictions
extends Object

Provide OpenNMS-specific Hibernate Restrictions.

Author:
DJ Gregor

Constructor Summary
OnmsRestrictions()
           
 
Method Summary
static org.hibernate.criterion.Criterion ipLike(String value)
          Performs an iplike match on the ipAddr column of the current table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnmsRestrictions

public OnmsRestrictions()
Method Detail

ipLike

public static org.hibernate.criterion.Criterion ipLike(String value)
Performs an iplike match on the ipAddr column of the current table.

Parameters:
value - iplike match
Returns:
SQL restriction for this iplike match


Copyright © 2009. All Rights Reserved.