All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bidib.wizard.model.stringdata.StoredStrings Maven / Gradle / Ivy

There is a newer version: 2.0.26
Show newest version
package org.bidib.wizard.model.stringdata;

import java.util.Map;

import com.jgoodies.common.bean.ObservableBean2;

public interface StoredStrings extends ObservableBean2 {

    static final String PROPERTY_STOREDSTRINGS = "storedStrings";

    static final String PROPERTY_NAMESPACE = "namespace";

    static final String PROPERTY_MAX_ITEMS = "maxItems";

    static final String PROPERTY_MAX_LENGTH = "maxLength";

    /**
     * @return the namespace
     */
    int getNamespace();

    /**
     * @return the maxItems
     */
    int getMaxItems();

    /**
     * @param maxItems
     *            the maxItems to set
     */
    void setMaxItems(int maxItems);

    /**
     * @return the maxLength
     */
    int getMaxLength();

    /**
     * @param maxLength
     *            the maxLength to set
     */
    void setMaxLength(int maxLength);

    /**
     * @return the storedStrings
     */
    Map getStoredStrings();

    /**
     * Set the stored strings of the node in namespace.
     * 
     * @param storedStrings
     *            the strings
     */
    void setStoredStrings(Map storedStrings);

    /**
     * Get the stored string of the node in namespace.
     * 
     * @param index
     *            the index
     * @return the string value
     */
    String getStoredString(int index);

    /**
     * Set the stored string of the node in namespace.
     * 
     * @param index
     *            the index
     * @param value
     *            the string value
     */
    void setStoredString(int index, String value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy