javax.xml.registry.infomodel

Interface Concept

  • All Superinterfaces:
    ExtensibleObject, RegistryObject

    public interface Concept
    extends RegistryObject
    The Concept interface is used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy. Concept instances are used to define tree structures where the root of the tree is a ClassificationScheme instance and each node in the tree is a Concept instance. Two Concepts may be defined as being equivalent.

    Figure 1 shows how Concept instances are used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy.

    Using Concepts to Represent Taxonomy Elements
    Figure 1. Using Concepts to Represent Taxonomy Elements
    Author:
    Farrukh S. Najmi
    See Also:
    RegistryObject, Classification, ClassificationScheme
    • Method Detail

      • getValue

        String getValue()
                 throws JAXRException
        Gets the value (usually a code in a taxonomy) associated with this Concept.

        Capability Level: 0
        Returns:
        the value (usually a taxonomy value) associated with this Concept
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setValue

        void setValue(String value)
               throws JAXRException
        Sets the value (usually a taxonomy value) associated with this Concept.

        Capability Level: 0
        Parameters:
        value - the value (usually a taxonomy value) associated with this Concept
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addChildConcept

        void addChildConcept(Concept concept)
                      throws JAXRException
        Adds a child Concept.

        Capability Level: 0
        Parameters:
        concept - the concept being added as a child of this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addChildConcepts

        void addChildConcepts(Collection concepts)
                       throws JAXRException
        Adds a Collection of Concept children.

        Capability Level: 0
        Parameters:
        concepts - the Collection of Concepts being added as a children of this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeChildConcept

        void removeChildConcept(Concept concept)
                         throws JAXRException
        Removes a child Concept.

        Capability Level: 0
        Parameters:
        concept - the concept being removed as a child Concept of this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeChildConcepts

        void removeChildConcepts(Collection concepts)
                          throws JAXRException
        Removes a Collection of children Concepts.

        Capability Level: 0
        Parameters:
        concepts - the Collection of Concepts being removed as children Concepts of this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getChildConceptCount

        int getChildConceptCount()
                          throws JAXRException
        Gets number of children.

        Capability Level: 0
        Returns:
        the number of children Concepts
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getChildrenConcepts

        Collection getChildrenConcepts()
                                throws JAXRException
        Gets all immediate children Concepts.

        Capability Level: 0
        Returns:
        Collection of Concept instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Concept
      • getDescendantConcepts

        Collection getDescendantConcepts()
                                  throws JAXRException
        Gets all descendant Concepts.

        Capability Level: 0
        Returns:
        Collection of Concept instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Concept
      • getParentConcept

        Concept getParentConcept()
                          throws JAXRException
        Gets the parent Concept or null if parent is a ClassificationScheme.

        Capability Level: 0
        Returns:
        the Concept that is the parent of this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getClassificationScheme

        ClassificationScheme getClassificationScheme()
                                              throws JAXRException
        Gets the ClassificationScheme that this Concept is a descendent of.

        Capability Level: 0
        Returns:
        the ClassificationScheme that is the ancestor of this object. May return null
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getPath

        String getPath()
                throws JAXRException
        Gets the canonical path representation for this Concept.

        Capability Level: 0
        Returns:
        the canonical path String representing this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getParent

        RegistryObject getParent()
                          throws JAXRException
        Gets the parent Concept or ClassificationScheme for this object.

        Capability Level: 0
        Returns:
        the parent Concept or ClassificationScheme for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

20/08/2025 22:22:43 Cette version de la page est en cache (à la date du 20/08/2025 22:22:43) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/concept.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, Concept (Java(TM) EE 7 Specification APIs)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.