Package com.volantis.shared.metadata.impl.persistence

Examples of com.volantis.shared.metadata.impl.persistence.EntryDAO


    //Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // remove the entry corresponding to me
        visitor.getNextEntry();
        // get the entry for choiceName
        EntryDAO entry = visitor.getNextEntry();
        if (!entry.isNull()) {
            this.setChoiceName(Path.parse(entry.getPath()).getName());
        }
        this.value = (ImmutableMetaDataValue) visitor.getNextAsInhibitor();
    }
View Full Code Here


    protected static void collectionInhibitorInitializerHelper(
        MetadataDAOVisitor visitor, Map map) {

        int size = Integer.parseInt(visitor.getNextEntry().getName());
        for (int i = 0; i < size; i++) {
            EntryDAO dao = visitor.getNextEntry();
            map.put(dao.getName(), visitor.getNextAsInhibitor());
        }
    }
View Full Code Here

    }

    // Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // get myself
        EntryDAO entry = visitor.getNextEntry();
        magnitudeValue = (ImmutableNumberValue) visitor.getNextAsInhibitor();
        unitValue = (ImmutableUnitValue) visitor.getNextAsInhibitor();

    }
View Full Code Here

    // Javado inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // get myself and ignore
        visitor.getNextEntry();
        EntryDAO entry = visitor.getNextEntry();
        if (!entry.isNull()) {
            name = entry.getName();
        }
        type = (ImmutableMetaDataType) visitor.getNextAsInhibitor();
        acl = (ImmutableACL) visitor.getNextAsInhibitor();
    }
View Full Code Here

    }

    // Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // fetch myself
        EntryDAO mySelf = visitor.getNextEntry();
        collectionInhibitorInitializerHelper(visitor, enumeratedValues);
    }
View Full Code Here

    // Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // get myself
        visitor.getNextEntry();
        EntryDAO entry = visitor.getNextEntry();
        this.inclusive = Boolean.getBoolean(entry.getName());
        // get the number
        entry = visitor.getNextEntry();
        if (entry.isNull()) {
            limit = null;
        } else {
            limit = NumberHelper.setFromString(entry.getName());
        }
        // get the number
        entry = visitor.getNextEntry();
        this.initialized = Boolean.getBoolean(entry.getName());
    }
View Full Code Here

     */
    public abstract void setFromString(String value);


    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        EntryDAO entry = visitor.getNextEntry();
        // all simple values use the setFromString() value. Thier value
        // is the last fragment of the path (i.e. the name)
        setFromString(entry.getName());
        return;
    }
View Full Code Here

    }

    // Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // get myself
        EntryDAO entry = visitor.getNextEntry();
        entry = visitor.getNextEntry();
        if (!entry.isNull()) {
            try {
                subType = Class.forName(entry.getName());
            } catch (ClassNotFoundException e) {
                throw new RuntimeException(e);
            }
        }
    }
View Full Code Here


    // Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // get myself
        EntryDAO entry = visitor.getNextEntry();
        Integer.parseInt(entry.getName());
    }
View Full Code Here

    }

    // Javadoc inherited
    public void initializeInhibitor(MetadataDAOVisitor visitor) {
        // fetch myself
        EntryDAO mySelf = visitor.getNextEntry();
        collectionInhibitorInitializerHelper(visitor, choiceDefinitions);
    }
View Full Code Here

TOP

Related Classes of com.volantis.shared.metadata.impl.persistence.EntryDAO

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.