public class DefaultArchetypeAttributeFactory extends java.lang.Object implements ArchetypeAttributeFactory
ArchetypeAttributeFactory. This instance
creates ArchetypeAttribute instances suitable for the Gridarta core.| Constructor and Description |
|---|
DefaultArchetypeAttributeFactory() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ArchetypeAttribute |
newArchetypeAttributeAnimname(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "animname" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeBitmask(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
@NotNull java.lang.String bitmaskName)
Creates a new "bitmask" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeBool(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "bool" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeBoolSpec(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
@NotNull java.lang.String trueValue,
@NotNull java.lang.String falseValue)
Creates a new "bool spec" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeFacename(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "face name" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeFixed(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "fixed" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeFloat(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "float" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeInt(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
int minValue,
int maxValue,
int minCheckValue,
int maxCheckValue)
Creates a new "int" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeInvSpell(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "inv spell" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeInvSpellOptional(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "inv spell optional" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeList(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
@NotNull java.lang.String listName)
Creates a new "list" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeList2(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
@NotNull java.lang.String listName1,
@NotNull java.lang.String listName2)
Creates a new "list2" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeLong(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "long" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeMapPath(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "map path" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeScriptFile(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "script file" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeSpell(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "spell" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeString(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "string" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeText(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String endingOld,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
@Nullable java.lang.String fileExtension)
Creates a new "text" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeTreasure(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "treasure" archetype attribute.
|
@NotNull ArchetypeAttribute |
newArchetypeAttributeZSpell(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength)
Creates a new "z-spell" archetype attribute.
|
@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeAnimname(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeAnimname in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeBitmask(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @NotNull @NotNull java.lang.String bitmaskName)
ArchetypeAttributeFactorynewArchetypeAttributeBitmask in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fieldsbitmaskName - the bitmask name@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeBool(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeBool in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeBoolSpec(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @NotNull @NotNull java.lang.String trueValue, @NotNull @NotNull java.lang.String falseValue)
ArchetypeAttributeFactorynewArchetypeAttributeBoolSpec in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fieldstrueValue - the true valuefalseValue - the false value@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeFacename(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeFacename in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeFixed(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeFixed in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeFloat(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeFloat in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeInt(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, int minValue, int maxValue, int minCheckValue, int maxCheckValue)
ArchetypeAttributeFactorynewArchetypeAttributeInt in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fieldsminValue - the absolute minimum allowed valuemaxValue - the absolute maximum allowed valueminCheckValue - the logical minimum allowed valuemaxCheckValue - the logical maximum allowed value@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeInvSpell(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeInvSpell in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeInvSpellOptional(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeInvSpellOptional in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeList(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @NotNull @NotNull java.lang.String listName)
ArchetypeAttributeFactorynewArchetypeAttributeList in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fieldslistName - the list name@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeList2(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @NotNull @NotNull java.lang.String listName1, @NotNull @NotNull java.lang.String listName2)
ArchetypeAttributeFactorynewArchetypeAttributeList2 in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fieldslistName1 - the list name for bits 0-3listName2 - the list name for bits 4+@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeLong(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeLong in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeMapPath(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeMapPath in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeScriptFile(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeScriptFile in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeSpell(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeSpell in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeString(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeString in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeText(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String endingOld, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @Nullable @Nullable java.lang.String fileExtension)
ArchetypeAttributeFactorynewArchetypeAttributeText in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameendingOld - the terminating stringattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fieldsfileExtension - the file extension@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeTreasure(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeTreasure in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields@NotNull public @NotNull ArchetypeAttribute newArchetypeAttributeZSpell(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength)
ArchetypeAttributeFactorynewArchetypeAttributeZSpell in interface ArchetypeAttributeFactoryarchetypeAttributeName - the archetype attribute nameattributeName - the user interface attribute namedescription - the attribute's descriptioninputLength - the input length in characters for text input fields