Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.api.model.impl.osm
Class ObjectProperty

java.lang.Object
  extended by org.nuxeo.ecm.core.api.model.impl.AbstractProperty
      extended by org.nuxeo.ecm.core.api.model.impl.ComplexProperty
          extended by org.nuxeo.ecm.core.api.model.impl.MapProperty
              extended by org.nuxeo.ecm.core.api.model.impl.osm.ComplexMemberProperty
                  extended by org.nuxeo.ecm.core.api.model.impl.osm.ObjectProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Property>, java.util.Map<java.lang.String,Property>, Adaptable, Property
Direct Known Subclasses:
BlobProperty

public class ObjectProperty
extends ComplexMemberProperty

Phantom properties are not stored as children objects.

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.model.impl.AbstractProperty
IS_READONLY, IS_VALIDATING, KEYED_DATA
 
Fields inherited from interface org.nuxeo.ecm.core.api.model.Property
DIRTY_MASK, IS_DIRTY, IS_MODIFIED, IS_MOVED, IS_NEW, IS_PHANTOM, IS_REMOVED, NONE
 
Constructor Summary
ObjectProperty(ObjectAdapter adapter, Property parent, Field field)
           
ObjectProperty(ObjectAdapter adapter, Property parent, Field field, int flags)
           
 
Method Summary
 java.lang.Object clone()
           
 java.io.Serializable internalGetValue()
           
 void internalSetValue(java.io.Serializable value)
          Sets the given normalized value.
 
Methods inherited from class org.nuxeo.ecm.core.api.model.impl.osm.ComplexMemberProperty
getAdapter, getValueForWrite, init, isContainer, isSameAs, setValue
 
Methods inherited from class org.nuxeo.ecm.core.api.model.impl.MapProperty
accept, getField, getName, getType
 
Methods inherited from class org.nuxeo.ecm.core.api.model.impl.ComplexProperty
addEmpty, addValue, addValue, clear, containsKey, containsValue, entrySet, get, get, get, getChild, getChildren, getDirtyChildren, getNonPhantomChild, getNonPhantomChildren, isEmpty, isNormalized, keySet, normalize, put, putAll, remove, values
 
Methods inherited from class org.nuxeo.ecm.core.api.model.impl.AbstractProperty
areFlagsSet, clearDirtyFlags, clearFlags, convertTo, getData, getData, getDirtyFlags, getParent, getPath, getRoot, getSchema, getValue, getValue, getValue, getValue, isComplex, isDirty, isList, isModified, isMoved, isNew, isPhantom, isReadOnly, isRemoved, isScalar, isValidating, iterator, moveTo, newInstance, remove, removePhantomFlag, resolvePath, resolvePath, setData, setData, setFlags, setIsModified, setReadOnly, setValidating, setValue, setValue, size, toString, validate, validateType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, size
 

Constructor Detail

ObjectProperty

public ObjectProperty(ObjectAdapter adapter,
                      Property parent,
                      Field field)

ObjectProperty

public ObjectProperty(ObjectAdapter adapter,
                      Property parent,
                      Field field,
                      int flags)
Method Detail

internalGetValue

public java.io.Serializable internalGetValue()
                                      throws PropertyException
Overrides:
internalGetValue in class ComplexMemberProperty
Throws:
PropertyException

internalSetValue

public void internalSetValue(java.io.Serializable value)
                      throws PropertyException
Description copied from class: AbstractProperty
Sets the given normalized value.

This applies only for nodes that physically store a value (that means non container nodes). Container nodes does nothing.

Overrides:
internalSetValue in class ComplexMemberProperty
Throws:
PropertyException

clone

public final java.lang.Object clone()
                             throws java.lang.CloneNotSupportedException
Overrides:
clone in class MapProperty
Throws:
java.lang.CloneNotSupportedException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.