Class 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 Detail

      • name

        protected final String name
        The property name.
    • Constructor Detail

      • BaseProperty

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

      • getName

        public String getName()
      • refresh

        public void refresh​(boolean keepChanges)
      • remove

        public void remove()
      • save

        public void save()
      • checkWritable

        protected void checkWritable()