edu.ksu.cis.cadena.core.adapter.style
Class InterfaceKindBindingAdapter
java.lang.Object
edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
edu.ksu.cis.cadena.core.adapter.style.InterfaceKindBindingAdapter
- All Implemented Interfaces:
- CadenaAdapter
public class InterfaceKindBindingAdapter
- extends BaseCadenaAdapter
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
InterfaceKindBindingAdapter
public InterfaceKindBindingAdapter()
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:
- Check to make sure the interface kind that the binding is bound to
is resolved
- Check to make sure the interface kind that the binding is bound to
is not null.
- Check to make sure the interface kind that the binding is bound to
is not deleted.
- Check to make sure the interface kind that the binding is bound to
inherits from the meta interface kind the port spec requires.
- Parameters:
binding - The binding to check