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

Version - JBOSS Portal 2.2 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


Nested Class Summary
static class Version.IntermediateMajor
          Type safe enum for intermediate major.
 
Constructor Summary
Version(java.lang.String name, int major, int minor, int patch, Version.IntermediateMajor intermediateMajor, int intermediateMinor)
           
 
Method Summary
 Version.IntermediateMajor getIntermediateMajor()
          Return the intermediate major.
 int getIntermediateMinor()
          Return the intermediate minor.
 int getMajor()
          Return the major.
 int getMinor()
          Return the minor.
 java.lang.String getName()
          Return the name;
 int getPatch()
          Return the pacht.
 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.IntermediateMajor intermediateMajor,
               int intermediateMinor)
Method Detail

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.


getIntermediateMajor

public Version.IntermediateMajor getIntermediateMajor()
Return the intermediate major.


getIntermediateMinor

public int getIntermediateMinor()
Return the intermediate minor. If the value is zero or less, that number has no specific meaning and should be ignored.


toString

public java.lang.String toString()