public interface VersionScheme
| Modifier and Type | Field and Description | 
|---|---|
static Map<Integer,VersionScheme> | 
byIndexMap  | 
static Map<String,VersionScheme> | 
byValueMap  | 
| Modifier and Type | Method and Description | 
|---|---|
static VersionScheme | 
assignPrivateVersionScheme(int indexValue,
                          String name)  | 
Integer | 
getIndex()  | 
String | 
getName()  | 
default void | 
init(Integer index,
    String value)
Initialize the mapping of version scheme index and text values. 
 | 
static VersionScheme | 
lookupByIndex(int value)
Lookup a version scheme by an index value.F 
 | 
static VersionScheme | 
lookupByName(String name)
Lookup a version scheme by a human-readable name. 
 | 
static final Map<String,VersionScheme> byValueMap
static final Map<Integer,VersionScheme> byIndexMap
Integer getIndex()
String getName()
default void init(Integer index, String value)
index - the index positionvalue - the human-readable valuestatic VersionScheme assignPrivateVersionScheme(int indexValue, String name)
static VersionScheme lookupByIndex(int value)
value - the index value to search fornull if no matching role was not found.static VersionScheme lookupByName(String name)
name - the name to lookupnull if no matching version scheme was not found.Copyright © 2020 National Institute of Standards and Technology. All rights reserved.