Class OnmsRestrictions


  • public abstract class OnmsRestrictions
    extends java.lang.Object
    Provide OpenNMS-specific Hibernate Restrictions.
    Version:
    $Id: $
    Author:
    DJ Gregor
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.hibernate.criterion.Criterion ipLike​(java.lang.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​(java.lang.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