blob: 861421b84e8e9af82c30c77fbda7c1c2139a954b [file] [log] [blame]
/*
* Copyright 2003,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.pluto.internal;
/**
* This class represents a portlet preference, which is a name-value pair.
*
* @author <a href="mailto:ddewolf@apache.org">David H. DeWolf</a>
* @author <a href="mailto:zheng@apache.org">ZHENG Zhong</a>
*/
public interface InternalPortletPreference {
/**
* Returns the name of this portlet preference.
* @return the name of this portlet preference.
*/
public String getName();
/**
* Returns the values of this portlet preference, which is a string array.
* @return the values of this portlet preference as a string array.
*/
public String[] getValues();
/**
* Sets values of this portlet preference.
* @param values values of this portlet preference to set.
*/
public void setValues(String[] values);
/**
* Returns true if this portlet preference is marked as read-only.
* @return true if this portlet preference is marked as read-only.
*/
public boolean isReadOnly();
/**
* Clone a copy of itself.
* @return a copy of itself.
*/
public Object clone();
}