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

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

Introduction

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

Prototype

int VALUE_TYPE_EMBEDDED_PATH

To view the source code for javax.xml.registry.infomodel ClassificationScheme VALUE_TYPE_EMBEDDED_PATH.

Click Source Link

Document

Each taxonomy value in ClassificationScheme embeds the full path from scheme to that Concept.

Usage

From source file:it.cnr.icar.eric.client.ui.thin.RegistryObjectCollectionBean.java

public List<SelectItem> getValueTypes() {
    ArrayList<SelectItem> list = new ArrayList<SelectItem>();
    list.add(new SelectItem((new Integer(ClassificationScheme.VALUE_TYPE_UNIQUE)),
            WebUIResourceBundle.getInstance().getString("unique")));
    list.add(new SelectItem((new Integer(ClassificationScheme.VALUE_TYPE_EMBEDDED_PATH)),
            WebUIResourceBundle.getInstance().getString("embeddedPath")));
    list.add(new SelectItem((new Integer(ClassificationScheme.VALUE_TYPE_NON_UNIQUE)),
            WebUIResourceBundle.getInstance().getString("nonUnique")));
    return list;/*w  w w  .j  a v a2s  . c  om*/
}