/******************************************************************************* * Copyright (c) 2013 Willink Transformations 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: * E.D.Willink - initial API and implementation *******************************************************************************/ /** * */ package org.eclipse.ocl.examples.modelregistry.model; public abstract class AccessorNamespace<A extends Accessor<A>> implements Accessor.Namespace<A> { protected final String name; public AccessorNamespace(String name) { this.name = name; } public String getName() { return name; } @Override public String toString() { return name; } }