001 package com.softnetConsult.utils.attributes; 002 003 /** 004 * A static collection of attributes to work with {@link AttributeManager}. 005 * In the currect version, a class implementing this interface is required to 006 * have only public, static, non-final member variables and no methods. 007 * The member variables may be of the following types only: <br /> 008 * a) types that provide a constructor taking a single {@code String} argument, <br /> 009 * b) primitive types, <br /> 010 * c) arrays whose element type conforms to (a) or (b). <br > 011 * Non-primitive types that cannot be initialised with a {@code String} and arrays 012 * containing other arrays are not permitted. 013 * <br /> 014 * A class implementing this interface represents a set of static properties that can 015 * be saved, loaded and processed using the tools provided by {@code AttributeManager} 016 * 017 * <p style="font-size:smaller;">This product includes software developed by the 018 * <strong>SoftNet-Consult Java Utility Library</strong> project and its contributors.<br /> 019 * (<a href="http://java-tools.sourceforge.net" target="_blank">http://java-tools.sourceforge.net</a>)<br /> 020 * Copyright (c) 2007-2008 SoftNet-Consult.<br /> 021 * Copyright (c) 2007-2008 G. Paperin.<br /> 022 * All rights reserved. 023 * </p> 024 * <p style="font-size:smaller;">File: Attributes.java<br /> 025 * Library API version: {@value com.softnetConsult.utils.APIProperties#apiVersion}<br /> 026 * Java compliance version: {@value com.softnetConsult.utils.APIProperties#javaComplianceVersion} 027 * </p> 028 * <p style="font-size:smaller;">Redistribution and use in source and binary forms, with or 029 * without modification, are permitted provided that the following terms and conditions are met: 030 * </p> 031 * <p style="font-size:smaller;">1. Redistributions of source code must retain the above 032 * acknowledgement of the SoftNet-Consult Java Utility Library project, the above copyright 033 * notice, this list of conditions and the following disclaimer.<br /> 034 * 2. Redistributions in binary form must reproduce the above acknowledgement of the 035 * SoftNet-Consult Java Utility Library project, the above copyright notice, this list of 036 * conditions and the following disclaimer in the documentation and/or other materials 037 * provided with the distribution.<br /> 038 * 3. All advertising materials mentioning features or use of this software or any derived 039 * software must display the following acknowledgement:<br /> 040 * <em>This product includes software developed by the SoftNet-Consult Java Utility Library 041 * project and its contributors.</em> 042 * </p> 043 * <p style="font-size:smaller;">THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY 044 * OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 045 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 046 * THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 047 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 048 * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 049 * </p> 050 * @author Greg Paperin (<a href="http://www.paperin.org" target="_blank">http://www.paperin.org</a>) 051 * @version {@value com.softnetConsult.utils.APIProperties#apiVersion} 052 * @see AttributeManager 053 */ 054 public interface Attributes { }