Index

DKStorageManageInfoV4

Purpose:

The DKStorageManageInfoV4 class defines the VisualInfo for AS/400 system managed storage (SMS) information.

Class summary:

class DKStorageManageInfoV4: public dkStorageManageInfo
{
  public:
   DKStorageManageInfoV4();
   DKStorageManageInfoV4(const DKStorageManageInfoV4& aDKSMSInfoV4);
   virtual ~DKStorageManageInfoV4();
 
   DKStorageManageInfoV4& operator= (const DKStorageManageInfoV4& aDKSMSInfoV4);
   DKBoolean   operator==(const DKStorageManageInfoV4& aDKSMSInfoV4) const;
   long        getRetention() const;
   void        setRetention(const long  aRetention);
   DKString    getCollectionName() const;
   void        setCollectionName(const char* aCollectionName);
   DKString    getManagementClass() const;
   void        setManagementClass(const char* aMgtClass);
   DKString    getStorageClass() const;
   void        setStorageClass(const char* aStgClass);
   DKString    getStoreSite() const;
   void        setStoreSite(const char* aStoreSite);
};

Members:

Constructors and destructor
The first constructor constructs a new DKStorageManageInfoV4 object. The second constructor is a copy constructor.
   DKStorageManageInfoV4();
   DKStorageManageInfoV4(const DKStorageManageInfoV4& aDKSMSInfoV4);
   virtual ~DKStorageManageInfoV4();
 

Member functions

operator=
Assignment operator.
   DKStorageManageInfoV4& operator= (const DKStorageManageInfoV4& 
                                             aDKSMSInfoV4);
 

operator==
Compares this object with the specified object and returns true if both objects have the same value for each data member.
   DKBoolean operator==(const DKStorageManageInfoV4& 
                        aDKSMSInfoV4) const;
 

setRetention
Sets the period in days that the VisualInfo for AS/400 system retains the object in system-managed storage. The valid values range from 1 to 999999999.
   void setRetention(const long  aRetention);
 

getRetention
Gets the period in days that the VisualInfo for AS/400 system retains the object in system managed storage.
   long getRetention() const;
 

setCollectionName
Sets the ASCIIZ user defined collection name. This character string provides a meaningful name for the collection already created. It can be up to 44 characters. The name must be valid on the object server where you store the object.
   void setCollectionName(const char* aCollectionName);
 

getCollectionName
Gets the user defined collection name.
   DKString getCollectionName() const;
 

setManagementClass
Sets the name of the management class in which an object is stored. The name must be valid on the object server where you store the object. If this field contains the value NULL when the object is assigned, the system uses the default management class for the collection.
   void setManagementClass(const char* aMgtClass);
 

getManagementClass
Gets the name of the management class in which an object is stored.

   DKString getManagementClass() const;
 

setStorageClass
Sets the name of the storage class in which an object is stored. The name must be valid on the object server where you store the object. If this field contains the value NULL when the object is assigned, the system uses the default initial storage class name of the collection.
   void setStorageClass(const char* aStgClass);
 

getStorageClass
Gets the name of the storage class in which an object is stored.
   DKString getStorageClass() const;
 

setStoreSite
Sets the name of the object server in which an object is stored. After an object is stored in the object server, you can not move it to another object server using this function.
   void setStoreSite(const char* aStoreSite);
 

getStoreSite
Gets the name of the object server in which an object is stored.
   DKString getStoreSite() const;
 

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.