|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.nurelm.nucontent.model.Entity
Extended to create User or Group objects.
| Field Summary | |
|---|---|
protected java.lang.String |
id
|
protected java.lang.String |
name
|
| Constructor Summary | |
|---|---|
protected |
Entity()
Does nothing, used nowhere, but eliminates JDO complie-time warning about not having a zero-args constructor. |
protected |
Entity(java.lang.String name)
Creates new Entity object. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compare this object with another. |
java.lang.String |
getId()
Get's this object's unique identifier. |
java.lang.String |
getName()
Get's this object's name. |
int |
hashCode()
Get's this object's hash code, which is simply the name String's hash code. |
java.lang.String |
toString()
Get's this object's name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String id
protected java.lang.String name
| Constructor Detail |
protected Entity()
protected Entity(java.lang.String name)
Entity object.
name - This object's name.| Method Detail |
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object obj)
obj - The object to compare with this one.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||