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

java.lang.Object
  |
  +--com.novell.admin.ns.fs.nw.NWFSEntryAttribute
All Implemented Interfaces:
FSEntryAttribute

public final class NWFSEntryAttribute
extends java.lang.Object
implements FSEntryAttribute

This class represents attributes for an object.


Constructor Summary
NWFSEntryAttribute(long attrib)
          Constructor.
 
Method Summary
 long getObjAttribute()
          Get all the object attributes.
 boolean hasCantCompress()
          Test to see if object attributes include the Cant Compress attribute.
 boolean hasCopyInhibit()
          Test to see if object attributes include the Copy Inhibit attribute.
 boolean hasDeleteInhibit()
          Test to see if object attributes include the Delete Inhibit attribute.
 boolean hasDontCompress()
          Test to see if object attributes include the Dont Compress attribute.
 boolean hasDontMigrate()
          Test to see if object attributes include the Dont Migrate attribute.
 boolean hasDontSuballoc()
          Test to see if object attributes include the Don't Suballoc attribute.
 boolean hasExecuteOnly()
          Test to see if object attributes include the Execute Only attribute.
 boolean hasFileCompressed()
          Test to see if object attributes include the File Compressed attribute.
 boolean hasFileMigrated()
          Test to see if object attributes include the File Migrated attribute.
 boolean hasHidden()
          Test to see if object attributes include the Hidden attribute.
 boolean hasImmediateCompress()
          Test to see if object attributes include the Immediate Compress attribute.
 boolean hasImmediatePurge()
          Test to see if object attributes include the Immediate Purge attribute.
 boolean hasIndexed()
          Test to see if object attributes include the Indexed attribute.
 boolean hasNeedsArchived()
          Test to see if object attributes include the Needs Archived attribute.
 boolean hasNormal()
          Test to see if object attributes include the Normal attribute.
 boolean hasReadAudit()
          Test to see if object attributes include the Read Audit attribute.
 boolean hasReadOnly()
          Test to see if object attributes include the Read Only attribute.
 boolean hasRenameInhibit()
          Test to see if object attributes include the Rename Inhibit attribute.
 boolean hasShareable()
          Test to see if object attributes include the Shareable attribute.
 boolean hasSystem()
          Test to see if object attributes include the System attribute.
 boolean hasTransactional()
          Test to see if object attributes include the Transactional attribute.
 boolean hasWriteAudit()
          Test to see if object attributes include the Write Audit attribute.
 boolean isDirectory()
          Test to see if object attributes include the Directory attribute.
 boolean isEqual(long newAttr)
          Test to see if the attributes are equal to the object attributes.
 long merge(long newAttr)
          Merge the new attribute value with the current one.
 void setCantCompress(boolean flag)
           
 void setCopyInhibit(boolean flag)
           
 void setDeleteInhibit(boolean flag)
           
 void setDirectory(boolean flag)
           
 void setDontCompress(boolean flag)
           
 void setDontMigrate(boolean flag)
           
 void setDontSuballoc(boolean flag)
           
 void setExecuteOnly(boolean flag)
           
 void setFileCompressed(boolean flag)
           
 void setFileMigrated(boolean flag)
           
 void setHidden(boolean flag)
           
 void setImmediateCompress(boolean flag)
           
 void setImmediatePurge(boolean flag)
           
 void setIndexed(boolean flag)
           
 void setNeedsArchived(boolean flag)
           
 void setNormal(boolean flag)
           
 void setReadAudit(boolean flag)
           
 void setReadOnly(boolean flag)
           
 void setRenameInhibit(boolean flag)
           
 void setShareable(boolean flag)
           
 void setSystem(boolean flag)
           
 void setTransactional(boolean flag)
           
 void setWriteAudit(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NWFSEntryAttribute

public NWFSEntryAttribute(long attrib)
Constructor.
Parameters:
rights - The object attributes.
Method Detail

getObjAttribute

public long getObjAttribute()
Get all the object attributes.
Specified by:
getObjAttribute in interface FSEntryAttribute
Returns:
The object attributes.

isEqual

public boolean isEqual(long newAttr)
Test to see if the attributes are equal to the object attributes.
Specified by:
isEqual in interface FSEntryAttribute
Returns:
true if they are equal, false otherwise.

merge

public long merge(long newAttr)
Merge the new attribute value with the current one.
Specified by:
merge in interface FSEntryAttribute
Returns:
the inverted intersection.

hasDeleteInhibit

public boolean hasDeleteInhibit()
Test to see if object attributes include the Delete Inhibit attribute.
Specified by:
hasDeleteInhibit in interface FSEntryAttribute
Returns:
true if the object has the Delete Inhibit attribute set, false otherwise.

hasCantCompress

public boolean hasCantCompress()
Test to see if object attributes include the Cant Compress attribute.
Specified by:
hasCantCompress in interface FSEntryAttribute
Returns:
true if the object has the Cant Compress attribute set, false otherwise.

hasCopyInhibit

public boolean hasCopyInhibit()
Test to see if object attributes include the Copy Inhibit attribute.
Specified by:
hasCopyInhibit in interface FSEntryAttribute
Returns:
true if the object has the Copy Inhibit attribute set, false otherwise.

isDirectory

public boolean isDirectory()
Test to see if object attributes include the Directory attribute.
Specified by:
isDirectory in interface FSEntryAttribute
Returns:
true if the object has the Directory attribute set, false otherwise.

hasDontCompress

public boolean hasDontCompress()
Test to see if object attributes include the Dont Compress attribute.
Specified by:
hasDontCompress in interface FSEntryAttribute
Returns:
true if the object has the Dont Compress attribute set, false otherwise.

hasDontMigrate

public boolean hasDontMigrate()
Test to see if object attributes include the Dont Migrate attribute.
Specified by:
hasDontMigrate in interface FSEntryAttribute
Returns:
true if the object has the Dont Migrate attribute set, false otherwise.

hasExecuteOnly

public boolean hasExecuteOnly()
Test to see if object attributes include the Execute Only attribute.
Specified by:
hasExecuteOnly in interface FSEntryAttribute
Returns:
true if the object has the Execute Only attribute set, false otherwise.

hasFileCompressed

public boolean hasFileCompressed()
Test to see if object attributes include the File Compressed attribute.
Specified by:
hasFileCompressed in interface FSEntryAttribute
Returns:
true if the object has the File Compressed attribute set, false otherwise.

hasFileMigrated

public boolean hasFileMigrated()
Test to see if object attributes include the File Migrated attribute.
Specified by:
hasFileMigrated in interface FSEntryAttribute
Returns:
true if the object has the File Migrated attribute set, false otherwise.

hasHidden

public boolean hasHidden()
Test to see if object attributes include the Hidden attribute.
Specified by:
hasHidden in interface FSEntryAttribute
Returns:
true if the object has the Hidden attribute set, false otherwise.

hasImmediateCompress

public boolean hasImmediateCompress()
Test to see if object attributes include the Immediate Compress attribute.
Specified by:
hasImmediateCompress in interface FSEntryAttribute
Returns:
true if the object has the Immediate Compress attribute set, false otherwise.

hasImmediatePurge

public boolean hasImmediatePurge()
Test to see if object attributes include the Immediate Purge attribute.
Specified by:
hasImmediatePurge in interface FSEntryAttribute
Returns:
true if the object has the Immediate Purge attribute set, false otherwise.

hasIndexed

public boolean hasIndexed()
Test to see if object attributes include the Indexed attribute.
Specified by:
hasIndexed in interface FSEntryAttribute
Returns:
true if the object has the Indexed attribute set, false otherwise.

hasNeedsArchived

public boolean hasNeedsArchived()
Test to see if object attributes include the Needs Archived attribute.
Specified by:
hasNeedsArchived in interface FSEntryAttribute
Returns:
true if the object has the Needs Archived attribute set, false otherwise.

hasNormal

public boolean hasNormal()
Test to see if object attributes include the Normal attribute.
Specified by:
hasNormal in interface FSEntryAttribute
Returns:
true if the object has the Normal attribute set, false otherwise.

hasReadAudit

public boolean hasReadAudit()
Test to see if object attributes include the Read Audit attribute.
Specified by:
hasReadAudit in interface FSEntryAttribute
Returns:
true if the object has the Read Audit attribute set, false otherwise.

hasReadOnly

public boolean hasReadOnly()
Test to see if object attributes include the Read Only attribute.
Specified by:
hasReadOnly in interface FSEntryAttribute
Returns:
true if the object has the Read Only attribute set, false otherwise.

hasRenameInhibit

public boolean hasRenameInhibit()
Test to see if object attributes include the Rename Inhibit attribute.
Specified by:
hasRenameInhibit in interface FSEntryAttribute
Returns:
true if the object has the Rename Inhibit attribute set, false otherwise.

hasShareable

public boolean hasShareable()
Test to see if object attributes include the Shareable attribute.
Specified by:
hasShareable in interface FSEntryAttribute
Returns:
true if the object has the Shareable attribute set, false otherwise.

hasSystem

public boolean hasSystem()
Test to see if object attributes include the System attribute.
Specified by:
hasSystem in interface FSEntryAttribute
Returns:
true if the object has the System attribute set, false otherwise.

hasTransactional

public boolean hasTransactional()
Test to see if object attributes include the Transactional attribute.
Specified by:
hasTransactional in interface FSEntryAttribute
Returns:
true if the object has the Transactional attribute set, false otherwise.

hasWriteAudit

public boolean hasWriteAudit()
Test to see if object attributes include the Write Audit attribute.
Specified by:
hasWriteAudit in interface FSEntryAttribute
Returns:
true if the object has the Write Audit attribute set, false otherwise.

hasDontSuballoc

public boolean hasDontSuballoc()
Test to see if object attributes include the Don't Suballoc attribute.
Specified by:
hasDontSuballoc in interface FSEntryAttribute
Returns:
true if the object has the Write Audit attribute set, false otherwise.

setDeleteInhibit

public void setDeleteInhibit(boolean flag)
Specified by:
setDeleteInhibit in interface FSEntryAttribute
Parameters:
flag - Set or clear the Delete Inhibit object attribute based on the flag value of true(set) or false(clear)

setCantCompress

public void setCantCompress(boolean flag)
Specified by:
setCantCompress in interface FSEntryAttribute
Parameters:
flag - Set or clear the Cant Compress object attribute based on the flag value of true(set) or false(clear)

setCopyInhibit

public void setCopyInhibit(boolean flag)
Specified by:
setCopyInhibit in interface FSEntryAttribute
Parameters:
flag - Set or clear the Copy Inhibit object attribute based on the flag value of true(set) or false(clear)

setDirectory

public void setDirectory(boolean flag)
Specified by:
setDirectory in interface FSEntryAttribute
Parameters:
flag - Set or clear the Directory object attribute based on the flag value of true(set) or false(clear)

setDontCompress

public void setDontCompress(boolean flag)
Specified by:
setDontCompress in interface FSEntryAttribute
Parameters:
flag - Set or clear the Dont Compress object attribute based on the flag value of true(set) or false(clear)

setDontMigrate

public void setDontMigrate(boolean flag)
Specified by:
setDontMigrate in interface FSEntryAttribute
Parameters:
flag - Set or clear the Dont Migrate object attribute based on the flag value of true(set) or false(clear)

setExecuteOnly

public void setExecuteOnly(boolean flag)
Specified by:
setExecuteOnly in interface FSEntryAttribute
Parameters:
flag - Set or clear the Execute Only object attribute based on the flag value of true(set) or false(clear)

setFileCompressed

public void setFileCompressed(boolean flag)
Specified by:
setFileCompressed in interface FSEntryAttribute
Parameters:
flag - Set or clear the File Compressed object attribute based on the flag value of true(set) or false(clear)

setFileMigrated

public void setFileMigrated(boolean flag)
Specified by:
setFileMigrated in interface FSEntryAttribute
Parameters:
flag - Set or clear the File Migrated object attribute based on the flag value of true(set) or false(clear)

setHidden

public void setHidden(boolean flag)
Specified by:
setHidden in interface FSEntryAttribute
Parameters:
flag - Set or clear the Hidden object attribute based on the flag value of true(set) or false(clear)

setImmediateCompress

public void setImmediateCompress(boolean flag)
Specified by:
setImmediateCompress in interface FSEntryAttribute
Parameters:
flag - Set or clear the Immediate Compress object attribute based on the flag value of true(set) or false(clear)

setImmediatePurge

public void setImmediatePurge(boolean flag)
Specified by:
setImmediatePurge in interface FSEntryAttribute
Parameters:
flag - Set or clear the Immediate Purge object attribute based on the flag value of true(set) or false(clear)

setIndexed

public void setIndexed(boolean flag)
Specified by:
setIndexed in interface FSEntryAttribute
Parameters:
flag - Set or clear the Indexed object attribute based on the flag value of true(set) or false(clear)

setNeedsArchived

public void setNeedsArchived(boolean flag)
Specified by:
setNeedsArchived in interface FSEntryAttribute
Parameters:
flag - Set or clear the Needs Archived object attribute based on the flag value of true(set) or false(clear)

setNormal

public void setNormal(boolean flag)
Specified by:
setNormal in interface FSEntryAttribute
Parameters:
flag - Set or clear the Normal object attribute based on the flag value of true(set) or false(clear)

setReadAudit

public void setReadAudit(boolean flag)
Specified by:
setReadAudit in interface FSEntryAttribute
Parameters:
flag - Set or clear the Read Audit object attribute based on the flag value of true(set) or false(clear)

setReadOnly

public void setReadOnly(boolean flag)
Specified by:
setReadOnly in interface FSEntryAttribute
Parameters:
flag - Set or clear the Read Only object attribute based on the flag value of true(set) or false(clear)

setRenameInhibit

public void setRenameInhibit(boolean flag)
Specified by:
setRenameInhibit in interface FSEntryAttribute
Parameters:
flag - Set or clear the Rename Inhibit object attribute based on the flag value of true(set) or false(clear)

setShareable

public void setShareable(boolean flag)
Specified by:
setShareable in interface FSEntryAttribute
Parameters:
flag - Set or clear the Shareable object attribute based on the flag value of true(set) or false(clear)

setSystem

public void setSystem(boolean flag)
Specified by:
setSystem in interface FSEntryAttribute
Parameters:
flag - Set or clear the System object attribute based on the flag value of true(set) or false(clear)

setTransactional

public void setTransactional(boolean flag)
Specified by:
setTransactional in interface FSEntryAttribute
Parameters:
flag - Set or clear the Transactional object attribute based on the flag value of true(set) or false(clear)

setWriteAudit

public void setWriteAudit(boolean flag)
Specified by:
setWriteAudit in interface FSEntryAttribute
Parameters:
flag - Set or clear the Write Audit object attribute based on the flag value of true(set) or false(clear)

setDontSuballoc

public void setDontSuballoc(boolean flag)
Specified by:
setDontSuballoc in interface FSEntryAttribute
Parameters:
flag - Set or clear the Don't Suballoc object attribute based on the flag value of true(set) or false(clear)


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