|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deduced.AbstractPropertyCollection<K,V>
org.deduced.FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object>
org.deduced.text.builder.implementation.MultilanguageTextBuilderImplementation
public class MultilanguageTextBuilderImplementation

Java Implementation used to represent the type : multi-language text builder Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaImplementation.vm
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.deduced.AbstractPropertyCollection |
|---|
AbstractPropertyCollection.CollectionToDeleteMonitor |
| Field Summary | |
|---|---|
private Configuration |
configuration
member variable holding the value for : configuration |
static java.util.Set<java.lang.Object> |
KEY_SET
list of keys held in this collection |
private Language |
language
member variable holding the value for : language |
private java.lang.String |
text
member variable holding the value for : text |
| Fields inherited from class org.deduced.AbstractPropertyCollection |
|---|
CHECK_DELETE_MODE_AUTOMATIC, CHECK_DELETE_MODE_MANUAL, COLLECTION_TO_DELETE |
| Fields inherited from interface org.deduced.text.builder.MultilanguageTextBuilder |
|---|
MULTILANGUAGE_TEXT_BUILDER_TYPE |
| Fields inherited from interface org.deduced.text.builder.AbstractTextBuilder |
|---|
ABSTRACT_TEXT_BUILDER_TYPE |
| Fields inherited from interface org.deduced.text.AbstractTextCollection |
|---|
ABSTRACT_TEXT_COLLECTION_TYPE, TEXT_INSTANCE |
| Fields inherited from interface org.deduced.ConfiguredCollection |
|---|
CONFIGURATION_INSTANCE, CONFIGURED_COLLECTION_TYPE |
| Fields inherited from interface org.deduced.PropertyCollection |
|---|
PROPERTY_COLLECTION_TYPE |
| Fields inherited from interface org.deduced.text.AbstractLanguageCollection |
|---|
ABSTRACT_LANGUAGE_COLLECTION_TYPE, LANGUAGE_INSTANCE |
| Constructor Summary | |
|---|---|
MultilanguageTextBuilderImplementation()
Default constructor for the type : multi-language text builder |
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.Object> |
asKeySet()
|
java.lang.Object |
clone()
(non-Javadoc) |
static void |
createInstancesAndTypes()
create instances and types |
static void |
createKeyList()
static method used to initialize the key list on the property collection |
boolean |
equals(java.lang.Object o)
(non-Javadoc) |
static void |
fillInstancesAndTypes()
fill instances and types phase 1 |
static void |
fillInstancesAndTypesFromSchema(PropertyCollection<?,?> schema)
fill instances and types from a schema |
static void |
fillTypeLists()
fill instances and types phase 2 |
Configuration |
getConfiguration()
(non-Javadoc) |
static PropertyCollection |
getConfiguration(PropertyCollection<?,?> collection)
Get the value of the instance : configuration |
Language |
getLanguage()
(non-Javadoc) |
static PropertyCollection |
getLanguage(PropertyCollection<?,?> collection)
Get the value of the instance : language |
java.lang.Object |
getPropertyValue(java.lang.Object key)
(non-Javadoc) |
java.lang.String |
getText()
(non-Javadoc) |
static java.lang.String |
getText(PropertyCollection<?,?> collection)
Get the value of the instance : text |
static void |
resetListFixedInstances(MultilanguageTextBuilder instance)
reset all the list fixed instances |
Configuration |
setConfiguration(Configuration setValue)
(non-Javadoc) |
static PropertyCollection |
setConfiguration(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : configuration |
Language |
setLanguage(Language setValue)
(non-Javadoc) |
static PropertyCollection |
setLanguage(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : language |
java.lang.Object |
setProperty(java.lang.Object key,
java.lang.Object value)
(non-Javadoc) |
static java.lang.String |
setText(PropertyCollection collection,
java.lang.String value)
set the value of the instance : text |
java.lang.String |
setText(java.lang.String setValue)
(non-Javadoc) |
PropertyCollectionType |
type()
(non-Javadoc) |
| Methods inherited from class org.deduced.FixedPropertyInstanceCollection |
|---|
addProperty, areKeysAssignedAutomatically, containsKey, getProperty, iterator, iteratorByValue, removeProperty, removePropertyInstance, removePropertyValue, size |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deduced.PropertyCollection |
|---|
activate, addListener, addProperty, areKeysAssignedAutomatically, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, size, valueKey |
| Field Detail |
|---|
public static java.util.Set<java.lang.Object> KEY_SET
private java.lang.String text
private Configuration configuration
private Language language
| Constructor Detail |
|---|
public MultilanguageTextBuilderImplementation()
| Method Detail |
|---|
public java.util.Set<java.lang.Object> asKeySet()
asKeySet in interface PropertyCollection<java.lang.Object,java.lang.Object>public PropertyCollectionType type()
type in interface PropertyCollection<java.lang.Object,java.lang.Object>PropertyCollection.type()public static void createKeyList()
public java.lang.String getText()
getText in interface AbstractTextCollectionAbstractTextCollection.getText()public static java.lang.String getText(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public java.lang.String setText(java.lang.String setValue)
setText in interface AbstractTextCollectionsetValue - new text
AbstractTextCollection.setText(java.lang.String)
public static java.lang.String setText(PropertyCollection collection,
java.lang.String value)
collection - new collection on which to set the valuevalue - new value for : text
public Configuration getConfiguration()
getConfiguration in interface ConfiguredCollectionConfiguredCollection.getConfiguration()public static PropertyCollection getConfiguration(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public Configuration setConfiguration(Configuration setValue)
setConfiguration in interface ConfiguredCollectionsetValue - new configuration
ConfiguredCollection.setConfiguration(org.deduced.Configuration)
public static PropertyCollection setConfiguration(PropertyCollection collection,
PropertyCollection value)
collection - new collection on which to set the valuevalue - new value for : configuration
public Language getLanguage()
getLanguage in interface AbstractLanguageCollectionAbstractLanguageCollection.getLanguage()public static PropertyCollection getLanguage(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public Language setLanguage(Language setValue)
setLanguage in interface AbstractLanguageCollectionsetValue - new language
AbstractLanguageCollection.setLanguage(org.deduced.text.Language)
public static PropertyCollection setLanguage(PropertyCollection collection,
PropertyCollection value)
collection - new collection on which to set the valuevalue - new value for : language
public boolean equals(java.lang.Object o)
equals in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>Object.equals(java.lang.Object)public java.lang.Object clone()
clone in interface PropertyCollection<java.lang.Object,java.lang.Object>clone in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>AbstractPropertyCollection.clone()
public java.lang.Object setProperty(java.lang.Object key,
java.lang.Object value)
setProperty in interface PropertyCollection<java.lang.Object,java.lang.Object>setProperty in class FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object>key - the key of the propertyvalue - the new value of the property. If the property is a
collection that is not by reference, this method requires that
the passed collection has a parent set to null since it will
reset the parent.
PropertyCollection.setProperty(java.lang.Object,java.lang.Object)public java.lang.Object getPropertyValue(java.lang.Object key)
getPropertyValue in interface PropertyCollection<java.lang.Object,java.lang.Object>key - the property key
PropertyCollection.getPropertyValue(java.lang.Object)public static void resetListFixedInstances(MultilanguageTextBuilder instance)
instance - the instance that will get all its list fixed instances setpublic static void createInstancesAndTypes()
public static void fillInstancesAndTypesFromSchema(PropertyCollection<?,?> schema)
schema - the schema that contains the required instances and typespublic static void fillInstancesAndTypes()
public static void fillTypeLists()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||