public class TemplateResultModel extends SimpleList<TemplateResultFile> implements SendableEntityCreator, LocalisationInterface
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CHILD |
static java.lang.String |
PROPERTY_FEATURE |
static java.lang.String |
PROPERTY_TEMPLATE |
static java.lang.String |
PROPERTY_TEXT |
PROPERTYALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLENEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor and Description |
|---|
TemplateResultModel() |
| Modifier and Type | Method and Description |
|---|---|
SimpleKeyValueList<java.lang.String,ParserCondition> |
getCustomTemplate() |
FeatureProperty |
getFeature(java.lang.String name) |
SimpleSet<FeatureProperty> |
getFeatures() |
LocalisationInterface |
getLanguage() |
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
ParserCondition |
getTemplate(java.lang.String tag) |
java.lang.String |
getText(java.lang.CharSequence label,
java.lang.Object model,
java.lang.Object gui) |
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
java.lang.String |
put(java.lang.String label,
java.lang.Object object) |
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
TemplateResultModel |
withFeatures(SimpleSet<FeatureProperty> features) |
TemplateResultModel |
withLanguage(LocalisationInterface customLanguage) |
TemplateResultModel |
withTemplate(ParserCondition... templates) |
TemplateResultModel |
withTemplate(SimpleKeyValueList<java.lang.String,ParserCondition> templates) |
add, clone, filter, fireProperty, getNewList, remove, subList, withListeneradd, addAll, addAll, ceiling, copyEntity, equals, filterItems, hashCode, iterator, iterator, iteratorReverse, listIterator, listIterator, lower, remove, set, subSet, withListadd, addHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, containsAll, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getTypClass, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, last, lastIndexOf, move, pack, parseItem, removeAll, removeByIndex, removeByObject, removeItem, replaceAllValues, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, toString, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, withVisiblefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final java.lang.String PROPERTY_FEATURE
public static final java.lang.String PROPERTY_TEMPLATE
public static final java.lang.String PROPERTY_TEXT
public static final java.lang.String PROPERTY_CHILD
public TemplateResultModel withTemplate(SimpleKeyValueList<java.lang.String,ParserCondition> templates)
public TemplateResultModel withTemplate(ParserCondition... templates)
public SimpleKeyValueList<java.lang.String,ParserCondition> getCustomTemplate()
public TemplateResultModel withLanguage(LocalisationInterface customLanguage)
public java.lang.String getText(java.lang.CharSequence label,
java.lang.Object model,
java.lang.Object gui)
getText in interface LocalisationInterfacepublic java.lang.String put(java.lang.String label,
java.lang.Object object)
put in interface LocalisationInterfacepublic ParserCondition getTemplate(java.lang.String tag)
public LocalisationInterface getLanguage()
public java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
SendableEntityCreatorgetValue in interface SendableEntityCreatorentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
SendableEntityCreatorsetValue in interface SendableEntityCreatorentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operationpublic SimpleSet<FeatureProperty> getFeatures()
public FeatureProperty getFeature(java.lang.String name)
public TemplateResultModel withFeatures(SimpleSet<FeatureProperty> features)