Modul de.rpgframework.rules
Package de.rpgframework.genericrpg.data
Klasse DataItemValue<T extends DataItem>
java.lang.Object
de.rpgframework.genericrpg.modification.ModifyableImpl
de.rpgframework.genericrpg.data.DataItemValue<T>
- Alle implementierten Schnittstellen:
ResolvableDataItem<T>,Modifyable,NumericalValue<T>,SelectedValue<T>
- Bekannte direkte Unterklassen:
ASkillGroupValue,ComplexDataItemValue
public abstract class DataItemValue<T extends DataItem>
extends ModifyableImpl
implements NumericalValue<T>, ResolvableDataItem<T>, SelectedValue<T>
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected CommonCharacter<?, ?, ?, ?> The character this item belongs toprotected Stringprotected ObjectFor packs, this is the pack itemprotected StringFor items that have different language versions, this field stores the language used when selectingprotected Stringprotected Tprotected intVon Klasse geerbte Felder de.rpgframework.genericrpg.modification.ModifyableImpl
incomingModifications, outgoingModifications -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungCommonCharacter<?, ?, ?, ?> intReturns the points invested into this valuegetKey()Return the identifier of the ComplexDataItem connected with this value.getNameWithRating(Locale loc) getShortName(Locale locale) booleanvoidsetCharacter(CommonCharacter<?, ?, ?, ?> character) voidsetCustomName(String customName) voidsetDistributed(int points) Set the points invested into this value;voidsetInjectedBy(Object injectedBy) voidsetLanguage(String language) voidsetResolved(T value) Von Klasse geerbte Methoden de.rpgframework.genericrpg.modification.ModifyableImpl
addIncomingModification, addModifications, addOutgoingModification, clearIncomingModifications, clearOutgoingModifications, getIncomingModifications, getOutgoingModifications, removeIncomingModification, removeIncomingModificationForSource, removeIncomingModifications, setIncomingModifications
-
Felddetails
-
ref
-
language
For items that have different language versions, this field stores the language used when selecting -
resolved
-
character
The character this item belongs to -
value
@Attribute(name="value") protected int value -
customName
-
injectedBy
For packs, this is the pack item
-
-
Konstruktordetails
-
DataItemValue
public DataItemValue() -
DataItemValue
-
DataItemValue
-
-
Methodendetails
-
getKey
Return the identifier of the ComplexDataItem connected with this value.- Angegeben von:
getKeyin SchnittstelleResolvableDataItem<T extends DataItem>- Gibt zurück:
- Siehe auch:
-
setResolved
- Angegeben von:
setResolvedin SchnittstelleResolvableDataItem<T extends DataItem>- Siehe auch:
-
getResolved
- Angegeben von:
getResolvedin SchnittstelleResolvableDataItem<T extends DataItem>- Siehe auch:
-
getDistributed
public int getDistributed()Beschreibung aus Schnittstelle kopiert:NumericalValueReturns the points invested into this value- Angegeben von:
getDistributedin SchnittstelleNumericalValue<T extends DataItem>- Gibt zurück:
- Invested points
- Siehe auch:
-
setDistributed
public void setDistributed(int points) Beschreibung aus Schnittstelle kopiert:NumericalValueSet the points invested into this value;- Angegeben von:
setDistributedin SchnittstelleNumericalValue<T extends DataItem>- Siehe auch:
-
isAutoAdded
public boolean isAutoAdded() -
getModifyable
- Angegeben von:
getModifyablein SchnittstelleSelectedValue<T extends DataItem>- Siehe auch:
-
getNameWithoutDecisions
-
getNameWithoutRating
-
getNameWithoutRating
-
getNameWithRating
-
getNameWithRating
-
getShortName
-
getCharacter
- Gibt zurück:
- the character
-
setCharacter
- Parameter:
character- the character to set
-
getInjectedBy
- Gibt zurück:
- the injectedBy
-
setInjectedBy
- Parameter:
injectedBy- the injectedBy to set
-
getCustomName
- Gibt zurück:
- the customName
-
setCustomName
- Parameter:
customName- the customName to set
-
getLanguage
- Gibt zurück:
- the language
-
setLanguage
- Parameter:
language- the language to set
-