ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr
Class JcrProblems

java.lang.Object
  extended by 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
JcrProblems(Problems problems)
           
 
Method Summary
 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

ModeShape Distribution 3.0.0.Beta4

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