Package org.nuxeo.ecm.core.storage.sql
Class SimpleProperty
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.BaseProperty
-
- org.nuxeo.ecm.core.storage.sql.SimpleProperty
-
public class SimpleProperty extends BaseProperty
A SimpleProperty gives access to a scalar value stored in an underlyingSimpleFragment
.- Author:
- Florent Guillaume
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
name, type
-
-
Constructor Summary
Constructors Constructor Description SimpleProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
Creates a SimpleProperty, with specific info about row and key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getLong()
String
getString()
Serializable
getValue()
void
setValue(Object value)
-
Methods inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
checkWritable, getName, refresh, remove, save
-
-
-
-
Constructor Detail
-
SimpleProperty
public SimpleProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
Creates a SimpleProperty, with specific info about row and key.
-
-
Method Detail
-
getValue
public Serializable getValue()
-
getString
public String getString()
-
getLong
public Long getLong()
-
setValue
public void setValue(Object value)
-
-