Package org.useware.kernel.model.structure.builder

Examples of org.useware.kernel.model.structure.builder.InteractionUnitVisitor


    public InteractionUnit findUnit(final QName id) {

        final Result result = new Result();

        InteractionUnitVisitor findById = new InteractionUnitVisitor() {

            @Override
            public void startVisit(Container container) {
                if (container.getId().equals(id))
                    result.setUnit(container);
View Full Code Here


    public static void check(InteractionUnit container, final Map<QName, Set<Procedure>> behaviours)
            throws IntegrityErrors {

        final IntegrityErrors err = new IntegrityErrors();

        container.accept(new InteractionUnitVisitor() {
            @Override
            public void startVisit(Container container) {
                if (container.doesProduce())
                    assertConsumer(container, behaviours, err);
View Full Code Here

    public InteractionUnit findUnit(final QName id) {

        final Result result = new Result();

        InteractionUnitVisitor findById = new InteractionUnitVisitor() {

            @Override
            public void startVisit(Container container) {
                if (container.getId().equals(id))
                    result.setUnit(container);
View Full Code Here

    public void execute(final Dialog dialog, final Context context) throws ReificationException
    {
        final ProcedureExecution procedureExecution = context.get(ContextKey.COORDINATOR);
        InteractionUnit<StereoTypes> root = dialog.getInterfaceModel();

        root.accept(new InteractionUnitVisitor()
        {

            @Override
            public void startVisit(Container container)
            {
View Full Code Here

    {
        final ProcedureExecution procedureExecution = context.get(ContextKey.COORDINATOR);

        InteractionUnit<StereoTypes> root = dialog.getInterfaceModel();

        root.accept(new InteractionUnitVisitor()
        {

            @Override
            public void startVisit(Container container)
            {
View Full Code Here

    public static void check(InteractionUnit container, final Map<QName, Set<Procedure>> behaviours)
            throws IntegrityErrors {

        final IntegrityErrors err = new IntegrityErrors();

        container.accept(new InteractionUnitVisitor() {
            @Override
            public void startVisit(Container container) {
                if (container.doesProduce())
                    assertConsumer(container, behaviours, err);
View Full Code Here

    public InteractionUnit findUnit(final QName id) {

        final Result result = new Result();

        InteractionUnitVisitor findById = new InteractionUnitVisitor() {

            @Override
            public void startVisit(Container container) {
                if (container.getId().equals(id))
                    result.setUnit(container);
View Full Code Here

TOP

Related Classes of org.useware.kernel.model.structure.builder.InteractionUnitVisitor

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.