|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.gds.GDSAccessControl
public class GDSAccessControl
Represents an access control specifier. Each access control specifier consists of a group number, a user number and access rights.
| Constructor Summary | |
|---|---|
GDSAccessControl(GDSAccessControl data)
Creates a copy of an existing GDSAccessControl object. |
|
GDSAccessControl(short group,
short user,
short access)
Creates a new GDSAccessControl object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines if one access control list is equivalent to another. |
short |
getAccess()
Gets the access control permissions. |
short |
getGroup()
Gets the group number. |
short |
getUser()
Gets the user number. |
int |
hashCode()
Generates a hashing code for the access control. |
void |
setAccess(short access)
Sets the access control permissions. |
void |
setGroup(short group)
Sets the group number. |
void |
setUser(short user)
Sets the user number. |
java.lang.String |
toString()
Returns description of the access control. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GDSAccessControl(GDSAccessControl data)
data - The GDSAccessControl object to copy.
public GDSAccessControl(short group,
short user,
short access)
group - Group number.user - User number.access - Access rights.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare to.
public short getAccess()
public short getGroup()
public short getUser()
public int hashCode()
hashCode in class java.lang.Objectpublic void setAccess(short access)
access - The new access control permissions.public void setGroup(short group)
group - The new group number.public void setUser(short user)
user - The new user number.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||