Package org.apache.fulcrum.intake.model
Class AppData
java.lang.Object
org.apache.fulcrum.intake.model.AppData
- All Implemented Interfaces:
Serializable
A class for holding application data structures.
- Version:
- $Id$
- Author:
- John McNally, Henning P. Schmiedehausen, Thomas Vandahl
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the base package String that will be appended to any mapToObjectsGet a XmlGroup with the given name.Get the prefix String that will be used to qualify intake groups when using multiple XML filesReturn a collection of input sections (<group>).void
Set the base package String that will be appended to any mapToObjectsvoid
setGroupPrefix
(String groupPrefix) Set the prefix String that will be used to qualify intake groups when using multiple XML filesvoid
Set the collection of groupstoString()
Creates a string representation of this AppData.
-
Constructor Details
-
AppData
public AppData()
-
-
Method Details
-
getGroups
Return a collection of input sections (<group>). The names of the groups returned here are only unique to this AppData object and not qualified with the groupPrefix. This method is used in the IntakeService to register all the groups with and without prefix in the service.- Returns:
- the list of groups
-
setGroups
Set the collection of groups- Parameters:
groups
- the groups to set
-
getGroup
Get a XmlGroup with the given name. It finds both qualified and unqualified names in this package.- Parameters:
groupName
- aString
value- Returns:
- a
Group
value - Throws:
IntakeException
- indicates that the groupName was null
-
getBasePackage
Get the base package String that will be appended to any mapToObjects- Returns:
- value of basePackage.
-
setBasePackage
Set the base package String that will be appended to any mapToObjects- Parameters:
v
- Value to assign to basePackage.
-
getGroupPrefix
Get the prefix String that will be used to qualify intake groups when using multiple XML files- Returns:
- value of groupPrefix
-
setGroupPrefix
Set the prefix String that will be used to qualify intake groups when using multiple XML files- Parameters:
groupPrefix
- Value to assign to basePackage.
-
toString
Creates a string representation of this AppData. The representation is given in xml format.
-