FlagArg.java :  » Database-ORM » ODAL » com » completex » objective » util » cmd » Java Open Source

Java Open Source » Database ORM » ODAL 
ODAL » com » completex » objective » util » cmd » FlagArg.java
/**
 *  Objective Database Abstraction Layer (ODAL)
 *  Copyright (c) 2004, The ODAL Development Group
 *  All rights reserved.
 *  For definition of the ODAL Development Group please refer to LICENCE.txt file
 *
 *  Distributable under LGPL license.
 *  See terms of license at gnu.org.
 */
package com.completex.objective.util.cmd;

/**
 * @author Gennady Krizhevsky
 */
class FlagArg extends AbstractArg {

    protected FlagArg(String name, boolean value) {
        super(name, Boolean.valueOf(value));
    }

    protected int initialize(String args[], int index) {
        setInitialized(true);
        return index;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.