Class VSParticipantReference

    • Constructor Detail

      • VSParticipantReference

        public VSParticipantReference()
        Creates a VirtualSpace Participant property with no name and with a null value.
      • VSParticipantReference

        public VSParticipantReference​(Atom propertyAtom)
        Creates a VirtualSpace Participant property with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
      • VSParticipantReference

        public VSParticipantReference​(Atom propertyAtom,
                                      java.lang.String ref)
        Creates a VirtualSpace Participant property with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
        ref - the reference string of the participant.
    • Method Detail

      • getParticipant

        public IVSParticipant getParticipant()
        Gets the VirtualSpace participant instance for this reference.

        The method first attempts to use the resolved mechanism of getting the participant. If this has failed or has not been resolved yet, the property tree will be used to search for it. The latter is, of course, slower.

        Returns:
        The IVSParticipant instance, or null if not found.
      • doPostResolve

        protected boolean doPostResolve()
        Returns if resolving of this reference should be done in post- (true) or pre-stage (false).
        Overrides:
        doPostResolve in class AbstractReference<IVSParticipant>
        Returns:
        false to resolve the reference in the pre-stage.
      • getVirtualSpace

        public VirtualSpace getVirtualSpace()
        Gets the VirtualSpace.
        Returns:
        The VirtualSpace, null if property is not valid.
      • verify

        public boolean verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        Specified by:
        verify in interface IGProp<ReferenceString>
        Overrides:
        verify in class GProp<ReferenceString>
        Parameters:
        verification - The property verification class.
        Returns:
        true if verification should proceed, false if disposed of and verification should not take place.