com.groiss.cal
Class SimpleCalView

java.lang.Object
  extended by com.groiss.cal.SimpleCalView
All Implemented Interfaces:
CalView

public class SimpleCalView
extends Object
implements CalView

default CalView implementation


Constructor Summary
SimpleCalView(String id, String name, List<Persistent> objects, List<CalInfo> sources)
          Constructs a new instance
 
Method Summary
 String getId()
          get the id
 String getName()
          get the name
 List<Persistent> getObjects()
          get mapped objects
 List<CalInfo> getSources()
          get all CalInfos where date should be fetched from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCalView

public SimpleCalView(String id,
                     String name,
                     List<Persistent> objects,
                     List<CalInfo> sources)
Constructs a new instance

Parameters:
id - the id
name - the name
objects - the objects
sources - the sources
Method Detail

getName

public String getName()
get the name

Specified by:
getName in interface CalView
Returns:
the name

getObjects

public List<Persistent> getObjects()
get mapped objects

Specified by:
getObjects in interface CalView
Returns:
mapped objects

getSources

public List<CalInfo> getSources()
get all CalInfos where date should be fetched from

Specified by:
getSources in interface CalView
Returns:
the CalInfos

getId

public String getId()
get the id

Specified by:
getId in interface CalView
Returns:
the id


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.