|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.directdemocracyportal.democracy.model.core.BaseEntity org.directdemocracyportal.democracy.model.core.Resource
@Entity public abstract class Resource extends BaseEntity
The Class Resource.
Constructor and Description |
---|
Resource()
Instantiates a new resource. |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getId()
Gets the id. |
java.lang.String |
getName()
Gets the name. |
Agent |
getOwner()
Gets the owner. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setOwner(Agent owner)
Sets the owner. |
Methods inherited from class org.directdemocracyportal.democracy.model.core.BaseEntity |
---|
isNew |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resource()
Method Detail |
---|
public java.lang.Long getId()
BaseEntity
getId
in class BaseEntity
public void setId(java.lang.Long id)
id
- the new idpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the new namepublic Agent getOwner()
public void setOwner(Agent owner)
owner
- the new owner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |