Package com.iizix.prop
Interface IReferencingGProp
- All Known Subinterfaces:
- IKStringHolder<VALUE>,- IKStringValuePropHolder<PROP_VALUE>
- All Known Implementing Classes:
- AbstractBaseRelativeReference,- AbstractFixedVirtualizedBaseRelativeReference,- AbstractReference,- AbstractUICompRelativeReference,- AssetReference,- AssetReferences,- BackgroundImageReference,- BadgeProp,- ContextMenuReference,- DatabaseTransactionReference,- EditorSelectorReference,- EditorVSFocusReference,- EditorVSOnUIEvent,- FixedVirtualizedAbstractReference,- ImageReference,- KStringProp,- LabelForReference,- PanelPartReference,- PatternProp,- PlainKStringProp,- ScreenActionReference,- ScreenFieldReference,- SelectorReference,- ServerConfigEnvReference,- StylesReferences,- TextTableReference,- TooltipProp,- ValueProp,- VSActionActorParticipant,- VSActionReference,- VSColumnReference,- VSComponentReference,- VSFieldReference,- VSFocusReference,- VSGroupReference,- VSOnUIEvent,- VSParticipant,- VSParticipantReference,- VSReference,- VSRelativeReference,- VSTableColumnReference,- VSTableReference,- WebServiceReference
public interface IReferencingGProp
Interface used for instances having references. Only properties having references to others MUST implement it. It is used for reference gathering, circular reference checking, etc. A property, MUST be a 
GProp<?>, that implements this instance is generally owned by a parent property (method getParent()), except some properties, e.g. the KStringProp itself when the parent is a TextTable.- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- default IGProp<?>Gets the single-referenced target.Gets the set of properties that this referencing property directly references.Gets the parent of this property.Gets the reference Type.- default IGProp<?>Gets the referencing owner property that might be the one being referenced rather than this property implementing the- IReferencingGPropinterface.- default booleanGets if this referencing property is of single-reference type or that can have between zero and many references.
- Method Details- getParentPropCnr getParent()Gets the parent of this property.- Returns:
- PropCnr The parent or null for none.
 
- getReferenceTypeIPropReference.IRefType getReferenceType()Gets the reference Type.- Returns:
- The reference type, generally a value from the enum IPropReference.RefType, otherwise a static final implementation of the reference type with locale support.
 
- getReferencingOwnerGets the referencing owner property that might be the one being referenced rather than this property implementing the- IReferencingGPropinterface.- Returns:
- The referencing owner property, or nullif not found or disposed of.
 
- isReferencingMultipleTargetsdefault boolean isReferencingMultipleTargets()Gets if this referencing property is of single-reference type or that can have between zero and many references.- The default is - false, i.e. one single reference.- Returns:
- trueif there are multiple references,- falseif there is just still one.
 
- getDirectReferencedTargetGets the single-referenced target. Referencing properties that can have multiple targets should ALWAYS return- nullfor this method and use the method- getDirectReferencedTargetSet()instead.- Returns:
- The referenced property, or nullfor none. The default is that this method returnsnullunless overridden.
 
- getDirectReferencedTargetSetGets the set of properties that this referencing property directly references. Referencing properties that only has a single target should ALWAYS return- nullfor this method and use the method- getDirectReferencedTarget()instead.- Returns:
- A set of properties, or nullfor none. The default is that this method returnsnullunless overridden.