Klasse AppData

java.lang.Object
org.apache.fulcrum.intake.model.AppData
Alle implementierten Schnittstellen:
Serializable

public class AppData extends Object implements Serializable
A class for holding application data structures.
Version:
$Id$
Autor:
John McNally, Henning P. Schmiedehausen, Thomas Vandahl
Siehe auch:
  • Konstruktordetails

    • AppData

      public AppData()
  • Methodendetails

    • getGroups

      public List<Group> 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.
      Gibt zurück:
      the list of groups
    • setGroups

      public void setGroups(List<Group> groups)
      Set the collection of groups
      Parameter:
      groups - the groups to set
    • getGroup

      public Group getGroup(String groupName) throws IntakeException
      Get a XmlGroup with the given name. It finds both qualified and unqualified names in this package.
      Parameter:
      groupName - a String value
      Gibt zurück:
      a Group value
      Löst aus:
      IntakeException - indicates that the groupName was null
    • getBasePackage

      public String getBasePackage()
      Get the base package String that will be appended to any mapToObjects
      Gibt zurück:
      value of basePackage.
    • setBasePackage

      public void setBasePackage(String v)
      Set the base package String that will be appended to any mapToObjects
      Parameter:
      v - Value to assign to basePackage.
    • getGroupPrefix

      public String getGroupPrefix()
      Get the prefix String that will be used to qualify intake groups when using multiple XML files
      Gibt zurück:
      value of groupPrefix
    • setGroupPrefix

      public void setGroupPrefix(String groupPrefix)
      Set the prefix String that will be used to qualify intake groups when using multiple XML files
      Parameter:
      groupPrefix - Value to assign to basePackage.
    • toString

      public String toString()
      Creates a string representation of this AppData. The representation is given in xml format.
      Setzt außer Kraft:
      toString in Klasse Object