org.nakedobjects.metamodel.facets.properties.modify
Interface PropertyInitializationFacet

All Superinterfaces:
Facet
All Known Implementing Classes:
PropertyInitializationFacetAbstract, PropertyInitializationFacetViaSetterMethod

public interface PropertyInitializationFacet
extends Facet

The mechanism by which the value of the property can be initialised.

This differs from the PropertySetterFacet in that it is only called when object is set up (after persistence) and not every time a property changes; hence it will not be made part of a transaction.

In the standard Naked Objects Programming Model, corresponds to invoking the mutator method for a property.

See Also:
PropertyAccessorFacet, PropertySetterFacet, PropertyClearFacet

Method Summary
 void initProperty(NakedObject inObject, NakedObject value)
          Sets the value of this property.
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

initProperty

void initProperty(NakedObject inObject,
                  NakedObject value)
Sets the value of this property.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.