|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deduced.AbstractPropertyCollection<K,V> org.deduced.FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object> org.deduced.text.implementation.MultilanguageTextConfigurationImplementation
public class MultilanguageTextConfigurationImplementation
Java Implementation used to represent the type : multi-language text configuration 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 java.lang.String |
defaultText
member variable holding the value for : default text |
static java.util.Set<java.lang.Object> |
KEY_SET
list of keys held in this collection |
private PropertyList |
languageSpecificTextConfigurationList
member variable holding the value for : language specific text configuration list |
private java.lang.String |
name
member variable holding the value for : name |
private PropertyCollectionType |
textBuilderType
member variable holding the value for : text builder type |
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.MultilanguageTextConfiguration |
---|
DEFAULT_TEXT_INSTANCE, LANGUAGE_SPECIFIC_TEXT_CONFIGURATION_LIST_INSTANCE, MULTILANGUAGE_TEXT_CONFIGURATION_TYPE |
Fields inherited from interface org.deduced.text.TextConfiguration |
---|
TEXT_BUILDER_TYPE_INSTANCE, TEXT_CONFIGURATION_TYPE |
Fields inherited from interface org.deduced.Configuration |
---|
CONFIGURATION_TYPE |
Fields inherited from interface org.deduced.NamedPropertyCollection |
---|
NAME_INSTANCE, NAMED_PROPERTY_COLLECTION_TYPE |
Fields inherited from interface org.deduced.PropertyCollection |
---|
PROPERTY_COLLECTION_TYPE |
Constructor Summary | |
---|---|
MultilanguageTextConfigurationImplementation()
Default constructor for the type : multi-language text configuration |
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 |
java.lang.String |
getDefaultText()
(non-Javadoc) |
static java.lang.String |
getDefaultText(PropertyCollection<?,?> collection)
Get the value of the instance : default text |
PropertyList |
getLanguageSpecificTextConfigurationList()
(non-Javadoc) |
static PropertyCollection |
getLanguageSpecificTextConfigurationList(PropertyCollection<?,?> collection)
Get the value of the instance : language specific text configuration list |
java.lang.String |
getName()
(non-Javadoc) |
static java.lang.String |
getName(PropertyCollection<?,?> collection)
Get the value of the instance : name |
java.lang.Object |
getPropertyValue(java.lang.Object key)
(non-Javadoc) |
PropertyCollectionType |
getTextBuilderType()
(non-Javadoc) |
static PropertyCollection |
getTextBuilderType(PropertyCollection<?,?> collection)
Get the value of the instance : text builder type |
static void |
resetListFixedInstances(MultilanguageTextConfiguration instance)
reset all the list fixed instances |
static java.lang.String |
setDefaultText(PropertyCollection collection,
java.lang.String value)
set the value of the instance : default text |
java.lang.String |
setDefaultText(java.lang.String setValue)
(non-Javadoc) |
static PropertyCollection |
setLanguageSpecificTextConfigurationList(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : language specific text configuration list |
PropertyList |
setLanguageSpecificTextConfigurationList(PropertyList setValue)
(non-Javadoc) |
static java.lang.String |
setName(PropertyCollection collection,
java.lang.String value)
set the value of the instance : name |
java.lang.String |
setName(java.lang.String setValue)
(non-Javadoc) |
java.lang.Object |
setProperty(java.lang.Object key,
java.lang.Object value)
(non-Javadoc) |
static PropertyCollection |
setTextBuilderType(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : text builder type |
PropertyCollectionType |
setTextBuilderType(PropertyCollectionType 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 defaultText
private PropertyList languageSpecificTextConfigurationList
private PropertyCollectionType textBuilderType
private java.lang.String name
Constructor Detail |
---|
public MultilanguageTextConfigurationImplementation()
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 getDefaultText()
getDefaultText
in interface MultilanguageTextConfiguration
MultilanguageTextConfiguration.getDefaultText()
public static java.lang.String getDefaultText(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public java.lang.String setDefaultText(java.lang.String setValue)
setDefaultText
in interface MultilanguageTextConfiguration
setValue
- new default text
MultilanguageTextConfiguration.setDefaultText(java.lang.String)
public static java.lang.String setDefaultText(PropertyCollection collection, java.lang.String value)
collection
- new collection on which to set the valuevalue
- new value for : default text
public PropertyList getLanguageSpecificTextConfigurationList()
getLanguageSpecificTextConfigurationList
in interface MultilanguageTextConfiguration
MultilanguageTextConfiguration.getLanguageSpecificTextConfigurationList()
public static PropertyCollection getLanguageSpecificTextConfigurationList(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyList setLanguageSpecificTextConfigurationList(PropertyList setValue)
setLanguageSpecificTextConfigurationList
in interface MultilanguageTextConfiguration
setValue
- new language specific text configuration list
MultilanguageTextConfiguration.setLanguageSpecificTextConfigurationList(org.deduced.PropertyList)
public static PropertyCollection setLanguageSpecificTextConfigurationList(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : language specific text configuration list
public PropertyCollectionType getTextBuilderType()
getTextBuilderType
in interface TextConfiguration
TextConfiguration.getTextBuilderType()
public static PropertyCollection getTextBuilderType(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyCollectionType setTextBuilderType(PropertyCollectionType setValue)
setTextBuilderType
in interface TextConfiguration
setValue
- new text builder type
TextConfiguration.setTextBuilderType(org.deduced.PropertyCollectionType)
public static PropertyCollection setTextBuilderType(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : text builder type
public java.lang.String getName()
getName
in interface NamedPropertyCollection
NamedPropertyCollection.getName()
public static java.lang.String getName(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public java.lang.String setName(java.lang.String setValue)
setName
in interface NamedPropertyCollection
setValue
- new name
NamedPropertyCollection.setName(java.lang.String)
public static java.lang.String setName(PropertyCollection collection, java.lang.String value)
collection
- new collection on which to set the valuevalue
- new value for : name
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(MultilanguageTextConfiguration 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 |