org.jasig.portal.portlets.portletadmin.xmlsupport
Class CPDPreferenceTypeRestriction

java.lang.Object
  extended by org.jasig.portal.portlets.portletadmin.xmlsupport.CPDPreferenceTypeRestriction
All Implemented Interfaces:
Serializable, ICPDOptionTypeRestriction

public class CPDPreferenceTypeRestriction
extends Object
implements ICPDOptionTypeRestriction, Serializable

See Also:
Serialized Form

Constructor Summary
CPDPreferenceTypeRestriction()
           
CPDPreferenceTypeRestriction(String type, String min, String max, List<CPDParameterTypeRestrictionValue> values, List<String> defaultValues)
           
 
Method Summary
 void addValue(CPDParameterTypeRestrictionValue value)
           
 List<String> getDefaultValues()
           
 String getMax()
           
 String getMin()
           
 String getType()
           
 List<CPDParameterTypeRestrictionValue> getValues()
           
 void setDefaultValues(List<String> defaultValues)
           
 void setMax(String max)
           
 void setMin(String min)
           
 void setType(String type)
           
 void setValues(List<CPDParameterTypeRestrictionValue> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPDPreferenceTypeRestriction

public CPDPreferenceTypeRestriction()

CPDPreferenceTypeRestriction

public CPDPreferenceTypeRestriction(String type,
                                    String min,
                                    String max,
                                    List<CPDParameterTypeRestrictionValue> values,
                                    List<String> defaultValues)
Method Detail

getType

public String getType()
Specified by:
getType in interface ICPDOptionTypeRestriction

setType

public void setType(String type)
Specified by:
setType in interface ICPDOptionTypeRestriction

getMin

public String getMin()
Specified by:
getMin in interface ICPDOptionTypeRestriction

setMin

public void setMin(String min)
Specified by:
setMin in interface ICPDOptionTypeRestriction

getMax

public String getMax()
Specified by:
getMax in interface ICPDOptionTypeRestriction

setMax

public void setMax(String max)
Specified by:
setMax in interface ICPDOptionTypeRestriction

getValues

public List<CPDParameterTypeRestrictionValue> getValues()
Specified by:
getValues in interface ICPDOptionTypeRestriction

setValues

public void setValues(List<CPDParameterTypeRestrictionValue> values)
Specified by:
setValues in interface ICPDOptionTypeRestriction

addValue

public void addValue(CPDParameterTypeRestrictionValue value)
Specified by:
addValue in interface ICPDOptionTypeRestriction

getDefaultValues

public List<String> getDefaultValues()

setDefaultValues

public void setDefaultValues(List<String> defaultValues)


Copyright © 2010 Jasig. All Rights Reserved.