com.hp.ucmdb.api.view
Interface ViewVersion

All Superinterfaces:
java.lang.Comparable<ViewVersion>, java.io.Serializable

public interface ViewVersion
extends java.lang.Comparable<ViewVersion>, java.io.Serializable

Since:
UCMDB 9.0

Method Summary
 java.lang.String asString()
          The string representation of this version.
 int compareTo(java.lang.String viewDefinitionVersionAsString)
          Compares to another view version string (following Comparable rules).
 int compareTo(ViewVersion viewVersion)
          Compares to another view version (following Comparable rules).
 

Method Detail

asString

java.lang.String asString()
The string representation of this version.

Returns:
the string representation of this version.

compareTo

int compareTo(ViewVersion viewVersion)
Compares to another view version (following Comparable rules). No check is done regarding the view name.

Specified by:
compareTo in interface java.lang.Comparable<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

int compareTo(java.lang.String viewDefinitionVersionAsString)
Compares to another view version string (following Comparable rules). No check is done regarding the view name.

Parameters:
viewDefinitionVersionAsString - the view version asString() 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:
java.lang.IllegalArgumentException - if the given string cannot be parsed to a version object.


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.