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

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

public class CollectionValueAdapter
extends BaseCadenaAdapter


Field Summary
static java.lang.String INVALID_MEMBER_TYPE_ERROR
           
static java.lang.String INVALID_TYPE_ERROR
           
static java.lang.String TOO_FEW_MEMBERS_ERROR
           
static java.lang.String TOO_MANY_MEMBERS_ERROR
           
 
Fields inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
REFERENCED_OBJECT_IN_TRASH_ERROR
 
Constructor Summary
CollectionValueAdapter()
           
 
Method Summary
 void checkNode(EObject node)
          Called when a complete check of the model is performed.
 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

INVALID_TYPE_ERROR

public static final java.lang.String INVALID_TYPE_ERROR

INVALID_MEMBER_TYPE_ERROR

public static final java.lang.String INVALID_MEMBER_TYPE_ERROR

TOO_MANY_MEMBERS_ERROR

public static final java.lang.String TOO_MANY_MEMBERS_ERROR

TOO_FEW_MEMBERS_ERROR

public static final java.lang.String TOO_FEW_MEMBERS_ERROR
Constructor Detail

CollectionValueAdapter

public CollectionValueAdapter()
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