blob: e62ce3486fc9aa6711b0d003603d8c2137a0083d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2005 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
*******************************************************************************/
/*
* $RCSfile: JavaDataTypeInstance.java,v $
* $Revision: 1.8 $ $Date: 2005/08/24 20:20:24 $
*/
package org.eclipse.jem.internal.instantiation.base;
/**
* This is the default instance of a Java Model Datatype (i.e. primitive).
* It can be created from a string, which becomes the initialization string
* for the instance. It's toString will be the initialization string.
*
* It should not be referenced directly, the IJavaDataTypeInstance interface should be
* used instead. It is public so that it can be subclassed.
*/
public class JavaDataTypeInstance extends JavaInstance implements IJavaDataTypeInstance {
protected JavaDataTypeInstance() {
}
public boolean isPrimitive(){
return true;
}
}