public void checkVersion ( String version ) throws ConnectionException { MetaModel meta = createMetaModel ( ) ; meta . getAssetType ( "Member" ) ; if ( ( version != null ) && ( version . length ( ) > 0 ) && ( ( meta . getVersion ( ) == null ) || ( meta . getVersion ( ) . compareTo ( new Version ( version ) ) < 0 ) ) ) { throw new ConnectionException ( MessageFormat . format ( "VersionOne Release {0} or above is required (found {1})." , version , meta . getVersion ( ) ) ) ; } }
Checking version of VersionOne .