org.modeshape.jcr

## Class JcrProblems

- java.lang.Object
- - org.modeshape.jcr.JcrProblems

- All Implemented Interfaces:
    Iterable<Problem>, Problems

      public class JcrProblems
      extends Object
      implements Problems

  A wrapper around an `internal Problems` object that implements the ModeShape JCR API `Problems` interface.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JcrProblems(Problems problems)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasProblems()` Determine if there are any problems.
    `Iterator<Problem>` | `iterator()`
    `int` | `size()` Get the number of problems.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### JcrProblems

          public JcrProblems(Problems problems)

  - ### Method Detail

    - #### iterator

          public Iterator<Problem> iterator()

      Specified by:
        `iterator` in interface `Iterable<Problem>`

    - #### size

          public int size()

      Description copied from interface: `Problems`
      Get the number of problems.
      Specified by:
        `size` in interface `Problems`
      Returns:
        the number of problems.

    - #### hasProblems

          public boolean hasProblems()

      Description copied from interface: `Problems`
      Determine if there are any problems.
      Specified by:
        `hasProblems` in interface `Problems`
      Returns:
        true if there is at least one problem, or false otherwise

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.