blackboard.base
Class AppVersion

java.lang.Object
  extended by blackboard.base.AppVersion

public class AppVersion
extends java.lang.Object

The AppVersion class provides a means of describing (indicating) the properties of an object to be loaded/persisted by the persistence framework. By specifying the attributes and providing the constructed AppVersion to the persistence framework, the caller can modify the properties of the loader/persister instance returned (or cause a completely different instance to be returned) in response to a call for a loader/persister from the persistence framework (BbPersistenceManager instance).

Since:
Bb 5.5
See Also:
BbPersistenceManager

Field Summary
static java.lang.String BB5_APP_NAME
           
static java.lang.String MYSQL_DB_TYPE
           
static java.lang.String ORACLE_DB_TYPE
           
static java.lang.String SQLSERVER_DB_TYPE
           
 
Constructor Summary
AppVersion(java.lang.String appName, java.lang.String type, java.lang.String versionNum)
          Creates an AppVersion instance with the specified attributes.
 
Method Summary
 java.lang.String getAppName()
          Returns the application name of the AppVersion.
 java.lang.String getType()
          Returns the type value of the AppVersion.
 java.lang.String getVersionNum()
          Returns the version number of the AppVersion.
 java.lang.String toString()
          Converts this AppVersion into its String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BB5_APP_NAME

public static final java.lang.String BB5_APP_NAME
See Also:
Constant Field Values

ORACLE_DB_TYPE

public static final java.lang.String ORACLE_DB_TYPE
See Also:
Constant Field Values

SQLSERVER_DB_TYPE

public static final java.lang.String SQLSERVER_DB_TYPE
See Also:
Constant Field Values

MYSQL_DB_TYPE

public static final java.lang.String MYSQL_DB_TYPE
See Also:
Constant Field Values
Constructor Detail

AppVersion

public AppVersion(java.lang.String appName,
                  java.lang.String type,
                  java.lang.String versionNum)
Creates an AppVersion instance with the specified attributes.

Parameters:
appName - a String with the application name to use
type - a String with the type value to use
versionNum - a String with the version number to use
Method Detail

getAppName

public java.lang.String getAppName()
Returns the application name of the AppVersion.

Returns:
the application name of this app version as a String

getType

public java.lang.String getType()
Returns the type value of the AppVersion.

Returns:
the type value of this app version as a String

getVersionNum

public java.lang.String getVersionNum()
Returns the version number of the AppVersion.

Returns:
the version number of this app version as a String

toString

public java.lang.String toString()
Converts this AppVersion into its String representation.

Overrides:
toString in class java.lang.Object
Returns:
The String representation of this app version


Copyright © 2012 Blackboard, Inc. All Rights Reserved.