Class TextResourceDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asresourcedata.data.TextResourceDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,TextResource,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class TextResourceDocument extends net.anotheria.asg.data.AbstractASGDocument implements TextResource, 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.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME
-
Fields inherited from interface net.anotheria.anosite.gen.asresourcedata.data.TextResource
PROP_ID, PROP_NAME, PROP_VALUE_EN
-
-
Constructor Summary
Constructors Constructor Description TextResourceDocument()TextResourceDocument(java.lang.String id)TextResourceDocument(TextResourceDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TextResource comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)voidcopyLANG2LANG(java.lang.String sourceLanguage, java.lang.String destLanguage)Copies all multilingual properties from source language to destination languagebooleanequals(java.lang.Object o)java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetFootprint()java.lang.StringgetName()Returns the value of the name attribute.java.lang.StringgetValue()Returns the current value of the value attribute.java.lang.StringgetValueEN()Returns the value of the value attribute in the "EN" domain.booleanisMultilingualDisabledInstance()voidsetMultilingualDisabledInstance(boolean value)voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetValue(java.lang.String value)Sets the value of the value attribute in the current domain.voidsetValueEN(java.lang.String value)Sets the value of the value attribute in the domain "EN"java.lang.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
-
TextResourceDocument
public TextResourceDocument()
-
TextResourceDocument
public TextResourceDocument(java.lang.String id)
-
TextResourceDocument
public TextResourceDocument(TextResourceDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:TextResourceReturns the value of the name attribute.- Specified by:
getNamein interfaceTextResource
-
setName
public void setName(java.lang.String value)
Description copied from interface:TextResourceSets the value of the name attribute.- Specified by:
setNamein interfaceTextResource
-
getValueEN
public java.lang.String getValueEN()
Description copied from interface:TextResourceReturns the value of the value attribute in the "EN" domain.- Specified by:
getValueENin interfaceTextResource
-
getValue
public java.lang.String getValue()
Description copied from interface:TextResourceReturns the current value of the value attribute. Current means in the currently selected domain.- Specified by:
getValuein interfaceTextResource
-
setValueEN
public void setValueEN(java.lang.String value)
Description copied from interface:TextResourceSets the value of the value attribute in the domain "EN"- Specified by:
setValueENin interfaceTextResource
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:TextResourceSets the value of the value attribute in the current domain. Current means in the currently selected domain.- Specified by:
setValuein interfaceTextResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
compareTo
public int compareTo(TextResource comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
public void copyLANG2LANG(java.lang.String sourceLanguage, java.lang.String destLanguage)Description copied from interface:TextResourceCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceTextResource
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-