## Uses of Interface
org.eclipse.uml2.uml.State

Packages that use State
org.eclipse.uml2.uml
org.eclipse.uml2.uml.util

Uses of State in org.eclipse.uml2.uml

Subinterfaces of State in org.eclipse.uml2.uml
`interface` `FinalState` A representation of the model object 'Final State'

Methods in org.eclipse.uml2.uml that return State
`State` `UMLFactory.createState()` Returns a new object of class 'State'
`State` `ObjectNode.getInState(java.lang.String name)` Retrieves the first `State` with the specified 'Name' from the 'In State' reference list
`State` `ObjectNode.getInState(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)` Retrieves the first `State` with the specified 'Name' from the 'In State' reference list
`State` `State.getRedefinedState()` Returns the value of the 'Redefined State' reference.
`State` `Region.getState()` Returns the value of the 'State' container reference.
`State` `Pseudostate.getState()` Returns the value of the 'State' container reference.
`State` `ConnectionPointReference.getState()` Returns the value of the 'State' container reference.
`State` `StateMachine.getSubmachineState(java.lang.String name)` Retrieves the first `State` with the specified 'Name' from the 'Submachine State' reference list
`State` `StateMachine.getSubmachineState(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)` Retrieves the first `State` with the specified 'Name' from the 'Submachine State' reference list

Methods in org.eclipse.uml2.uml that return types with arguments of type State
`org.eclipse.emf.common.util.EList<State>` `ObjectNode.getInStates()` Returns the value of the 'In State' reference list.
`org.eclipse.emf.common.util.EList<State>` `StateMachine.getSubmachineStates()` Returns the value of the 'Submachine State' reference list.

Methods in org.eclipse.uml2.uml with parameters of type State
`boolean` `StateMachine.ancestor(State s1, State s2)` The query ancestor(s1, s2) checks whether s2 is an ancestor state of state s1. context StateMachine::ancestor (s1 : State, s2 : State) : Boolean result = if (s2 = s1) then true else if (s1.container->isEmpty) then true else if (s2.container->isEmpty) then false else (ancestor (s1, s2.container))
`boolean` `State.isRedefinitionContextValid(State redefined)` This operation redefines the following operations: '`Is Redefinition Context Valid`'
`Namespace` `StateMachine.LCA(State s1, State s2)` The operation LCA(s1,s2) returns an orthogonal state or region which is the least common ancestor of states s1 and s2, based on the statemachine containment hierarchy.
`void` `State.setRedefinedState(State value)` Sets the value of the '`Redefined State`' reference
`void` `Region.setState(State value)` Sets the value of the '`State`' container reference
`void` `Pseudostate.setState(State value)` Sets the value of the '`State`' container reference
`void` `ConnectionPointReference.setState(State value)` Sets the value of the '`State`' container reference

Uses of State in org.eclipse.uml2.uml.util

Methods in org.eclipse.uml2.uml.util with parameters of type State
`T` `UMLSwitch.caseState(State object)` Returns the result of interpreting the object as an instance of 'State'
`boolean` `UMLValidator.validateState_validateCompositeStates(State state, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)` Validates the validateCompositeStates constraint of 'State'
`boolean` `UMLValidator.validateState_validateDestinationsOrSourcesOfTransitions(State state, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)` Validates the validateDestinationsOrSourcesOfTransitions constraint of 'State'
`boolean` `UMLValidator.validateState_validateEntryOrExit(State state, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)` Validates the validateEntryOrExit constraint of 'State'
`boolean` `UMLValidator.validateState_validateSubmachineOrRegions(State state, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)` Validates the validateSubmachineOrRegions constraint of 'State'
`boolean` `UMLValidator.validateState_validateSubmachineStates(State state, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)` Validates the validateSubmachineStates constraint of 'State'
`boolean` `UMLValidator.validateState(State state, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)`

Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved.