org.kuali.rice.krad.datadictionary
Class AttributeSecurity
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
org.kuali.rice.krad.datadictionary.AttributeSecurity
- All Implemented Interfaces:
- DictionaryBean, UifDictionaryBean
public class AttributeSecurity
- extends UifDictionaryBeanBase
Defines a set of restrictions that are possible on an attribute
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeSecurity
public AttributeSecurity()
isReadOnly
public boolean isReadOnly()
- Returns:
- the readOnly
setReadOnly
public void setReadOnly(boolean readOnly)
- Parameters:
readOnly
- the readOnly to set
isHide
public boolean isHide()
- Returns:
- the hide
setHide
public void setHide(boolean hide)
- Parameters:
hide
- the hide to set
isMask
public boolean isMask()
- Returns:
- the mask
setMask
public void setMask(boolean mask)
- Parameters:
mask
- the mask to set
isPartialMask
public boolean isPartialMask()
- Returns:
- the partialMask
setPartialMask
public void setPartialMask(boolean partialMask)
- Parameters:
partialMask
- the partialMask to set
getMaskFormatter
public MaskFormatter getMaskFormatter()
- Returns:
- the maskFormatter
setMaskFormatter
public void setMaskFormatter(MaskFormatter maskFormatter)
- Parameters:
maskFormatter
- the maskFormatter to set
getPartialMaskFormatter
public MaskFormatter getPartialMaskFormatter()
- Returns:
- the partialMaskFormatter
setPartialMaskFormatter
public void setPartialMaskFormatter(MaskFormatter partialMaskFormatter)
- Parameters:
partialMaskFormatter
- the partialMaskFormatter to set
completeValidation
public void completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
- This overridden method ...
- See Also:
DataDictionaryDefinition.completeValidation(java.lang.Class,
java.lang.Class)
completeValidation
public void completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass,
ValidationTrace tracer)
- Directly validate simple fields
- See Also:
DataDictionaryEntry.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
hasAnyRestriction
public boolean hasAnyRestriction()
- Returns whether any of the restrictions defined in this class are true.
hasRestrictionThatRemovesValueFromUI
public boolean hasRestrictionThatRemovesValueFromUI()
- Returns whether any of the restrictions defined in this class indicate that the attribute value potentially
needs
to be not shown to the user (i.e. masked, partial mask, hide). Note that readonly does not fall in this
category.
- Returns:
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.