Annotation Type Restriction


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Restriction
    The Asset Topology is build from OnmsNodes. In order to correctly build the hierarchy, each value for each OnmsNode (provided by ItemProvider) for each Layer must not be null. With the Restriction annotation it is possible to define a HQL restriction which must be fullfilled, otherwise the node is not included.
    Author:
    mvrueden
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String hql  
    • Element Detail

      • hql

        java.lang.String hql