Dashboard Builder Data Provider API 6.0.0.Beta5

org.jboss.dashboard.domain
Class AbstractInterval

java.lang.Object
  extended by org.jboss.dashboard.domain.AbstractInterval
All Implemented Interfaces:
Comparable, Interval

public abstract class AbstractInterval
extends Object
implements Interval, Comparable

Base class for the implementation of the different Interval classes.


Field Summary
protected  Domain domain
           
 
Constructor Summary
AbstractInterval()
           
 
Method Summary
 int compareTo(Object o)
           
 Domain getDomain()
           
 List getValues(DataProperty p)
          Get the property values belonging to this interval.
 void setDomain(Domain domain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.dashboard.domain.Interval
contains, getDescription
 

Field Detail

domain

protected Domain domain
Constructor Detail

AbstractInterval

public AbstractInterval()
Method Detail

getDomain

public Domain getDomain()
Specified by:
getDomain in interface Interval

setDomain

public void setDomain(Domain domain)
Specified by:
setDomain in interface Interval

getValues

public List getValues(DataProperty p)
Description copied from interface: Interval
Get the property values belonging to this interval.

Specified by:
getValues in interface Interval
Parameters:
p - The property which values are to be to obtained.

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

Dashboard Builder Data Provider API 6.0.0.Beta5

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.