| /******************************************************************************* |
| * Copyright (c) 2005 IBM Corporation. |
| * 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.equinox.ds.model; |
| |
| /** |
| * |
| * This class models the property element. |
| * The property element defines a single property. |
| * |
| * @version $Revision: 1.2 $ |
| */ |
| public class PropertyValueDescription extends PropertyDescription { |
| |
| /** |
| * Eclipse-generated <code>serialVersionUID</code> |
| */ |
| private static final long serialVersionUID = 8680436828645485510L; |
| |
| private String name; |
| private String type; |
| private Object value; |
| |
| /** |
| * @return Returns the name. |
| */ |
| public String getName() { |
| return name; |
| } |
| |
| /** |
| * @param name The name to set. |
| */ |
| public void setName(String name) { |
| this.name = name; |
| } |
| |
| /** |
| * @return Returns the type. |
| */ |
| public String getType() { |
| return type == null ? "String" : type; |
| } |
| |
| /** |
| * @param type The type to set. |
| */ |
| public void setType(String type) { |
| this.type = type; |
| } |
| |
| /** |
| * @return Returns the value. |
| */ |
| public Object getValue() { |
| return value; |
| } |
| |
| /** |
| * @param value The value to set. |
| */ |
| public void setValue(Object value) { |
| this.value = value; |
| } |
| } |