Class DataSet
java.lang.Object
de.rpgframework.genericrpg.data.DataSet
You need to implement this class to extend the functionality of RPGFramework
applications for specific rulesets.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataSet(Object parent, RoleplayingSystem rules, String id, String resourcePrefix, MultiLanguageResourceBundle res, Locale... locales) DataSet(Object parent, RoleplayingSystem rules, String id, String resourcePrefix, Locale... locales) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDescription(Locale locale) getID()Returns an identifier uniquely identifying the plugin within a RoleplayingSystem.Return a list of supported language codesintgetResourceString(String key, Locale locale) getResourceString(List<String> keys, Locale locale) getRules()Identify the type of rules to support.getShortName(Locale locale) getType()voidsetReleased(int released) voidsetType(DataSet.DataSetType type) toString()
-
Field Details
-
logger
-
-
Constructor Details
-
DataSet
public DataSet(Object parent, RoleplayingSystem rules, String id, String resourcePrefix, Locale... locales) -
DataSet
public DataSet(Object parent, RoleplayingSystem rules, String id, String resourcePrefix, MultiLanguageResourceBundle res, Locale... locales)
-
-
Method Details
-
toString
-
getBundleID
- Returns:
- the bundleID
-
getName
-
getShortName
-
getDescription
-
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
Identify the type of rules to support. -
getLocales
-
getResourceString
-
getResourceString
-
getBaseBundleName
-
flushMissingKeys
public void flushMissingKeys() -
getType
- Returns:
- the type
-
setType
- 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
-