Package org.omg.uml.behavioralelements.statemachines

Examples of org.omg.uml.behavioralelements.statemachines.StateMachine


    protected Object handleGetPartition()
    {
        Partition thePartition = null;

        final StateMachine stateMachine = metaObject.getContainer().getStateMachine();
        if (stateMachine instanceof ActivityGraph)
        {
            final ActivityGraph activityGraph = (ActivityGraph)stateMachine;
            final Collection partitions = activityGraph.getPartition();
            for (final Iterator partitionIterator = partitions.iterator(); partitionIterator.hasNext() && thePartition == null;)
View Full Code Here


        super(metaObject, context);
    }

    protected Object handleGetStateMachine()
    {
        StateMachine stateMachine = null;
        CompositeState compositeState = metaObject.getContainer();

        if (compositeState != null)
        {
            while (compositeState != null)
View Full Code Here

    /**
     * @see org.andromda.metafacades.uml.ModelElementFacade#getStateMachineContext()
     */
    protected Object handleGetStateMachineContext()
    {
        StateMachine machineContext = null;

        final Collection machines = UML14MetafacadeUtils.getModel().getStateMachines().getStateMachine().refAllOfType();
        for (final Iterator machineIterator = machines.iterator(); machineIterator.hasNext();)
        {
            final StateMachine machine = (StateMachine)machineIterator.next();
            final ModelElement contextElement = machine.getContext();
            if (metaObject.equals(contextElement))
            {
                machineContext = machine;
            }
        }
View Full Code Here

TOP

Related Classes of org.omg.uml.behavioralelements.statemachines.StateMachine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.