info.magnolia.module.samples
Class Dummy

java.lang.Object
  extended by info.magnolia.module.samples.Dummy

public class Dummy
extends Object

This is a dummy class loaded from the module configuration, it defines 2 properties:
(modules/samples/config/sampleList/sampleClass/)
name will be taken from the name of the node
active can be set by user is a boolean defined as boolean in the configuration.
The parameter map gets loaded from the values set in the configuration (modules/samples/config/sampleList/sampleClass/parameters)

Version:
$Id$

Constructor Summary
Dummy()
           
 
Method Summary
 String getName()
           
 Map getParameters()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setName(String name)
           
 void setParameters(Map parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dummy

public Dummy()
Method Detail

getName

public String getName()

setName

public void setName(String name)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

getParameters

public Map getParameters()

setParameters

public void setParameters(Map parameters)


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.