Package org.xwiki.wiki.properties
Class WikiPropertyGroup
- java.lang.Object
-
- org.xwiki.wiki.properties.WikiPropertyGroup
-
- All Implemented Interfaces:
Cloneable
public class WikiPropertyGroup extends Object implements Cloneable
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: 1ecfc5cf5e9d018beaab3907e1a237e600d8df42 $
-
-
Constructor Summary
Constructors Constructor Description WikiPropertyGroup(String id)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WikiPropertyGroup
clone()
Object
get(String propertyId)
Get the value of a property.String
getId()
void
set(String propertyId, Object value)
Set the value of a property.
-
-
-
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 changevalue
- value so store in the property
-
clone
public WikiPropertyGroup clone()
-
-