Package com.iizix.server.app
Class VirtualizedItem<PROPCNR extends PropCnr>
java.lang.Object
com.iizix.server.app.VirtualizedItem<PROPCNR>
Data container for a virtualized property container.
- Author:
- Christopher Mindus
- Field SummaryFields
- Constructor SummaryConstructorsConstructorDescription- VirtualizedItem- (String reference, PROPCNR virtualizedProperty, PROPCNR originalProperty, long sequenceNumber) Constructor.
- Method SummaryModifier and TypeMethodDescription- <GP extends IGProp<?>>
 GP- getOriginalChild- (GP virtualizedChild) Gets the original child property from a property located in the virtualized property container.- <GP extends GProp<?>>
 GP- getVirtualChild- (GP originalChild) Gets the virtualized child property from a property located in the original property container.
- Field Details- referenceThe reference property name, same as- originalProperty.getReferencePropName().
- fullPathNameThe full path name of the property.
- virtualizedPropertyThe virtualized property. The Atom name of this property should not be used as it reflects the unique name in the flat structure of the virtuals container.
- originalPropertyThe original property.
- sequenceNumberpublic final long sequenceNumberThe sequence number.
 
- Constructor Details- VirtualizedItempublic VirtualizedItem- (String reference, PROPCNR virtualizedProperty, PROPCNR originalProperty, long sequenceNumber) Constructor.- Parameters:
- reference- The reference property name.
- virtualizedProperty- The virtualized property.
- originalProperty- The original property.
- sequenceNumber- The sequence number.
 
 
- Method Details- getVirtualChildGets the virtualized child property from a property located in the original property container.- If the - originalChildis not a child of- originalPropertya warning is logged.- Parameters:
- originalChild- The original child, child of- originalProperty.
- Returns:
- The virtualized child that corresponds, nullfor no match. This can happen when the virtual property tree has been modified. If a property with the same path is found, but not with the same property class,nullis returned.
 
- getOriginalChildGets the original child property from a property located in the virtualized property container.- If the - virtualizedChildis not a child of- virtualizedPropertya warning is logged.- Parameters:
- virtualizedChild- The virtualized child, child of- virtualizedProperty.
- Returns:
- The original child that corresponds, nullfor no match. This can happen when the virtual property tree has been modified. If a property with the same path is found, but not with the same property class,nullis returned.