org.nuxeo.ecm.core.storage.sql
Class SimpleProperty
java.lang.Object
org.nuxeo.ecm.core.storage.sql.BaseProperty
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
Constructor Summary |
SimpleProperty(java.lang.String name,
PropertyType type,
boolean readonly,
SimpleFragment fragment,
java.lang.String key)
Creates a SimpleProperty, with specific info about row and key. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleProperty
public SimpleProperty(java.lang.String name,
PropertyType type,
boolean readonly,
SimpleFragment fragment,
java.lang.String key)
- Creates a SimpleProperty, with specific info about row and key.
getValue
public java.io.Serializable getValue()
throws StorageException
- Throws:
StorageException
getString
public java.lang.String getString()
throws StorageException
- Throws:
StorageException
getLong
public java.lang.Long getLong()
throws StorageException
- Throws:
StorageException
setValue
public void setValue(java.io.Serializable value)
throws StorageException
- Throws:
StorageException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.