public interface ClassificationScheme
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.
| Field Summary | |
|---|---|
static int |
VALUE_TYPE_EMBEDDED_PATH
Each taxonomy value in ClassificationScheme embeds the full path from scheme to that Concept. |
static int |
VALUE_TYPE_NON_UNIQUE
Taxonomy values in ClassificationScheme may be repeated within the same scheme. |
static int |
VALUE_TYPE_UNIQUE
Each taxonomy value in ClassificationScheme is unique. |
| Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry |
|---|
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN |
| Method Summary | |
|---|---|
void |
addChildConcept(Concept concept)
Adds a child Concept. |
void |
addChildConcepts(Collection concepts)
Adds a Collection of Concept children. |
int |
getChildConceptCount()
Gets number of children. |
Collection |
getChildrenConcepts()
Gets all immediate children Concepts. |
Collection |
getDescendantConcepts()
Gets all descendant Concepts. |
int |
getValueType()
Gets the value type for this object. |
boolean |
isExternal()
Determines whether this ClassificationScheme is an external ClassificationScheme or an internal ClassificationScheme. |
void |
removeChildConcept(Concept concept)
Removes a child Concept. |
void |
removeChildConcepts(Collection concepts)
Removes a Collection of children Concepts. |
void |
setValueType(int valueType)
Sets the value type for this object. |
| Methods inherited from interface javax.xml.registry.infomodel.RegistryEntry |
|---|
getExpiration, getStability, getStatus, setExpiration, setStability |
| Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
|---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Methods inherited from interface javax.xml.registry.infomodel.Versionable |
|---|
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion |
| Field Detail |
|---|
static final int VALUE_TYPE_UNIQUE
static final int VALUE_TYPE_EMBEDDED_PATH
static final int VALUE_TYPE_NON_UNIQUE
| Method Detail |
|---|
void addChildConcept(Concept concept) throws JAXRException
concept - the concept being added as a child of this object
JAXRException - If the JAXR provider encounters an internal errorvoid addChildConcepts(Collection concepts) throws JAXRException
concepts - the Collection of Concepts being added as a children of this object
JAXRException - If the JAXR provider encounters an internal errorvoid removeChildConcept(Concept concept) throws JAXRException
concept - the concept being removed as a child Concept of this object
JAXRException - If the JAXR provider encounters an internal errorvoid removeChildConcepts(Collection concepts) throws JAXRException
concepts - the Collection of Concepts being removed as children Concepts of this object
JAXRException - If the JAXR provider encounters an internal error
int getChildConceptCount()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorCollection getChildrenConcepts() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorConceptCollection getDescendantConcepts() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorConcept
boolean isExternal()
throws JAXRException
trueif this is an external ClassificationScheme; false otherwise
JAXRException - If the JAXR provider encounters an internal error
int getValueType()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorVALUE_TYPE_UNIQUE,
VALUE_TYPE_EMBEDDED_PATH,
VALUE_TYPE_NON_UNIQUE
void setValueType(int valueType)
throws JAXRException
valueType - an integer constant that describes the type of values supported by this ClassificationScheme
JAXRException - If the JAXR provider encounters an internal errorVALUE_TYPE_UNIQUE,
VALUE_TYPE_EMBEDDED_PATH,
VALUE_TYPE_NON_UNIQUECes informations proviennent du site de http://java.sun.com
Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :
Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.
Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.
Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.
Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.
Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.
Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.
8 mots clés dont 0 définis manuellement (plus d'information...).
Avertissement
Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.
Recherche (afficher)
Utilisateur (masquer)
Navigation (masquer)
Apparence (afficher)
Stats (afficher)
Citation (masquer)