Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 742305e4
authored
May 08, 2010
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moar event statuses
1 parent
abe66614
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
code/LanBortalBeansClient/ejbModule/fi/insomnia/bortal/enums/EventStatusEnum.java
code/LanBortalBeansClient/ejbModule/fi/insomnia/bortal/enums/EventStatusEnum.java
View file @
742305e
...
@@ -6,19 +6,21 @@
...
@@ -6,19 +6,21 @@
package
fi
.
insomnia
.
bortal
.
enums
;
package
fi
.
insomnia
.
bortal
.
enums
;
/**
/**
*
*
* @author tuukka
* @author tuukka
*/
*/
public
enum
EventStatusEnum
{
public
enum
EventStatusEnum
{
NOT_STARTED
,
INACTIVE
,
// Not yet public
SPLITTED
;
NOT_STARTED
,
// Upcoming event
RUNNING
,
// Ongoing event
SPLITTED
,
// Detached: The event has a copy of it's database. SPLITTED event
// cannot be modified.
ARCHIVED
;
// Past events are archived
public
static
EventStatusEnum
getEventStatusEnum
(
String
name
)
{
public
static
EventStatusEnum
getEventStatusEnum
(
String
name
)
{
return
EventStatusEnum
.
valueOf
(
name
);
return
EventStatusEnum
.
valueOf
(
name
);
}
}
public
static
EventStatusEnum
getDefaultEventStatusEnum
()
{
public
static
EventStatusEnum
getDefaultEventStatusEnum
()
{
return
NOT_STARTED
;
return
NOT_STARTED
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment