com.alee.managers.language.data
Class Dictionary
java.lang.Object
com.alee.managers.language.data.Dictionary
- All Implemented Interfaces:
- java.io.Serializable
public final class Dictionary
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Mikle Garin
- See Also:
- Serialized Form
Constructor Summary |
Dictionary()
|
Dictionary(java.lang.String prefix)
|
Dictionary(java.lang.String prefix,
java.lang.String name)
|
Dictionary(java.lang.String prefix,
java.lang.String name,
java.lang.String author)
|
Dictionary(java.lang.String prefix,
java.lang.String name,
java.lang.String author,
java.lang.String creationDate)
|
Dictionary(java.lang.String prefix,
java.lang.String name,
java.lang.String author,
java.lang.String creationDate,
java.lang.String notes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Dictionary
public Dictionary()
Dictionary
public Dictionary(java.lang.String prefix)
Dictionary
public Dictionary(java.lang.String prefix,
java.lang.String name)
Dictionary
public Dictionary(java.lang.String prefix,
java.lang.String name,
java.lang.String author)
Dictionary
public Dictionary(java.lang.String prefix,
java.lang.String name,
java.lang.String author,
java.lang.String creationDate)
Dictionary
public Dictionary(java.lang.String prefix,
java.lang.String name,
java.lang.String author,
java.lang.String creationDate,
java.lang.String notes)
getId
public java.lang.String getId()
setId
public void setId()
setId
public void setId(java.lang.String id)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getPrefix
public java.lang.String getPrefix()
setPrefix
public void setPrefix(java.lang.String prefix)
getAuthor
public java.lang.String getAuthor()
setAuthor
public void setAuthor(java.lang.String author)
getCreationDate
public java.lang.String getCreationDate()
setCreationDate
public void setCreationDate(java.lang.String creationDate)
getNotes
public java.lang.String getNotes()
setNotes
public void setNotes(java.lang.String notes)
getRecords
public java.util.List<Record> getRecords()
setRecords
public void setRecords(java.util.List<Record> records)
getSubdictionaries
public java.util.List<Dictionary> getSubdictionaries()
setSubdictionaries
public void setSubdictionaries(java.util.List<Dictionary> subdictionaries)
getLanguageInfos
public java.util.List<LanguageInfo> getLanguageInfos()
setLanguageInfos
public void setLanguageInfos(java.util.List<LanguageInfo> languageInfos)
getLanguageInfo
public LanguageInfo getLanguageInfo(java.lang.String language)
addLanguageInfo
public void addLanguageInfo(LanguageInfo info)
addRecord
public Record addRecord(java.lang.String key,
java.lang.String language,
java.lang.String text)
addRecord
public Record addRecord(java.lang.String key,
java.lang.String language,
java.lang.Character mnemonic,
java.lang.String text)
addRecord
public Record addRecord(java.lang.String key,
Value... values)
addRecord
public Record addRecord(java.lang.String key,
java.util.List<Value> values)
addRecord
public Record addRecord(Record record)
removeRecord
public void removeRecord(Record record)
removeRecord
public void removeRecord(java.lang.String key)
removeLanguage
public void removeLanguage(java.lang.String language)
clear
public void clear()
size
public int size()
addSubdictionary
public void addSubdictionary(Dictionary dictionary)
removeSubdictionary
public void removeSubdictionary(Dictionary dictionary)
subdictionaries
public int subdictionaries()
getSupportedLanguages
public java.util.List<java.lang.String> getSupportedLanguages()
getSupportedLanguages
public java.util.List<java.lang.String> getSupportedLanguages(java.util.List<java.lang.String> languages)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object