de.jaret.util.ui.timebars.model
Interface IRelationalInterval

All Superinterfaces:
de.jaret.util.date.Interval, de.jaret.util.misc.PropertyObservable
All Known Implementing Classes:
RelationalInterval

public interface IRelationalInterval
extends de.jaret.util.date.Interval

Interval carrying a list of relations.

Version:
$Id: IRelationalInterval.java 722 2008-03-18 19:34:03Z kliem $
Author:
kliem

Field Summary
static java.lang.String RELATIONS
          relation property name constant.
 
Fields inherited from interface de.jaret.util.date.Interval
PROP_BEGIN, PROP_END
 
Method Summary
 void addRelation(IIntervalRelation relation)
          Add an interval relation.
 java.util.List<IIntervalRelation> getRelations()
          Retrieve all relations of the interval.
 void removeRelation(IIntervalRelation relation)
          Remove a relation.
 
Methods inherited from interface de.jaret.util.date.Interval
contains, contains, getBegin, getEnd, getSeconds, intersects, setBegin, setEnd
 
Methods inherited from interface de.jaret.util.misc.PropertyObservable
addPropertyChangeListener, removePropertyChangeListener
 

Field Detail

RELATIONS

static final java.lang.String RELATIONS
relation property name constant.

See Also:
Constant Field Values
Method Detail

getRelations

java.util.List<IIntervalRelation> getRelations()
Retrieve all relations of the interval.

Returns:
list of relations

addRelation

void addRelation(IIntervalRelation relation)
Add an interval relation.

Parameters:
relation - relation to be added

removeRelation

void removeRelation(IIntervalRelation relation)
Remove a relation.

Parameters:
relation - relation to be removed.


Copyright © 2012. All Rights Reserved.