Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.coremodel
Class SQLSimpleProperty

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.coremodel.SQLBaseProperty
      extended by org.nuxeo.ecm.core.storage.sql.coremodel.SQLSimpleProperty
All Implemented Interfaces:
Property

public class SQLSimpleProperty
extends SQLBaseProperty

A SQLSimpleProperty gives access to a wrapped SQL-level SimpleProperty.

Author:
Florent Guillaume

Field Summary
static java.lang.String DC_ISSUED
           
 
Constructor Summary
SQLSimpleProperty(SimpleProperty property, Type type, boolean readonly)
          Creates a SQLSimpleProperty to wrap a SimpleProperty.
 
Method Summary
 java.lang.String getName()
          Gets the name used to identify this property by its container.
 java.io.Serializable getValue()
          Gets the value of this property.
 void setValue(java.lang.Object value)
          Sets the value of this property.
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.coremodel.SQLBaseProperty
checkWritable, getProperties, getProperty, getPropertyIterator, getType, isNull, isPropertySet, setNull
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DC_ISSUED

public static final java.lang.String DC_ISSUED
See Also:
Constant Field Values
Constructor Detail

SQLSimpleProperty

public SQLSimpleProperty(SimpleProperty property,
                         Type type,
                         boolean readonly)
Creates a SQLSimpleProperty to wrap a SimpleProperty.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: Property
Gets the name used to identify this property by its container.

If the container of this property is not supporting accessing properties by names, returns the empty string.

Returns:
the object name or the empty string if the object has no name

getValue

public java.io.Serializable getValue()
                              throws DocumentException
Description copied from interface: Property
Gets the value of this property.

Returns:
this property's value
Throws:
DocumentException

setValue

public void setValue(java.lang.Object value)
              throws DocumentException
Description copied from interface: Property
Sets the value of this property.

Parameters:
value - the value to set
Throws:
DocumentException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.