arlut.csd.ganymede.client
Class PermRow

java.lang.Object
  |
  +--arlut.csd.ganymede.client.PermRow

class PermRow
extends java.lang.Object

Data-carrying class for the Ganymede client's perm_editor permissions editor dialog.


Field Summary
private  boolean builtIn
           
private  boolean changed
           
(package private) static int CREATABLE
           
(package private) static int DELETABLE
           
(package private) static int EDITABLE
           
private  boolean enabled
           
private  java.lang.String name
           
private  boolean[] permBitsAry
           
private  boolean[] permBitsOKAry
           
private  java.lang.Object reference
           
(package private) static int VISIBLE
           
 
Constructor Summary
PermRow(BaseDump base, FieldTemplate field, boolean[] permBitsAry, boolean[] permBitsOKAry, boolean enabled)
           
 
Method Summary
 boolean canSeeCreate()
           
 boolean canSeeDelete()
           
 boolean canSeeEdit()
           
 boolean canSeeView()
           
 java.lang.Object getReference()
          Returns the current base or field object
 boolean isBase()
          Returns if the current row is dealing w/ base or field
 boolean isBuiltIn()
           
 boolean isChanged()
           
 boolean isCreatable()
           
 boolean isDeletable()
           
 boolean isEditable()
           
 boolean isEnabled()
           
 boolean isVisible()
           
 void setBuiltIn(boolean builtIn)
           
 void setChanged(boolean value)
           
 void setCreatable(java.lang.Boolean value)
           
 void setDeletable(java.lang.Boolean value)
           
 void setEditable(java.lang.Boolean value)
           
 void setEnabled(java.lang.Boolean value)
           
 void setVisible(java.lang.Boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

VISIBLE

static final int VISIBLE

CREATABLE

static final int CREATABLE

EDITABLE

static final int EDITABLE

DELETABLE

static final int DELETABLE

reference

private java.lang.Object reference

permBitsAry

private boolean[] permBitsAry

permBitsOKAry

private boolean[] permBitsOKAry

enabled

private boolean enabled

changed

private boolean changed

name

private java.lang.String name

builtIn

private boolean builtIn
Constructor Detail

PermRow

public PermRow(BaseDump base,
               FieldTemplate field,
               boolean[] permBitsAry,
               boolean[] permBitsOKAry,
               boolean enabled)
Method Detail

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(java.lang.Boolean value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isChanged

public boolean isChanged()

setChanged

public void setChanged(boolean value)

isBuiltIn

public boolean isBuiltIn()

setBuiltIn

public void setBuiltIn(boolean builtIn)

isVisible

public boolean isVisible()

isCreatable

public boolean isCreatable()

isEditable

public boolean isEditable()

isDeletable

public boolean isDeletable()

setVisible

public void setVisible(java.lang.Boolean value)

setCreatable

public void setCreatable(java.lang.Boolean value)

setEditable

public void setEditable(java.lang.Boolean value)

setDeletable

public void setDeletable(java.lang.Boolean value)

canSeeView

public boolean canSeeView()

canSeeCreate

public boolean canSeeCreate()

canSeeEdit

public boolean canSeeEdit()

canSeeDelete

public boolean canSeeDelete()

getReference

public java.lang.Object getReference()
Returns the current base or field object

isBase

public boolean isBase()
Returns if the current row is dealing w/ base or field