Example usage for javax.xml.registry.infomodel ClassificationScheme addChildConcept

List of usage examples for javax.xml.registry.infomodel ClassificationScheme addChildConcept

Introduction

In this page you can find the example usage for javax.xml.registry.infomodel ClassificationScheme addChildConcept.

Prototype

void addChildConcept(Concept concept) throws JAXRException;

Source Link

Document

Adds a child Concept.

Usage

From source file:it.cnr.icar.eric.client.xml.registry.infomodel.ConceptImpl.java

public void setClassificationScheme(ClassificationScheme c) throws JAXRException {
    if ((parentRef == null) || (!(parentRef.getId().equals(c.getKey().getId())))) {
        parentRef = new RegistryObjectRef(lcm, c);
        schemeRef = parentRef;//from   w  w  w . java  2 s.  co  m

        c.addChildConcept(this);

        setModified(true);
    }
}