Example usage for javax.xml.registry.infomodel Service setName

List of usage examples for javax.xml.registry.infomodel Service setName

Introduction

In this page you can find the example usage for javax.xml.registry.infomodel Service setName.

Prototype

void setName(InternationalString name) throws JAXRException;

Source Link

Document

Sets user-friendly name of object in repository.

Usage

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

/**
 * Create an Service instance using the specified parameters.
 * /* w  ww. j a  v  a 2 s  .  co m*/
 * 
 * <p>
 * <DL>
 * <DT><B>Capability Level: 0 </B>
 * </DL>
 * 
 */
public Service createService(InternationalString name) throws JAXRException {
    Service service = new ServiceImpl(this);
    service.setName(name);

    return service;
}