edu.ksu.cis.cadena.core.adapter.style
Class InterfaceKindBindingAdapter

java.lang.Object
  extended by edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
      extended by edu.ksu.cis.cadena.core.adapter.style.InterfaceKindBindingAdapter
All Implemented Interfaces:
CadenaAdapter

public class InterfaceKindBindingAdapter
extends BaseCadenaAdapter


Field Summary
static java.lang.String DELETED_INTERFACE_ERROR
           
static java.lang.String ELIDED_BINDING_ERROR
           
static java.lang.String EXTRANEOUS_PORT_SPEC_BINDING_ERROR
           
static java.lang.String EXTRANEOUS_VARIABLE_BINDING_ERROR
           
static java.lang.String MISSING_PORT_SPEC_BINDING_ERROR
           
static java.lang.String MISSING_VARIABLE_BINDING_ERROR
           
static java.lang.String RELAXED_BINDING_ERROR
           
static java.lang.String UNRESOLVED_BINDING_ERROR
           
static java.lang.String UNSPECIFIED_BINDING_ERROR
           
 
Fields inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
REFERENCED_OBJECT_IN_TRASH_ERROR
 
Constructor Summary
InterfaceKindBindingAdapter()
           
 
Method Summary
 void checkBinding(InterfaceKindBinding binding)
          Checks the interface kind that the binding is bound to.
 void checkNode(EObject node)
          Called when a complete check of the model is performed.
 void checkNonElidedInterfaceKind(InterfaceKindBinding binding)
          Checks to make sure that the interface kind that the binding is bound to is not elided.
 void forwardReferenceChanged(Notification notification, EObject notifyingObject, EStructuralFeature notifyingObjectFeature)
           
 void notifyChanged(Notification notification)
           
 
Methods inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
addAffectedReferrers, addNotificationValues, getAffectedValues, getTarget, isAdapterForType, setMarkers, setTarget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTRANEOUS_VARIABLE_BINDING_ERROR

public static final java.lang.String EXTRANEOUS_VARIABLE_BINDING_ERROR

MISSING_VARIABLE_BINDING_ERROR

public static final java.lang.String MISSING_VARIABLE_BINDING_ERROR

EXTRANEOUS_PORT_SPEC_BINDING_ERROR

public static final java.lang.String EXTRANEOUS_PORT_SPEC_BINDING_ERROR

MISSING_PORT_SPEC_BINDING_ERROR

public static final java.lang.String MISSING_PORT_SPEC_BINDING_ERROR

RELAXED_BINDING_ERROR

public static final java.lang.String RELAXED_BINDING_ERROR

UNSPECIFIED_BINDING_ERROR

public static final java.lang.String UNSPECIFIED_BINDING_ERROR

ELIDED_BINDING_ERROR

public static final java.lang.String ELIDED_BINDING_ERROR

DELETED_INTERFACE_ERROR

public static final java.lang.String DELETED_INTERFACE_ERROR

UNRESOLVED_BINDING_ERROR

public static final java.lang.String UNRESOLVED_BINDING_ERROR
Constructor Detail

InterfaceKindBindingAdapter

public InterfaceKindBindingAdapter()
Method Detail

checkNode

public void checkNode(EObject node)
Description copied from interface: CadenaAdapter
Called when a complete check of the model is performed. All checks that the adapter provides should be checked by this call.

Specified by:
checkNode in interface CadenaAdapter
Overrides:
checkNode in class BaseCadenaAdapter
Parameters:
node - The current node being checked.

notifyChanged

public void notifyChanged(Notification notification)
Overrides:
notifyChanged in class BaseCadenaAdapter

forwardReferenceChanged

public void forwardReferenceChanged(Notification notification,
                                    EObject notifyingObject,
                                    EStructuralFeature notifyingObjectFeature)
Specified by:
forwardReferenceChanged in interface CadenaAdapter
Specified by:
forwardReferenceChanged in class BaseCadenaAdapter

checkNonElidedInterfaceKind

public void checkNonElidedInterfaceKind(InterfaceKindBinding binding)
Checks to make sure that the interface kind that the binding is bound to is not elided.

Parameters:
binding - The binding to check

checkBinding

public void checkBinding(InterfaceKindBinding binding)
Checks the interface kind that the binding is bound to. The following checks are performed:

Parameters:
binding - The binding to check