org.nuiton.wikitty.entities
Class WikittyI18nDTO

java.lang.Object
  extended by org.nuiton.wikitty.entities.WikittyI18nDTO
All Implemented Interfaces:
Serializable, Cloneable, BusinessEntity, WikittyI18n

public class WikittyI18nDTO
extends Object
implements WikittyI18n

See Also:
Serialized Form

Field Summary
protected  Set<String> lang
           
protected  int modificationCount
           
protected  Set<String> translatableValues
           
protected  String translations
           
protected  String wikittyId
           
protected  String wikittyVersion
           
 
Fields inherited from interface org.nuiton.wikitty.entities.WikittyI18n
ELEMENT_FIELD_WIKITTYI18N_LANG, ELEMENT_FIELD_WIKITTYI18N_TRANSLATABLEVALUES, ELEMENT_FIELD_WIKITTYI18N_TRANSLATIONS, EXT_WIKITTYI18N, FIELD_WIKITTYI18N_LANG, FIELD_WIKITTYI18N_TRANSLATABLEVALUES, FIELD_WIKITTYI18N_TRANSLATIONS, FQ_FIELD_WIKITTYI18N_LANG, FQ_FIELD_WIKITTYI18N_TRANSLATABLEVALUES, FQ_FIELD_WIKITTYI18N_TRANSLATIONS
 
Constructor Summary
WikittyI18nDTO()
           
WikittyI18nDTO(String wikittyId)
           
 
Method Summary
 void addAllLang(Collection<String> lang)
           
 void addAllTranslatableValues(Collection<String> translatableValues)
           
 void addLang(String... element)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String property, PropertyChangeListener listener)
           
 void addTranslatableValues(String... element)
           
 void clearLang()
           
 void clearTranslatableValues()
           
 void copyFrom(BusinessEntity source)
           
 Collection<String> getExtensionFields(String ext)
           
 Collection<String> getExtensionNames()
           
 Object getField(String ext, String fieldName)
           
 Set<String> getLang()
           
 Set<String> getTranslatableValues()
           
 String getTranslation(String lang, String field)
           
 String getTranslations()
           
 String getWikittyId()
           
 String getWikittyVersion()
           
 void removeLang(String... element)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String property, PropertyChangeListener listener)
           
 void removeTranslatableValues(String... element)
           
 void setField(String ext, String fieldName, Object value)
           
 void setLang(Set<String> lang)
           
 void setTranslatableValues(Set<String> translatableValues)
           
 void setTranslation(String lang, String field, String trad)
           
 void setTranslations(String translations)
           
 void setWikittyId(String wikittyId)
           
 void setWikittyVersion(String wikittyVersion)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

translatableValues

protected Set<String> translatableValues

lang

protected Set<String> lang

translations

protected String translations

wikittyId

protected String wikittyId

modificationCount

protected int modificationCount

wikittyVersion

protected String wikittyVersion
Constructor Detail

WikittyI18nDTO

public WikittyI18nDTO()

WikittyI18nDTO

public WikittyI18nDTO(String wikittyId)
Method Detail

getTranslatableValues

public Set<String> getTranslatableValues()
Specified by:
getTranslatableValues in interface WikittyI18n

setTranslatableValues

public void setTranslatableValues(Set<String> translatableValues)
Specified by:
setTranslatableValues in interface WikittyI18n

addAllTranslatableValues

public void addAllTranslatableValues(Collection<String> translatableValues)
Specified by:
addAllTranslatableValues in interface WikittyI18n

addTranslatableValues

public void addTranslatableValues(String... element)
Specified by:
addTranslatableValues in interface WikittyI18n

removeTranslatableValues

public void removeTranslatableValues(String... element)
Specified by:
removeTranslatableValues in interface WikittyI18n

clearTranslatableValues

public void clearTranslatableValues()
Specified by:
clearTranslatableValues in interface WikittyI18n

getLang

public Set<String> getLang()
Specified by:
getLang in interface WikittyI18n

setLang

public void setLang(Set<String> lang)
Specified by:
setLang in interface WikittyI18n

addAllLang

public void addAllLang(Collection<String> lang)
Specified by:
addAllLang in interface WikittyI18n

addLang

public void addLang(String... element)
Specified by:
addLang in interface WikittyI18n

removeLang

public void removeLang(String... element)
Specified by:
removeLang in interface WikittyI18n

clearLang

public void clearLang()
Specified by:
clearLang in interface WikittyI18n

getTranslations

public String getTranslations()
Specified by:
getTranslations in interface WikittyI18n

setTranslations

public void setTranslations(String translations)
Specified by:
setTranslations in interface WikittyI18n

toString

public String toString()
Overrides:
toString in class Object

getWikittyId

public String getWikittyId()
Specified by:
getWikittyId in interface BusinessEntity

setWikittyId

public void setWikittyId(String wikittyId)

getWikittyVersion

public String getWikittyVersion()
Specified by:
getWikittyVersion in interface BusinessEntity

setWikittyVersion

public void setWikittyVersion(String wikittyVersion)
Specified by:
setWikittyVersion in interface BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(String property,
                                      PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(String property,
                                         PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface BusinessEntity

getExtensionFields

public Collection<String> getExtensionFields(String ext)
Specified by:
getExtensionFields in interface BusinessEntity

getExtensionNames

public Collection<String> getExtensionNames()
Specified by:
getExtensionNames in interface BusinessEntity

getField

public Object getField(String ext,
                       String fieldName)
Specified by:
getField in interface BusinessEntity

setField

public void setField(String ext,
                     String fieldName,
                     Object value)
Specified by:
setField in interface BusinessEntity

copyFrom

public void copyFrom(BusinessEntity source)
Specified by:
copyFrom in interface BusinessEntity

getTranslation

public String getTranslation(String lang,
                             String field)
Specified by:
getTranslation in interface WikittyI18n

setTranslation

public void setTranslation(String lang,
                           String field,
                           String trad)
Specified by:
setTranslation in interface WikittyI18n


Copyright © 2010-2012 CodeLutin. All Rights Reserved.