com.wewebu.ow.server.app
Class OwConfigDump.VersionNumber

java.lang.Object
  extended by com.wewebu.ow.server.app.OwConfigDump.VersionNumber
Enclosing class:
OwConfigDump

protected class OwConfigDump.VersionNumber
extends Object

version number class to retrieve version numbers form class objects


Field Summary
 boolean m_fImplementation
           
 int m_iFixpack
          fixpack version number or -1 if no set
 int m_iMajor
          major version number or -1 if not set
 int m_iMinor
          minor version number or -1 if not set
 int m_iUpdate
          update version number or -1 if not set
 String m_strReleaseType
           
 
Constructor Summary
OwConfigDump.VersionNumber(Class<?> class_p, boolean fImplementation_p)
          construct VersionNumber object retrieve the version numbers from the static fields of a class object
OwConfigDump.VersionNumber(String sVersion_p)
          construct VersionNumber object retrieve the version numbers from the static fields of a class object
 
Method Summary
 String toString()
          create version string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_strReleaseType

public String m_strReleaseType

m_fImplementation

public boolean m_fImplementation

m_iMinor

public int m_iMinor
minor version number or -1 if not set


m_iMajor

public int m_iMajor
major version number or -1 if not set


m_iUpdate

public int m_iUpdate
update version number or -1 if not set


m_iFixpack

public int m_iFixpack
fixpack version number or -1 if no set

Constructor Detail

OwConfigDump.VersionNumber

public OwConfigDump.VersionNumber(Class<?> class_p,
                                  boolean fImplementation_p)
construct VersionNumber object retrieve the version numbers from the static fields of a class object

Parameters:
class_p - the class object with the static version declaration
fImplementation_p - true = retrieve the implementation numbers, false = retrieve the Interface numbers

OwConfigDump.VersionNumber

public OwConfigDump.VersionNumber(String sVersion_p)
construct VersionNumber object retrieve the version numbers from the static fields of a class object

Parameters:
sVersion_p - the version string
Method Detail

toString

public String toString()
create version string

Overrides:
toString in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.