public class IdVersionValueString extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IdVersionString |
id
Identifier and version part of the string.
|
protected String |
value
Value part of the string.
|
| Constructor and Description |
|---|
IdVersionValueString(String idv)
Returns a new id/version/value combined string.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getID()
Returns the identifier part of the string
|
String |
getValue()
Returns the value part of the string.
|
VersionString |
getVersion()
Returns the version part of the string.
|
Map<String,String> |
toMap()
Returns the string as a map using the key "id" for the identifier part, the key "version" for the version part and the key "value" for the value part.
|
protected IdVersionString id
protected String value
public IdVersionValueString(String idv)
idv - input stringIllegalArgumentException - if the input string was null, empty or of wrong formatpublic String getID()
public Map<String,String> toMap()
public VersionString getVersion()
public String getValue()
Copyright © 2010–2017. All rights reserved.