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

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

Introduction

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

Prototype

int VALUE_TYPE_NON_UNIQUE

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

Click Source Link

Document

Taxonomy values in ClassificationScheme may be repeated within the same scheme.

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;/*from ww  w .j  a va  2  s  . c  om*/
}