Class DataSet

java.lang.Object
de.rpgframework.genericrpg.data.DataSet

public class DataSet extends Object
You need to implement this class to extend the functionality of RPGFramework applications for specific rulesets.
  • Field Details

  • Constructor Details

    • DataSet

      public DataSet(Object parent, de.rpgframework.core.RoleplayingSystem rules, String id, String resourcePrefix, Locale... locales)
    • DataSet

      public DataSet(Object parent, de.rpgframework.core.RoleplayingSystem rules, String id, String resourcePrefix, de.rpgframework.MultiLanguageResourceBundle res, Locale... locales)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getBundleID

      public String getBundleID()
      Returns:
      the bundleID
    • getName

      public String getName(Locale locale)
    • getShortName

      public String getShortName(Locale locale)
    • getDescription

      public String getDescription(Locale locale)
    • getID

      public String getID()
      Returns an identifier uniquely identifying the plugin within a RoleplayingSystem. The identifier "CORE" is reserved for the core rules. For everything else an abbreviated product name in capital letters is recommended.
    • getRules

      public de.rpgframework.core.RoleplayingSystem getRules()
      Identify the type of rules to support.
    • getLocales

      public List<Locale> getLocales()
      Return a list of supported language codes
    • getResourceString

      public String getResourceString(String key, Locale locale)
    • getResourceString

      public String getResourceString(List<String> keys, Locale locale)
    • getBaseBundleName

      public String getBaseBundleName()
    • flushMissingKeys

      public void flushMissingKeys()
    • getType

      public DataSet.DataSetType getType()
      Returns:
      the type
    • setType

      public void setType(DataSet.DataSetType type)
      Parameters:
      type - the type to set
    • getReleased

      public int getReleased()
      Returns:
      the released
    • setReleased

      public void setReleased(int released)
      Parameters:
      released - the released to set