org.xwiki.wiki.properties
Class WikiPropertyGroup

java.lang.Object
  extended by org.xwiki.wiki.properties.WikiPropertyGroup

public class WikiPropertyGroup
extends Object

Property group is a place where modules can store their own properties concerning a wiki. This group is then attached to the WikiDescriptor. Each module is responsible for the persistent storage of its properties.

Since:
5.3M2
Version:
$Id: 84e9bca24bb1a5f7a15071be367cc4e6c17bc2eb $

Constructor Summary
WikiPropertyGroup(String id)
          Constructor.
 
Method Summary
 Object get(String propertyId)
          Get the value of a property.
 String getId()
           
 void set(String propertyId, Object value)
          Set the value of a property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPropertyGroup

public WikiPropertyGroup(String id)
Constructor.

Parameters:
id - Unique identifier of the group
Method Detail

getId

public String getId()
Returns:
the unique identifier of the group

get

public Object get(String propertyId)
Get the value of a property.

Parameters:
propertyId - Id of the property
Returns:
the value of the property

set

public void set(String propertyId,
                Object value)
Set the value of a property.

Parameters:
propertyId - Id of the property to change
value - value so store in the property


Copyright © 2004–2014 XWiki. All rights reserved.