|
||||||||||
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.world.Election
@Entity public class Election extends BaseEntity
The Class Election.
Constructor and Description |
---|
Election()
Instantiates a new election. |
Modifier and Type | Method and Description |
---|---|
Government |
getGovernment()
Gets the government. |
java.lang.Long |
getId()
Gets the id. |
java.lang.String |
getName()
Gets the name. |
ElectionType |
getType()
Gets the type. |
void |
setGovernment(Government government)
Sets the government. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setType(ElectionType type)
Sets the type. |
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 Election()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new namepublic java.lang.Long getId()
BaseEntity
getId
in class BaseEntity
public void setId(java.lang.Long id)
id
- the new idpublic ElectionType getType()
public void setType(ElectionType type)
type
- the new typepublic Government getGovernment()
public void setGovernment(Government government)
government
- the new government
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |