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

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

Introduction

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

Prototype

int VALUE_TYPE_UNIQUE

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

Click Source Link

Document

Each taxonomy value in ClassificationScheme is unique.

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  o  m
}