Package org.jrdf.query.relation.type

Examples of org.jrdf.query.relation.type.PositionalNodeType


        }
    }

    private void updateEntry(final Attribute newAttribute) {
        final AttributeName key = newAttribute.getAttributeName();
        final PositionalNodeType currentEntry = variables.get(key);
        final NodeType type = newAttribute.getType();
        if (type instanceof PositionalNodeType) {
            if (!currentEntry.getClass().equals(type.getClass())) {
                variables.put(key, currentEntry.upgrade((PositionalNodeType) type));
            }
        }
    }
View Full Code Here


    private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException {
        variables = new HashMap<AttributeName, PositionalNodeType>();
        int elements = input.readInt();
        for (int i = 0; i < elements; i++) {
            AttributeName attribute = (AttributeName) input.readObject();
            PositionalNodeType node = (PositionalNodeType) input.readObject();
            variables.put(attribute, node);
        }
    }
View Full Code Here

TOP

Related Classes of org.jrdf.query.relation.type.PositionalNodeType

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.