001/**
002 * Copyright 2010 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the
005 * "License"); you may not use this file except in compliance with the
006 * License. You may obtain a copy of the License at
007 *
008 * http://www.osedu.org/licenses/ECL-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
013 * implied. See the License for the specific language governing
014 * permissions and limitations under the License.
015 */
016
017package org.kuali.student.r2.common.infc;
018
019import java.util.List;
020
021/**
022 * A common interface pattern for service entities. This interface is
023 * applied to entities with attributes.
024 *
025 * @author tom
026 */
027
028public interface HasAttributes {
029
030    /**
031     * List of dynamic attributes, each holding a key-value pair that
032     * can be configured to hold additional information for an
033     * implementing institution.
034     *
035     * Note: the key may be repeated more than once to simulate a list
036     * of values.
037     *
038     * @name Dynamic Attributes
039     */
040    public List<? extends Attribute> getAttributes();
041}