-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
111 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/ui/RelationshipType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2013 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
|
||
package org.jboss.forge.addon.javaee.jpa.ui; | ||
|
||
public enum RelationshipType | ||
{ | ||
BASIC("Basic"), | ||
ONE_TO_ONE("One-to-One"), | ||
ONE_TO_MANY("One-to-Many"), | ||
MANY_TO_ONE("Many-to-One"), | ||
MANY_TO_MANY("Many-to-Many"); | ||
|
||
private RelationshipType(String description) | ||
{ | ||
this.description = description; | ||
} | ||
|
||
private String description; | ||
|
||
public String getDescription() | ||
{ | ||
return description; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters