IT. Expert System.

Java Enterprise Edition (EE)

ClassificationScheme


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.

The figure below show 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)
          Add a child Concept
 void addChildConcepts(java.util.Collection concepts)
          Add a Collection of Concept children
 int getChildConceptCount()
          Get number of children
 java.util.Collection getChildrenConcepts()
          Get all immediate children Concepts
 java.util.Collection getDescendantConcepts()
          Get all descendant Concepts
 int getValueType()
          Get the value type for this object.
 boolean isExternal()
          Determines whether this ClassificationScheme is an external ClassificationScheme or and internal ClassificationScheme.
 void removeChildConcept(Concept concept)
          Remove a child Concept
 void removeChildConcepts(java.util.Collection concepts)
          Remove a Collection of children Concepts
 void setValueType(int valueType)
          Set 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.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
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

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
Add 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(java.util.Collection concepts)
                      throws JAXRException
Add 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
Remove 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(java.util.Collection concepts)
                         throws JAXRException
Remove 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
Get number of children

Capability Level: 0

Returns:
the number of children Concepts
Throws:
JAXRException - If the JAXR provider encounters an internal error

getChildrenConcepts

java.util.Collection getChildrenConcepts()
                                         throws JAXRException
Get 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

java.util.Collection getDescendantConcepts()
                                           throws JAXRException
Get 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 and 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
Get 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:
ClassificationScheme#VALUE_TYPE_UNIQUE, ClassificationScheme#VALUE_TYPE_EMBEDDED_PATH, ClassificationScheme#VALUE_TYPE_NON_UNIQUE

setValueType

void setValueType(int valueType)
                  throws JAXRException
Set the value type for this object.

Capability Level: 1

Parameters:
valueType - 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:
ClassificationScheme#VALUE_TYPE_UNIQUE, ClassificationScheme#VALUE_TYPE_EMBEDDED_PATH, ClassificationScheme#VALUE_TYPE_NON_UNIQUE


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1586 / . Delta: 0.04928 с