Class AssociationImpl

    • Method Detail

      • isConfirmedBySourceOwner

        public boolean isConfirmedBySourceOwner()
                                         throws JAXRException
        Returns true if the association has been confirmed by the owner of the sourceObject. For intramural Associations always return true.
        Specified by:
        isConfirmedBySourceOwner in interface Association
        Returns:
        true if the association has been confirmed by the owner of the sourceObject; false otherwise. For intramural Associations always return true
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • isConfirmedByTargetOwner

        public boolean isConfirmedByTargetOwner()
                                         throws JAXRException
        Returns true if the association has been confirmed by the owner of the targetObject. For intramural Associations always return true.
        Specified by:
        isConfirmedByTargetOwner in interface Association
        Returns:
        true if the association has been confirmed by the owner of the targetObject; false otherwise. For intramural Associations always return true
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setIsConfirmedBySourceOwner

        public void setIsConfirmedBySourceOwner​(boolean confirmation)
                                         throws JAXRException
        Returns true if the association has been confirmed by the owner of the sourceObject. For intramural Associations always return true.
        Throws:
        JAXRException
      • setIsConfirmedByTargetOwner

        public void setIsConfirmedByTargetOwner​(boolean confirmation)
                                         throws JAXRException
        Returns true if the association has been confirmed by the owner of the targetObject. For intramural Associations always return true.
        Throws:
        JAXRException
      • getSourceObject

        public RegistryObject getSourceObject()
                                       throws JAXRException
        Gets the Object that is the source of this Association.
        Specified by:
        getSourceObject in interface Association
        Returns:
        The RegistryObject that is the source object of this Association
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setSourceObject

        public void setSourceObject​(RegistryObject srcObject)
                             throws JAXRException
        Sets the Object that is the source of this Association.
        Specified by:
        setSourceObject in interface Association
        Parameters:
        srcObject - the RegistryObject that is the source object of this Association
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getTargetObject

        public RegistryObject getTargetObject()
                                       throws JAXRException
        Gets the Object that is the target of this Association.
        Specified by:
        getTargetObject in interface Association
        Returns:
        The RegistryObject that is the target object of this Association
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setTargetObject

        public void setTargetObject​(RegistryObject targetObject)
                             throws JAXRException
        Sets the Object that is the target of this Association.
        Specified by:
        setTargetObject in interface Association
        Parameters:
        targetObject - the RegistryObject that is the target object of this Association
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getAssociationType

        public Concept getAssociationType()
                                   throws JAXRException
        Gets the predefined association type for this Association.
        Specified by:
        getAssociationType in interface Association
        Returns:
        The association type for this Association which is a Concept in the AssociationType ClassificationScheme
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setAssociationType

        public void setAssociationType​(Concept associationType)
                                throws JAXRException
        Sets the predefined association type for this Association.
        Specified by:
        setAssociationType in interface Association
        Parameters:
        associationType - the association type for this Association which is a Concept in the AssociationType ClassificationScheme
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • isExtramural

        public boolean isExtramural()
                             throws JAXRException
        Returns true if the sourceObject and targetObject are owned by two different Users. An Extramural Association must be made bilateral by the User that is not the creator of the Extramural Association, in order for it to be visible to third parties.
        Specified by:
        isExtramural in interface Association
        Returns:
        true if the sourceObject and/or the targetObject are owned by a User that is different from the User that created the Association; false otherwise
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setIsExtramural

        public void setIsExtramural​(boolean extramural)
                             throws JAXRException
        Returns true if the sourceObject and targetObject are owned by two different Users. An Extramural Association must be made bilateral by the User that is not the creator of the Extramural Association, in order for it to be visible to third parties.
        Throws:
        JAXRException