| /******************************************************************************* |
| * Copyright (c) 2008, 2009 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.pde.internal.runtime.registry.model; |
| |
| public class Attribute extends ModelObject { |
| public static final String F_LOCATION = "Location"; //$NON-NLS-1$ |
| |
| public static final String F_BUNDLE = "Bundle"; //$NON-NLS-1$ |
| |
| private String name; |
| private String value; |
| |
| public Attribute() { |
| // empty |
| } |
| |
| public Attribute(String name, String value) { |
| this.name = name; |
| this.value = value; |
| } |
| |
| public String getValue() { |
| return value; |
| } |
| |
| public String getName() { |
| return name; |
| } |
| |
| public void setName(String name) { |
| this.name = name; |
| } |
| |
| public void setValue(String value) { |
| this.value = value; |
| } |
| } |