uk.org.ogsadai.client.toolkit.properties
Class DAIVersion

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.properties.DAIVersion

public class DAIVersion
extends java.lang.Object

Author:
The OGSA-DAI Team. Representation of the DAI version

Constructor Summary
DAIVersion(java.lang.String version)
           
 
Method Summary
static DAIVersion createFromProperty(Property property)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 boolean isOGSI()
           
 boolean isWSI()
           
 boolean isWSRF()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DAIVersion

public DAIVersion(java.lang.String version)
Method Detail

isWSRF

public boolean isWSRF()

isOGSI

public boolean isOGSI()

isWSI

public boolean isWSI()

getMinorVersion

public int getMinorVersion()

getMajorVersion

public int getMajorVersion()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createFromProperty

public static DAIVersion createFromProperty(Property property)
                                     throws DataFormatException
DataFormatException