com.sun.sgs.impl.service.data
Class DataServiceHeader

java.lang.Object
  extended by com.sun.sgs.impl.service.data.DataServiceHeader
All Implemented Interfaces:
ManagedObject, Serializable

final class DataServiceHeader
extends Object
implements ManagedObject, Serializable

Provides information about the data stored by the data service. The serialVersionUID represents the major version number, which must match the value in the current version of the implementation. The minorVersion represents the minor version number, which can vary between a stored instance and the implementation. Version history: Version 1.0: Initial version, 11/3/2006


Field Summary
(package private)  String appName
          The name of the application that initially created the data service.
(package private)  int minorVersion
          The minor version number.
 
Constructor Summary
DataServiceHeader(String appName)
          Creates an instance of this class with the specified application name.
 
Method Summary
 String toString()
          Returns a string representation of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

minorVersion

final int minorVersion
The minor version number.

See Also:
Constant Field Values

appName

final String appName
The name of the application that initially created the data service.

Constructor Detail

DataServiceHeader

DataServiceHeader(String appName)
Creates an instance of this class with the specified application name.

Method Detail

toString

public String toString()
Returns a string representation of this instance.

Overrides:
toString in class Object

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved