|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.ac.impl.AbstractItem
public abstract class AbstractItem
Abstract superclass for all access control objects that can be managed by an
ItemManager. It is only used for code reuse.
| Constructor Summary | |
|---|---|
AbstractItem()
Ctor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object otherObject)
|
java.lang.String |
getDescription()
Returns the description of this object. |
java.lang.String |
getId()
Returns the ID. |
java.lang.String |
getName()
Returns the name of this object. |
int |
hashCode()
|
static boolean |
isValidId(java.lang.String id)
Checks if a string is a valid ID. |
void |
setDescription(java.lang.String description)
Sets the description of this object. |
protected void |
setId(java.lang.String string)
Sets the ID. |
void |
setName(java.lang.String name)
Set the full name |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.lenya.ac.Item |
|---|
configure, setConfigurationDirectory |
| Constructor Detail |
|---|
public AbstractItem()
| Method Detail |
|---|
protected void setId(java.lang.String string)
string - The ID.public java.lang.String getId()
getId in interface Itempublic java.lang.String getDescription()
getDescription in interface Itempublic void setDescription(java.lang.String description)
setDescription in interface Itemdescription - A string.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getName()
getName in interface ItemString.public void setName(java.lang.String name)
setName in interface Itemname - the new full namepublic static boolean isValidId(java.lang.String id)
id - The string to test.
public boolean equals(java.lang.Object otherObject)
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||