3f79c87b32a970c4ec57ebe31ee81c239073be49
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.repository / src / main / java / org / eclipse / winery / repository / resources / SubMenuData.java
1 /*******************************************************************************
2  * Copyright (c) 2012-2013 University of Stuttgart.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and the Apache License 2.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *     Oliver Kopp - initial API and implementation
11  *******************************************************************************/
12 package org.eclipse.winery.repository.resources;
13
14 /**
15  * Data used to render a submenu item
16  */
17 public class SubMenuData {
18         
19         private final String href;
20         private final String text;
21         
22         public static final SubMenuData SUBMENU_DOCUMENTATION = new SubMenuData("#documentation", "Documentation");
23         public static final SubMenuData SUBMENU_XML = new SubMenuData("#xml", "XML");
24         
25         
26         public SubMenuData(String href, String text) {
27                 this.href = href;
28                 this.text = text;
29         }
30         
31         public String getHref() {
32                 return this.href;
33         }
34         
35         public String getText() {
36                 return this.text;
37         }
38 }