ch.elca.el4j.tests.gui.model.mixin
Class ExampleModelImpl

java.lang.Object
  extended by ch.elca.el4j.tests.gui.model.mixin.ExampleModelImpl
All Implemented Interfaces:
ExampleModel

public class ExampleModelImpl
extends Object
implements ExampleModel

An implementation of the example model.

Author:
Stefan Wismer (SWI)
File-location:
ExampleModelImpl
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Field Summary
private  List<Integer> m_list
           
private  Map<Integer,Integer> m_map
           
private  String m_property1
           
 
Constructor Summary
ExampleModelImpl()
           
 
Method Summary
 List<Integer> getList()
           
 Map<Integer,Integer> getMap()
           
 String getProperty1()
           
 int getYofX(int x)
           
 void set()
           
 void setList(List<Integer> list)
           
 void setMap(Map<Integer,Integer> map)
           
 void setProperty1(String o)
           
 void setXandY(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_property1

private String m_property1

m_list

private List<Integer> m_list

m_map

private Map<Integer,Integer> m_map
Constructor Detail

ExampleModelImpl

public ExampleModelImpl()
Method Detail

getProperty1

public String getProperty1()
Specified by:
getProperty1 in interface ExampleModel

setProperty1

public void setProperty1(String o)
Specified by:
setProperty1 in interface ExampleModel

getList

public List<Integer> getList()
Specified by:
getList in interface ExampleModel

setList

public void setList(List<Integer> list)
Specified by:
setList in interface ExampleModel

getMap

public Map<Integer,Integer> getMap()
Specified by:
getMap in interface ExampleModel

setMap

public void setMap(Map<Integer,Integer> map)
Specified by:
setMap in interface ExampleModel

set

public void set()
Specified by:
set in interface ExampleModel

setXandY

public void setXandY(int x,
                     int y)
Specified by:
setXandY in interface ExampleModel

getYofX

public int getYofX(int x)
Specified by:
getYofX in interface ExampleModel


Copyright © 2005-2011 ELCA. All Rights Reserved.