edu.ksu.cis.cadena.core.adapter.property
Class PropertyAdapter

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

public class PropertyAdapter
extends BaseCadenaAdapter


Field Summary
static java.lang.String DECLARATION_UNRESOLVED_ERROR
           
static java.lang.String TYPE_MISMATCH_ERROR
           
static java.lang.String TYPE_UNSET_ERROR
           
static java.lang.String VALUE_UNSET_ERROR
           
 
Fields inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
REFERENCED_OBJECT_IN_TRASH_ERROR
 
Constructor Summary
PropertyAdapter()
           
 
Method Summary
 void checkNode(EObject node)
          Called when a complete check of the model is performed.
 void checkValue(Property property)
           
 void forwardReferenceChanged(Notification notification, EObject notifyingObject, EStructuralFeature notifyingObjectFeature)
           
 
Methods inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
addAffectedReferrers, addNotificationValues, getAffectedValues, getTarget, isAdapterForType, notifyChanged, setMarkers, setTarget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_UNSET_ERROR

public static final java.lang.String TYPE_UNSET_ERROR

VALUE_UNSET_ERROR

public static final java.lang.String VALUE_UNSET_ERROR

DECLARATION_UNRESOLVED_ERROR

public static final java.lang.String DECLARATION_UNRESOLVED_ERROR

TYPE_MISMATCH_ERROR

public static final java.lang.String TYPE_MISMATCH_ERROR
Constructor Detail

PropertyAdapter

public PropertyAdapter()
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.

forwardReferenceChanged

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

checkValue

public void checkValue(Property property)