com.novell.admin.ns.fs.nw
Class VolumeRestrictionFacade

java.lang.Object
  |
  +--com.novell.admin.ns.ValueListFacade
        |
        +--com.novell.admin.ns.fs.nw.VolumeRestrictionFacade

public class VolumeRestrictionFacade
extends ValueListFacade

Facade for File System Volume Restriction syntax.


Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
VolumeRestrictionFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(java.lang.String name, long objectID, long restriction, long inUse)
          File System Volume Restriction ValueList factory.
 long getInUse()
          Retrieve the inUse from the valuelist.
 java.lang.String getName()
          Retrieve the name from the valuelist.
 long getObjectID()
          Retrieve the objectID from the valuelist.
 long getRestriction()
          Retrieve the restriction from the valuelist.
 void setName(java.lang.String name)
          Set the name in the valuelist.
 void setRestriction(long restriction)
          Set the restriction in the valuelist.
 
Methods inherited from class com.novell.admin.ns.ValueListFacade
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolumeRestrictionFacade

public VolumeRestrictionFacade(ValueList comp)
                        throws IncompatibleComponentException
Facade constructor
Parameters:
valueList - The ValueList which represents the Volume Restriction data.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not NWFSSyntax.SYN_VOL_RESTRICTION.
Method Detail

createValueList

public static ValueList createValueList(java.lang.String name,
                                        long objectID,
                                        long restriction,
                                        long inUse)
File System Volume Restriction ValueList factory.
Parameters:
name - Refer to Volume Restriction Specification.
objectID - Refer to Volume Restriction Specification.
restriction - Refer to Volume Restriction Specification.
inUse - Refer to Volume Restriction Specification.
Returns:
A new Volume Restriction ValueList.

getName

public java.lang.String getName()
Retrieve the name from the valuelist.
Returns:
The Volume name.

setName

public void setName(java.lang.String name)
Set the name in the valuelist.
Parameters:
name - The Volume name.

getObjectID

public long getObjectID()
Retrieve the objectID from the valuelist.
Returns:
The Volume object ID.

getRestriction

public long getRestriction()
Retrieve the restriction from the valuelist.
Returns:
The Volume restriction.

setRestriction

public void setRestriction(long restriction)
Set the restriction in the valuelist.
Parameters:
restriction - The Volume restriction.

getInUse

public long getInUse()
Retrieve the inUse from the valuelist.
Returns:
The Volume in use.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.