psdi.mbo

Class DataRestrictionBase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class DataRestrictionBase
    extends CachedObject
    Representation of a data restriction. The object doesn't contain the information of which restriction this is for, including app, object, attr, or group information. It only contains the information about the restriction itself. The object is constructed and stored in the data restriction cache.
    See Also:
    Serialized Form
    • Method Detail

      • hasCondition

        public boolean hasCondition()
        Is there condition for this restriction
        Returns:
      • getConditionNum

        public java.lang.String getConditionNum()
        Get the condition of the restriction. If there is no condition for this restriction, a AlwaysTrue condition will be returned.
        Returns:
        MaxCondition object
      • getId

        public java.lang.String getId()
      • reEvaluate

        public boolean reEvaluate()
      • getCacheName

        public java.lang.String getCacheName()
        Get cache name
        Specified by:
        getCacheName in class CachedObject
        Returns:
        cache name
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object