IVariableChildAttributes.java :  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » common » mdl » Java Open Source

Java Open Source » ESB » cbesb 1.2 
cbesb 1.2 » com » bostechcorp » cbesb » common » mdl » IVariableChildAttributes.java
/*
 * ChainBuilder ESB
 *          Visual Enterprise Integration
 * 
 * Copyright (C) 2006 Bostech Corporation
 * 
 * This program is free software; you can redistribute it and/or modify 
 * it under the terms of the GNU General Public License as published by 
 * the Free Software Foundation; either version 2 of the License, or 
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License 
 * along with this program; if not, write to the Free Software 
 * Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307 
 * USA
 *
 * $Id: IVariableChildAttributes.java 3614 2006-12-11 22:36:52Z mpreston $
 *
 */
package com.bostechcorp.cbesb.common.mdl;

/**
 * This interface extends FormatChildAttributes and represents the child level
 * attributes specific to variable format.  Some of the functionality provided:
 * 1. Get/Set min length
 * 2. Get/Set max length
 * 3. Get/Set tag
 *
 */
public interface IVariableChildAttributes extends IFormatChildAttributes {

    /**
     * Get the value of minLength attribute.
     *
     * @return the value of minLength attribute 
     */
    public int getMinLength();

    /**
     * Set the value of minLength attribute.
     *
     * @param minLength int
     */
    public void setMinLength(int minLength);

    /**
     * Get the value of maxLength attribute.
     *
     * @return the value of maxLength attribute
     */
    public int getMaxLength();

    /**
     * Set the value of maxLength attribute.
     *
     * @param maxLength int
     */
    public void setMaxLength(int maxLength);

    /**
     * Get the value of tag attribute.
     *
     * @return the value of tag attribute
     */
    public String getTag();

    /**
     * Set the value of tag attribute.
     *
     * @param tag String
     */
    public void setTag(String tag);
}
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.