Package com.hp.ucmdb.api.view
Interface ViewVersion
- All Superinterfaces:
Comparable<ViewVersion>,Serializable
- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionasString()The string representation of this version.intcompareTo(ViewVersion viewVersion) Compares to another view version (followingComparablerules).intCompares to another view version string (followingComparablerules).
-
Method Details
-
asString
String asString()The string representation of this version.- Returns:
- the string representation of this version.
-
compareTo
Compares to another view version (followingComparablerules). No check is done regarding the view name.- Specified by:
compareToin interfaceComparable<ViewVersion>- Parameters:
viewVersion- the view version.- Returns:
- a negative integer, zero, or a positive integer as this version is less than, equal to, or greater than the specified version.
-
compareTo
Compares to another view version string (followingComparablerules). No check is done regarding the view name.- Parameters:
viewDefinitionVersionAsString- the view versionasString()result.- Returns:
- a negative integer, zero, or a positive integer as this version is less than, equal to, or greater than the specified version.
- Throws:
IllegalArgumentException- if the given string cannot be parsed to a version object.
-