| /******************************************************************************* |
| * Copyright (c) 2007 Oracle. 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: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.core.internal.context.java; |
| |
| import org.eclipse.jpt.core.internal.context.base.IAbstractColumn; |
| import org.eclipse.jpt.core.internal.context.base.IColumn; |
| import org.eclipse.jpt.core.internal.resource.java.Column; |
| |
| public interface IJavaColumn extends IJavaNamedColumn, IColumn |
| { |
| void initializeFromResource(Column columnResource); |
| |
| void update(Column columnResource); |
| |
| boolean isConnected(); |
| |
| Owner owner(); |
| /** |
| * interface allowing columns to be used in multiple places |
| * (e.g. basic mappings and attribute overrides) |
| */ |
| interface Owner extends IAbstractColumn.Owner |
| { |
| Column columnResource(); |
| } |
| |
| } |