Class SReferenceBase

    • Field Detail

      • myImmatureTargetNode

        protected volatile SNode myImmatureTargetNode
    • Method Detail

      • getTargetSModelReference

        public abstract SModelReference getTargetSModelReference()
        Description copied from interface: SReference
        The following two operations are defined only for references which can instantly respond to the request (e.g. they store the target model reference and/or node id as a part of the reference).
        Specified by:
        getTargetSModelReference in interface SReference
        Specified by:
        getTargetSModelReference in class SReference
        Returns:
        target model reference (if available)
      • isDirect

        public boolean isDirect()
      • makeIndirect

        public final boolean makeIndirect​(boolean force)
        It's possible to make reference 'mature' iff both its source and target nodes belong to a model. It's not clear what if these models are not attached to a repository, why would we care to make reference 'indirect' in this case.
        Returns:
        true when/if reference became 'mature' (i.e. doesn't have target node object but its identity)
      • makeMature

        protected void makeMature()