javax.xml.registry.infomodel

Interface ClassificationScheme

  • All Superinterfaces:
    ExtensibleObject, RegistryEntry, RegistryObject, Versionable

    public interface ClassificationScheme
    extends RegistryEntry
    A ClassificationScheme instance represents a taxonomy that may be used to classify or categorize RegistryObject instances. A very common example of a classification scheme in science is the Classification of living things where living things are categorized in under a tree like structure. Another example is the Dewey Decimal system used in libraries to categorize books and other publications. A common example in eBusiness is that of North American Industry Classification System (NAICS), which is a classification scheme used to classify businesses and services by the industry to which they belong.

    Figure 1 shows how a ClassificationScheme is used by a Classification to classify a RegistryObject.

    Using a ClassificationScheme to Classify an Object
    Figure 1. Using a ClassificationScheme to Classify an Object
    • Field Detail

      • VALUE_TYPE_UNIQUE

        static final int VALUE_TYPE_UNIQUE
        Each taxonomy value in ClassificationScheme is unique.
        See Also:
        Constant Field Values
      • VALUE_TYPE_EMBEDDED_PATH

        static final int VALUE_TYPE_EMBEDDED_PATH
        Each taxonomy value in ClassificationScheme embeds the full path from scheme to that Concept. This also implies that each taxonomy value is unique.
        See Also:
        Constant Field Values
      • VALUE_TYPE_NON_UNIQUE

        static final int VALUE_TYPE_NON_UNIQUE
        Taxonomy values in ClassificationScheme may be repeated within the same scheme. However, two Concepts that have the same parent cannot have the same value.
        See Also:
        Constant Field Values
    • Method Detail

      • 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
      • isExternal

        boolean isExternal()
                    throws JAXRException
        Determines whether this ClassificationScheme is an external ClassificationScheme or an internal ClassificationScheme.

        Capability Level: 0
        Returns:
        trueif this is an external ClassificationScheme; false otherwise
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getValueType

        int getValueType()
                  throws JAXRException
        Gets the value type for this object. The value type describes how taxonomy values are defined within the scheme.

        Capability Level: 1
        Returns:
        an integer constant that describes the type of values supported by this ClassificationScheme
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        VALUE_TYPE_UNIQUE, VALUE_TYPE_EMBEDDED_PATH, VALUE_TYPE_NON_UNIQUE

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/xml/registry/infomodel/ClassificationScheme.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com, ClassificationScheme (Java(TM) EE 7 Specification APIs)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.