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
  • Field Details

    • name

      protected final String name
      The property name.
    • type

      public final PropertyType type
      The property type.
  • Constructor Details

    • BaseProperty

      public BaseProperty(String name, PropertyType type, boolean readonly)
      Creates a Property.
  • Method Details

    • getName

      public String getName()
    • refresh

      public void refresh(boolean keepChanges)
    • remove

      public void remove()
    • save

      public void save()
    • checkWritable

      protected void checkWritable()