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

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

public class DirectPropertyContainerAdapter
extends BaseCadenaAdapter


Field Summary
static java.lang.String EXTRANEOUS_PROPERTY_ERROR
           
static java.lang.String PROPERTY_ALREADY_SET_ERROR
           
static java.lang.String PROPERTY_UNSET_ERROR
           
 
Fields inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
REFERENCED_OBJECT_IN_TRASH_ERROR
 
Constructor Summary
DirectPropertyContainerAdapter()
           
 
Method Summary
 void checkNode(EObject node)
          Called when a complete check of the model is performed.
 void checkProperties(DirectPropertyContainer propertyContainer)
           
static void checkUnspecifiedProperties(Scenario scenario, DirectPropertyContainer container)
          Report errors for properties which have no default value, have no value specified, and are not bound to an open 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

EXTRANEOUS_PROPERTY_ERROR

public static final java.lang.String EXTRANEOUS_PROPERTY_ERROR

PROPERTY_ALREADY_SET_ERROR

public static final java.lang.String PROPERTY_ALREADY_SET_ERROR

PROPERTY_UNSET_ERROR

public static final java.lang.String PROPERTY_UNSET_ERROR
Constructor Detail

DirectPropertyContainerAdapter

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

checkProperties

public void checkProperties(DirectPropertyContainer propertyContainer)

checkUnspecifiedProperties

public static void checkUnspecifiedProperties(Scenario scenario,
                                              DirectPropertyContainer container)
Report errors for properties which have no default value, have no value specified, and are not bound to an open property.

Parameters:
instance -