org.jminor.framework.domain
Interface Property.DerivedProperty

All Superinterfaces:
Attribute, Property, Property.TransientProperty
Enclosing interface:
Property

public static interface Property.DerivedProperty
extends Property.TransientProperty

A property which value is derived from the values of one or more properties. For the property to be updated when the parent properties are you must link the properties together using the addLinkedPropertyIDs()method.


Nested Class Summary
static interface Property.DerivedProperty.Provider
          Responsible for providing values derived from other values
 
Nested classes/interfaces inherited from interface org.jminor.framework.domain.Property
Property.AuditProperty, Property.AuditTimeProperty, Property.AuditUserProperty, Property.BlobProperty, Property.BooleanProperty, Property.ColumnProperty, Property.DenormalizedProperty, Property.DenormalizedViewProperty, Property.DerivedProperty, Property.ForeignKeyProperty, Property.MirrorProperty, Property.PrimaryKeyProperty, Property.SearchableProperty, Property.SubqueryProperty, Property.TransientProperty, Property.ValueListProperty
 
Method Summary
 List<String> getLinkedPropertyIDs()
           
 Property.DerivedProperty.Provider getValueProvider()
           
 
Methods inherited from interface org.jminor.framework.domain.Property
getDefaultValue, getEntityID, getFormat, getMax, getMaximumFractionDigits, getMaxLength, getMin, getMnemonic, getParentProperty, getPreferredColumnWidth, getPropertyID, getType, hasParentProperty, is, is, isBoolean, isCharacter, isDate, isDouble, isHidden, isInteger, isNullable, isNumerical, isReadOnly, isString, isTime, isTimestamp, isType, setDefaultValue, setDescription, setEntityID, setFormat, setHidden, setMax, setMaximumFractionDigits, setMaxLength, setMin, setMnemonic, setNullable, setParentProperty, setPreferredColumnWidth, setReadOnly, setUseNumberFormatGrouping
 
Methods inherited from interface org.jminor.common.model.Attribute
getCaption, getDescription, getTypeClass, hasDescription
 

Method Detail

getLinkedPropertyIDs

List<String> getLinkedPropertyIDs()
Returns:
the IDs of properties that should trigger a change event for this property

getValueProvider

Property.DerivedProperty.Provider getValueProvider()
Returns:
the value provider, providing the derived value