info.magnolia.module.samples
Class Dummy

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

public class Dummy
extends java.lang.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)

Author:
tmiyar

Constructor Summary
Dummy()
           
 
Method Summary
 java.lang.String getName()
           
 java.util.Map getParameters()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setName(java.lang.String name)
           
 void setParameters(java.util.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 java.lang.String getName()

setName

public void setName(java.lang.String name)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

getParameters

public java.util.Map getParameters()

setParameters

public void setParameters(java.util.Map parameters)


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