Package ptolemy.data.type

Examples of ptolemy.data.type.Typeable


                && ModelTransformer._isIgnorableAttribute((Attribute) object)) {
            return;
        }

        if (object instanceof Typeable) {
            Typeable typeable = (Typeable) object;

            ptolemy.data.type.Type type = typeable.getType();
            boolean badType = false;

            if (type instanceof ptolemy.data.type.FunctionType) {
                badType = true;
            }
View Full Code Here


            // Collect constraints from contained Typeables.
            Iterator ports = portList().iterator();

            while (ports.hasNext()) {
                Typeable port = (Typeable) ports.next();
                result.addAll(port.typeConstraintList());
            }

            // Collect constraints from contained HasTypeConstraints
            // attributes.
            Iterator attributes = attributeList(HasTypeConstraints.class)
View Full Code Here

            // Collect constraints from contained ports.
            Iterator ports = portList().iterator();

            while (ports.hasNext()) {
                Typeable port = (Typeable) ports.next();
                result.addAll(port.typeConstraintList());
            }

            // Collect constraints from contained attributes.
            Iterator typeables = attributeList(Typeable.class).iterator();

            while (typeables.hasNext()) {
                Typeable typeable = (Typeable) typeables.next();
                result.addAll(typeable.typeConstraintList());
            }

            // Collect constraints from instances of ScopeExtender,
            // such as ScopeExtendingAttribute.
            Iterator extenders = attributeList(ScopeExtender.class).iterator();
View Full Code Here

            // collect constraints from contained Typeables
            Iterator ports = portList().iterator();

            while (ports.hasNext()) {
                Typeable port = (Typeable) ports.next();
                result.addAll(port.typeConstraintList());
            }

            Iterator typeables = attributeList(Typeable.class).iterator();

            while (typeables.hasNext()) {
                Typeable typeable = (Typeable) typeables.next();
                result.addAll(typeable.typeConstraintList());
            }

            return result;
        } finally {
            _workspace.doneReading();
View Full Code Here

TOP

Related Classes of ptolemy.data.type.Typeable

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.