站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

Version - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.common.util
Class Version

java.lang.Object
  extended byorg.jboss.portal.common.util.Version

public class Version
extends java.lang.Object

Version class conforming to JBoss Product Version Conventions post 2006-03-01. See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning.


Nested Class Summary
static class Version.Qualifier
          Type safe enum for intermediate major.
 
Constructor Summary
Version(java.lang.String name, int major, int minor, int patch, Version.Qualifier qualifier, java.lang.String codeName)
           
 
Method Summary
 java.lang.String getCodeName()
           
 int getMajor()
          Return the major.
 int getMinor()
          Return the minor.
 java.lang.String getName()
          Return the name;
 int getPatch()
          Return the pacht.
 Version.Qualifier getQualifier()
          Return the intermediate major.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Version

public Version(java.lang.String name,
               int major,
               int minor,
               int patch,
               Version.Qualifier qualifier,
               java.lang.String codeName)
Method Detail

getCodeName

public java.lang.String getCodeName()

getName

public java.lang.String getName()
Return the name;


getMajor

public int getMajor()
Return the major.


getMinor

public int getMinor()
Return the minor.


getPatch

public int getPatch()
Return the pacht.


getQualifier

public Version.Qualifier getQualifier()
Return the intermediate major.


toString

public java.lang.String toString()