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

Version - JBOSS Portal 2.6 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.

Version:
$Revision: 5451 $
Author:
Julien Viet

Nested Class Summary
static class Version.Qualifier
          Type safe enum for intermediate major.
 
Field Summary
private  java.lang.String codeName
           
private  int major
           
private  int minor
           
private  java.lang.String name
           
private  int patch
           
private  Version.Qualifier qualifier
           
private  java.lang.String toString
           
 
Constructor Summary
Version(java.lang.String name, int major, int minor, int patch, Version.Qualifier qualifier, java.lang.String codeName)
           
 
Method Summary
private  java.lang.String buildToString()
           
 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
 

Field Detail

codeName

private final java.lang.String codeName

toString

private final java.lang.String toString

name

private final java.lang.String name

major

private final int major

minor

private final int minor

patch

private final int patch

qualifier

private final Version.Qualifier qualifier
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()

buildToString

private java.lang.String buildToString()