Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql
Class SimpleProperty

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.BaseProperty
      extended by org.nuxeo.ecm.core.storage.sql.SimpleProperty

public class SimpleProperty
extends BaseProperty

A SimpleProperty gives access to a scalar value stored in an underlying SimpleFragment.

Author:
Florent Guillaume

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
type
 
Constructor Summary
SimpleProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
          Creates a SimpleProperty, with specific info about row and key.
 
Method Summary
 Long getLong()
           
 String getString()
           
 Serializable getValue()
           
 void setValue(Serializable value)
           
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
getName, refresh, remove, save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()
                      throws StorageException
Throws:
StorageException

getString

public String getString()
                 throws StorageException
Throws:
StorageException

getLong

public Long getLong()
             throws StorageException
Throws:
StorageException

setValue

public void setValue(Serializable value)
              throws StorageException
Throws:
StorageException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.