/******************************************************************************* * Copyright (c) 2004, 2007 IBM Corporation and Cambridge Semantics Incorporated. * 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 * * File: $Source: /cvsroot/slrp/boca/com.ibm.adtech.boca.jastor/src/com/ibm/adtech/boca/jastor/util/graph/GraphPartBase.java,v $ * Created by: * Created on: 01/23/2007 * Revision: $Id: GraphPartBase.java 172 2007-07-31 14:22:23Z mroy $ * * Contributors: * IBM Corporation - initial API and implementation * Cambridge Semantics Incorporated - Fork to Anzo *******************************************************************************/ package org.openanzo.rdf.jastor.util.graph; /** * Graph part base * * @author Elias Torres ( <a href="mailto:eliast@us.ibm.com">eliast@us.ibm.com </a>) * */ public abstract class GraphPartBase implements IGraphPart { protected String name; protected Object data = null; /** * Create a base graph part * * @param name * name of part */ public GraphPartBase(String name) { this.name = name; } public void setData(Object data) { this.data = data; } public Object getData() { return data; } public String getName() { return name; } }