00001 /* 00002 * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc. 00003 * All rights reserved. This program is made available under the terms of the 00004 * Eclipse Public License v1.0 which accompanies this distribution, and is 00005 * available at http://www.eclipse.org/legal/epl-v10.html 00006 * Contributors: 00007 * General Robotix Inc. 00008 * National Institute of Advanced Industrial Science and Technology (AIST) 00009 */ 00017 package com.generalrobotix.ui.view.graph; 00018 00019 public class SEString implements StringExchangeable { 00020 String value_; 00021 00027 public SEString(String value) { 00028 value_ = value; 00029 }; 00030 00036 public String toString() { 00037 return value_; 00038 } 00039 00046 public Object fromString(String str) { 00047 value_ = str; 00048 return (Object)value_; 00049 } 00050 00056 public void setValue(Object value) { 00057 value_ = (String)value; 00058 } 00059 00065 public void setValue(String str) { 00066 value_ = str; 00067 } 00068 00074 public Object getValue() { 00075 return (Object)value_; 00076 } 00077 };