com.groiss.cal
Class SimpleCalView

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

public class SimpleCalView
extends java.lang.Object
implements CalView

default CalView implementation


Constructor Summary
SimpleCalView(java.lang.String id, java.lang.String name, java.util.List<Persistent> objects, java.util.List<CalInfo> sources)
          Constructs a new instance
 
Method Summary
 java.lang.String getId()
          get the id
 java.lang.String getName()
          get the name
 java.util.List<Persistent> getObjects()
          get mapped objects
 java.util.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(java.lang.String id,
                     java.lang.String name,
                     java.util.List<Persistent> objects,
                     java.util.List<CalInfo> sources)
Constructs a new instance

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

getName

public java.lang.String getName()
get the name

Specified by:
getName in interface CalView
Returns:
the name

getObjects

public java.util.List<Persistent> getObjects()
get mapped objects

Specified by:
getObjects in interface CalView
Returns:
mapped objects

getSources

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

Specified by:
getSources in interface CalView
Returns:
the CalInfos

getId

public java.lang.String getId()
get the id

Specified by:
getId in interface CalView
Returns:
the id


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.