diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java')
-rw-r--r-- | bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java deleted file mode 100644 index d8fa4f764..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/datamodel/RelRemoveEvent.java +++ /dev/null @@ -1,122 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 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 - *******************************************************************************/ -package org.eclipse.wst.ws.internal.datamodel; - -/** -* Carries data relevant to when a property is added to the model. -*/ -public class RelRemoveEvent -{ - - // Copyright - public static final String copyright = "(c) Copyright IBM Corporation 2000, 2002."; - - /** - * The model the changed. - */ - protected Connection fOutBound; - - /** - * The model the changed. - */ - protected Connection fInBound; - - /** - * The property that was added. - */ - protected Property fProperty; - - - /** - * Constructor. - * @param model The model that changed. - * @param property The property that was added. - * @param value The property's value. - */ - public RelRemoveEvent (Connection[] pair) - { - fOutBound = pair[BasicConnection.OUTBOUND]; - fInBound = pair[BasicConnection.INBOUND]; - } - - /** - * Returns the model that changed (that produced this event). - * @return TinyModel The model that changed. - */ - public Connection getOutBound () - { - return fOutBound; - } - - /** - * Returns the model property that was added. - * @return TinyModel The property that was added. - */ - public Connection getInBound () - { - return fInBound; - } - - /** - * Returns the changed rel name - **/ - public String getOutBoundRelName() - { - return fOutBound.getRel().getName(); - } - - /** - * Returns the changed rel - **/ - public Rel getOutBoundRel() - { - return fOutBound.getRel(); - } - - /** - * Returns the changed rel name - **/ - public String getInBoundRelName() - { - return fInBound.getRel().getName(); - } - - /** - * Returns the changed rel - **/ - public Rel getInBoundRel() - { - return fInBound.getRel(); - } - - - /** - * Returns the outbound element that changed - **/ - public Element getOutBoundElement () - { - return fOutBound.getElement(); - } - - - /** - * Returns the inbound connection that changed - **/ - public Element getInboundElement () - { - return fInBound.getElement(); - } - - - -} - - |