org.nuxeo.ecm.core.storage.sql
Class BaseProperty
java.lang.Object
org.nuxeo.ecm.core.storage.sql.BaseProperty
- Direct Known Subclasses:
- CollectionProperty, SimpleProperty
public abstract class BaseProperty
- extends Object
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
type
public final PropertyType type
- The property type.
BaseProperty
public BaseProperty(String name,
PropertyType type,
boolean readonly)
- Creates a Property.
getName
public String getName()
refresh
public void refresh(boolean keepChanges)
throws StorageException
- Throws:
StorageException
remove
public void remove()
throws StorageException
- Throws:
StorageException
save
public void save()
throws StorageException
- Throws:
StorageException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.