Class LocalizationBundleDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asresourcedata.data.LocalizationBundleDocument
-
- All Implemented Interfaces:
Serializable,Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,LocalizationBundle,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class LocalizationBundleDocument extends net.anotheria.asg.data.AbstractASGDocument implements LocalizationBundle, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLED
-
Fields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER
-
Fields inherited from interface net.anotheria.anosite.gen.asresourcedata.data.LocalizationBundle
LINK_PROP_PARENT_BUNDLE, PROP_ID, PROP_MESSAGES_DE, PROP_MESSAGES_EN, PROP_NAME
-
-
Constructor Summary
Constructors Constructor Description LocalizationBundleDocument()LocalizationBundleDocument(String id)LocalizationBundleDocument(LocalizationBundleDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(LocalizationBundle comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)voidcopyDE2EN()Copies all multilingual properties from language DE to language ENvoidcopyEN2DE()Copies all multilingual properties from language EN to language DEvoidcopyLANG2LANG(String sourceLanguage, String destLanguage)Copies all multilingual properties from source language to destination languagebooleanequals(Object o)StringgetDefinedName()StringgetDefinedParentName()StringgetFootprint()StringgetMessages()Returns the current value of the messages attribute.StringgetMessagesDE()Returns the value of the messages attribute in the "DE" domain.StringgetMessagesEN()Returns the value of the messages attribute in the "EN" domain.StringgetName()Returns the value of the name attribute.StringgetParentBundle()Returns the value of the parentBundle attribute.booleanisMultilingualDisabledInstance()voidsetMessages(String value)Sets the value of the messages attribute in the current domain.voidsetMessagesDE(String value)Sets the value of the messages attribute in the domain "DE"voidsetMessagesEN(String value)Sets the value of the messages attribute in the domain "EN"voidsetMultilingualDisabledInstance(boolean value)voidsetName(String value)Sets the value of the name attribute.voidsetParentBundle(String value)Sets the value of the parentBundle attribute.StringtoString()-
Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime
-
Methods inherited from class net.anotheria.anodoc.data.Document
addDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNode
-
-
-
-
Constructor Detail
-
LocalizationBundleDocument
public LocalizationBundleDocument()
-
LocalizationBundleDocument
public LocalizationBundleDocument(String id)
-
LocalizationBundleDocument
public LocalizationBundleDocument(LocalizationBundleDocument toClone)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:LocalizationBundleReturns the value of the name attribute.- Specified by:
getNamein interfaceLocalizationBundle
-
setName
public void setName(String value)
Description copied from interface:LocalizationBundleSets the value of the name attribute.- Specified by:
setNamein interfaceLocalizationBundle
-
getMessagesEN
public String getMessagesEN()
Description copied from interface:LocalizationBundleReturns the value of the messages attribute in the "EN" domain.- Specified by:
getMessagesENin interfaceLocalizationBundle
-
getMessagesDE
public String getMessagesDE()
Description copied from interface:LocalizationBundleReturns the value of the messages attribute in the "DE" domain.- Specified by:
getMessagesDEin interfaceLocalizationBundle
-
getMessages
public String getMessages()
Description copied from interface:LocalizationBundleReturns the current value of the messages attribute. Current means in the currently selected domain.- Specified by:
getMessagesin interfaceLocalizationBundle
-
setMessagesEN
public void setMessagesEN(String value)
Description copied from interface:LocalizationBundleSets the value of the messages attribute in the domain "EN"- Specified by:
setMessagesENin interfaceLocalizationBundle
-
setMessagesDE
public void setMessagesDE(String value)
Description copied from interface:LocalizationBundleSets the value of the messages attribute in the domain "DE"- Specified by:
setMessagesDEin interfaceLocalizationBundle
-
setMessages
public void setMessages(String value)
Description copied from interface:LocalizationBundleSets the value of the messages attribute in the current domain. Current means in the currently selected domain.- Specified by:
setMessagesin interfaceLocalizationBundle
-
getParentBundle
public String getParentBundle()
Description copied from interface:LocalizationBundleReturns the value of the parentBundle attribute.- Specified by:
getParentBundlein interfaceLocalizationBundle
-
setParentBundle
public void setParentBundle(String value)
Description copied from interface:LocalizationBundleSets the value of the parentBundle attribute.- Specified by:
setParentBundlein interfaceLocalizationBundle
-
toString
public String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
compareTo
public int compareTo(LocalizationBundle comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
public void copyLANG2LANG(String sourceLanguage, String destLanguage)
Description copied from interface:LocalizationBundleCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceLocalizationBundle
-
copyEN2DE
public void copyEN2DE()
Copies all multilingual properties from language EN to language DE- Specified by:
copyEN2DEin interfaceLocalizationBundle
-
copyDE2EN
public void copyDE2EN()
Copies all multilingual properties from language DE to language EN- Specified by:
copyDE2ENin interfaceLocalizationBundle
-
isMultilingualDisabledInstance
public boolean isMultilingualDisabledInstance()
- Specified by:
isMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
setMultilingualDisabledInstance
public void setMultilingualDisabledInstance(boolean value)
- Specified by:
setMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
-