Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.ecm.core.api.model.impl.AbstractProperty
      extended by org.nuxeo.ecm.core.api.model.impl.ScalarProperty
          extended by org.nuxeo.ecm.core.api.model.impl.osm.ScalarMemberProperty
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Property>, Property

public class ScalarMemberProperty
extends ScalarProperty

Author:
Bogdan Stefanescu
See Also:
Serialized Form

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
ScalarMemberProperty(Property parent, Field field)
           
ScalarMemberProperty(Property parent, Field field, int flags)
           
 
Method Summary
 Serializable internalGetValue()
           
 void internalSetValue(Serializable value)
          Sets the given normalized value.
 
Methods inherited from class org.nuxeo.ecm.core.api.model.impl.ScalarProperty
accept, addEmpty, addValue, addValue, clone, get, get, getChildren, getDirtyChildren, getField, getName, getType, isContainer, isSameAs, toString
 
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, getValueForWrite, init, isComplex, isDirty, isList, isModified, isMoved, isNew, isNormalized, isPhantom, isReadOnly, isRemoved, isScalar, isValidating, iterator, moveTo, newInstance, normalize, remove, removePhantomFlag, resolvePath, resolvePath, setData, setData, setFlags, setIsModified, setReadOnly, setValidating, setValue, setValue, setValue, size, validate, validateType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScalarMemberProperty

public ScalarMemberProperty(Property parent,
                            Field field)

ScalarMemberProperty

public ScalarMemberProperty(Property parent,
                            Field field,
                            int flags)
Method Detail

internalSetValue

public void internalSetValue(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 ScalarProperty
Throws:
PropertyException

internalGetValue

public Serializable internalGetValue()
                              throws PropertyException
Overrides:
internalGetValue in class ScalarProperty
Throws:
PropertyException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.