org.android.activityminer.pmml.model.datadictionary
Class Interval

Package class diagram package Interval
java.lang.Object
  extended by org.android.activityminer.pmml.model.datadictionary.Interval

public class Interval
extends Object

The interval representation (without extensions)


Field Summary
private  ClosureTypes closure
          The closure attribute
private  double leftMargin
          The closure attribute
private  double rightMargin
          The closure attribute
private  List<Value> values
          The associated values
 
Constructor Summary
Interval()
           
 
Method Summary
 ClosureTypes getClosure()
          Getter for the closure
 double getLeftMargin()
          Getter for the leftMargin
 double getRightMargin()
          Getter for the rightMargin
 List<Value> getValues()
          Getter for the associated values
 void setClosure(ClosureTypes closure)
          Setter for the closure
 void setLeftMargin(double leftMargin)
          Setter for the leftMargin
 void setRightMargin(double rightMargin)
          Setter for the rightMargin
 Interval withValue(Value value)
          Adds a value reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

closure

private ClosureTypes closure
The closure attribute


leftMargin

private double leftMargin
The closure attribute


rightMargin

private double rightMargin
The closure attribute


values

private final List<Value> values
The associated values

Constructor Detail

Interval

public Interval()
Method Detail

withValue

public Interval withValue(Value value)
Adds a value reference

Parameters:
value - the value to add
Returns:
the instance

getValues

public List<Value> getValues()
Getter for the associated values

Returns:
the values

getClosure

public ClosureTypes getClosure()
Getter for the closure

Returns:
the closure

setClosure

public void setClosure(ClosureTypes closure)
Setter for the closure

Parameters:
closure - the closure to set

getLeftMargin

public double getLeftMargin()
Getter for the leftMargin

Returns:
the leftMargin

setLeftMargin

public void setLeftMargin(double leftMargin)
Setter for the leftMargin

Parameters:
leftMargin - the leftMargin to set

getRightMargin

public double getRightMargin()
Getter for the rightMargin

Returns:
the rightMargin

setRightMargin

public void setRightMargin(double rightMargin)
Setter for the rightMargin

Parameters:
rightMargin - the rightMargin to set