edu.cmu.sei.aadl.model.properties
Class InstanceModeContext

java.lang.Object
  extended by edu.cmu.sei.aadl.model.properties.InstanceModeContext
All Implemented Interfaces:
ModeContext

public final class InstanceModeContext
extends java.lang.Object
implements ModeContext

Author:
aarong

Constructor Summary
InstanceModeContext(SystemInstance si)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List getModes()
          Get the modes.
 java.lang.String getName()
          Get the name of the mode context object.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceModeContext

public InstanceModeContext(SystemInstance si)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ModeContext
Get the name of the mode context object.

Specified by:
getName in interface ModeContext

getModes

public java.util.List getModes()
Description copied from interface: ModeContext
Get the modes.

Specified by:
getModes in interface ModeContext
Returns:
A non-null list of mode objects representing the domain of modes available in this context.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object