Package net.anotheria.anodoc.data
Class TextProperty
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Property
-
- net.anotheria.anodoc.data.StringProperty
-
- net.anotheria.anodoc.data.TextProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,IBasicStoreableObject,IPlainDataObject
public class TextProperty extends StringProperty
TextProperty is a derivative of a StringProperty which support full text search queries (if the underlying storage supports them too).- Version:
- $Id: $Id
- Author:
- another
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TextProperty(java.lang.String name)Creates a new TextProperty with given name and null value.TextProperty(java.lang.String name, java.lang.String value)Creates a new TextProperty with given name and value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyTypegetPropertyType()getPropertyType.-
Methods inherited from class net.anotheria.anodoc.data.StringProperty
cloneValue, equals, getSizeInBytes, getString, setString, setValue
-
Methods inherited from class net.anotheria.anodoc.data.Property
clone, cloneAs, getName, getStorageId, getValue, toString, toXMLNode
-
Methods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setId
-
-
-
-
Constructor Detail
-
TextProperty
public TextProperty(java.lang.String name)
Creates a new TextProperty with given name and null value.- Parameters:
name- aStringobject.
-
TextProperty
public TextProperty(java.lang.String name, java.lang.String value)Creates a new TextProperty with given name and value.- Parameters:
name- aStringobject.value- aStringobject.
-
-
Method Detail
-
getPropertyType
public PropertyType getPropertyType()
getPropertyType.
- Overrides:
getPropertyTypein classStringProperty- Returns:
- a
PropertyTypeobject.
-
-