Class RegistryObjectImpl

    • Constructor Detail

      • RegistryObjectImpl

        public RegistryObjectImpl()
        Default constructor
      • RegistryObjectImpl

        public RegistryObjectImpl​(Key key)
        Utility constructor used when key is known
      • RegistryObjectImpl

        public RegistryObjectImpl​(Key key,
                                  String description,
                                  String name)
        Utility constructor used when key, name, and description are known
    • Method Detail

      • addAssociation

        public void addAssociation​(Association association)
                            throws JAXRException
        Adds specified Association to use this object as source.
        Specified by:
        addAssociation in interface RegistryObject
        Parameters:
        association - the Association being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addAssociations

        public void addAssociations​(Collection associations)
                             throws JAXRException
        Adds specified Associations to use this object as source. Treat null parameter as empty collection.
        Specified by:
        addAssociations in interface RegistryObject
        Parameters:
        associations - the Collection of Associations being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeAssociation

        public void removeAssociation​(Association association)
                               throws JAXRException
        Removes specified Association from this object.
        Specified by:
        removeAssociation in interface RegistryObject
        Parameters:
        association - the Association being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeAssociations

        public void removeAssociations​(Collection associations)
                                throws JAXRException
        Removes specified Associations from this object. Treat null parameter as empty collection.
        Specified by:
        removeAssociations in interface RegistryObject
        Parameters:
        associations - the Collection of Associations being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setAssociations

        public void setAssociations​(Collection associations)
                             throws JAXRException
        Replaces all previous Associations from this object with specified Associations. Treat null param as empty collection.
        Specified by:
        setAssociations in interface RegistryObject
        Parameters:
        associations - the Collection of Associations being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setAssociationsLoaded

        public void setAssociationsLoaded​(boolean loaded)
        Internal method to set if associations are loaded
      • areAssociationsLoaded

        public boolean areAssociationsLoaded()
        Internal method to check if associations are loaded
      • addClassifications

        public void addClassifications​(Collection classifications)
                                throws JAXRException
        Adds specified Classifications to this object. Treat null parameter as empty collection.
        Specified by:
        addClassifications in interface RegistryObject
        Parameters:
        classifications - the Collection of Classifications being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeClassifications

        public void removeClassifications​(Collection classifications)
                                   throws JAXRException
        Removes specified Classifications from this object. Treat null parameter as empty collection.
        Specified by:
        removeClassifications in interface RegistryObject
        Parameters:
        classifications - the Collection of Classifications being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setClassifications

        public void setClassifications​(Collection classifications)
                                throws JAXRException
        Replaces all previous Classifications with specified Classififications. Treat null param as empty collection.
        Specified by:
        setClassifications in interface RegistryObject
        Parameters:
        classifications - the Collection of Classifications being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addExternalIdentifiers

        public void addExternalIdentifiers​(Collection identifiers)
                                    throws JAXRException
        Adds specified ExternalIdentifiers to this object. Treat null parameter as empty collection.
        Specified by:
        addExternalIdentifiers in interface RegistryObject
        Parameters:
        identifiers - the Collection of ExternalIdentifiers being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeExternalIdentifiers

        public void removeExternalIdentifiers​(Collection externalIdentifiers)
                                       throws JAXRException
        Removes specified ExternalIdentifiers from this object. Treat null parameter as empty collection.
        Specified by:
        removeExternalIdentifiers in interface RegistryObject
        Parameters:
        externalIdentifiers - the Collection of ExternalIdentifiers being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setExternalIdentifiers

        public void setExternalIdentifiers​(Collection externalIdentifiers)
                                    throws JAXRException
        Replaces all previous ExternalIdentifiers with specified ExternalIdentifiers. Treat null param as empty collection.
        Specified by:
        setExternalIdentifiers in interface RegistryObject
        Parameters:
        externalIdentifiers - the Collection of ExternalIdentifiers being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addExternalLink

        public void addExternalLink​(ExternalLink link)
                             throws JAXRException
        Adds specified ExternalLink to this object. Can only be added to Organization, Concept, ClassificationScheme, and SpecificationLink.
        Specified by:
        addExternalLink in interface RegistryObject
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addExternalLinks

        public void addExternalLinks​(Collection links)
                              throws JAXRException
        Adds specified ExternalLinks to this object. Can only be added to Organization, Concept, ClassificationScheme, and SpecificationLink.
        Specified by:
        addExternalLinks in interface RegistryObject
        Parameters:
        links - the Collection of ExternalLinks being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeExternalLinks

        public void removeExternalLinks​(Collection externalLinks)
                                 throws JAXRException
        Removes specified ExternalLinks from this object. Treat null parameter as empty collection.
        Specified by:
        removeExternalLinks in interface RegistryObject
        Parameters:
        externalLinks - the Collection of ExternalLinks being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setExternalLinks

        public void setExternalLinks​(Collection links)
                              throws JAXRException
        Sets specified ExternalLinks to this object. Can only be added to Organization, Concept, ClassificationScheme, and SpecificationLink.
        Specified by:
        setExternalLinks in interface RegistryObject
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getDescription

        public InternationalString getDescription()
                                           throws JAXRException
        Gets the context independent textual description for this object. Description will not be null.
        Specified by:
        getDescription in interface RegistryObject
        Returns:
        the description for this object which must not be null
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getKey

        public Key getKey()
                   throws JAXRException
        Get registry key identifying this object
        Specified by:
        getKey in interface RegistryObject
        Returns:
        the Key for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setKey

        public void setKey​(Key key)
                    throws JAXRException
        Set registry key on this object
        Specified by:
        setKey in interface RegistryObject
        Parameters:
        key - the key for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getLifeCycleManager

        public LifeCycleManager getLifeCycleManager()
        Description copied from interface: RegistryObject
        Returns the LifeCycleManager that created this object.

        Capability Level: 0
        Specified by:
        getLifeCycleManager in interface RegistryObject
        Returns:
        the LifeCycleManager objet that created this object
      • setLifeCycleManager

        public void setLifeCycleManager​(LifeCycleManager manager)
        Internal method for setting manager when object is created
      • setServiceId

        public void setServiceId​(String serviceId)
      • getServiceId

        public String getServiceId()
      • setRegistryService

        public void setRegistryService​(RegistryService service)
      • setStatusFlags

        public void setStatusFlags​(boolean retrieved,
                                   boolean loaded,
                                   boolean isNew)
      • isLoaded

        public boolean isLoaded()
      • setIsLoaded

        public void setIsLoaded​(boolean loaded)
      • isRetrieved

        public boolean isRetrieved()
      • setIsRetrieved

        public void setIsRetrieved​(boolean retrieved)
      • isNew

        public boolean isNew()
      • setIsNew

        public void setIsNew​(boolean isNew)
      • isModified

        public boolean isModified()
      • setIsModified

        public void setIsModified​(boolean modified)
      • isDeleted

        public boolean isDeleted()
      • setIsDeleted

        public void setIsDeleted​(boolean deleted)
      • toXML

        public String toXML()
                     throws JAXRException
        Implementation may choose to throw an UnsupportedCapabilityException. Currently not implemented.
        Specified by:
        toXML in interface RegistryObject
        Returns:
        the String containing the XML representation for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getObjectType

        public Concept getObjectType()
                              throws JAXRException
        Level 1 method
        Specified by:
        getObjectType in interface RegistryObject
        Returns:
        the object type as a Concept within the pre-defined ClassificationScheme named ObjectType
        Throws:
        JAXRException - If the JAXR provider encounters an internal error