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

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

Introduction

In this page you can find the example usage for javax.xml.registry.infomodel Concept 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 setParentConcept(Concept c) throws JAXRException {
    if ((parentRef == null) || (!(parentRef.getId().equals(c.getKey().getId())))) {
        parentRef = new RegistryObjectRef(lcm, c);
        c.addChildConcept(this);

        setModified(true);//  w ww .  j  a v a  2  s.co m
    }
}