Package org.nuxeo.ecm.core.storage.sql
Class BaseProperty
java.lang.Object
org.nuxeo.ecm.core.storage.sql.BaseProperty
- Direct Known Subclasses:
CollectionProperty
,SimpleProperty
A
Property
gives access to a scalar or array value stored in an underlying table. This base class contains
common code.
When stored, the values are normalized to their standard type.
- Author:
- Florent Guillaume
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
The property name.final PropertyType
The property type. -
Constructor Summary
ConstructorDescriptionBaseProperty
(String name, PropertyType type, boolean readonly) Creates a Property. -
Method Summary
-
Field Details
-
name
The property name. -
type
The property type.
-
-
Constructor Details
-
BaseProperty
Creates a Property.
-
-
Method Details
-
getName
-
refresh
public void refresh(boolean keepChanges) -
remove
public void remove() -
save
public void save() -
checkWritable
protected void checkWritable()
-