Class ExpressionEvaluationManager


  • @ThreadSafe
    public class ExpressionEvaluationManager
    extends java.lang.Object
    Expression evaluation manager in general should be used by AbstractRefObject. All other access should be used for testing purposes only.
    • Method Detail

      • getInstance

        public static ExpressionEvaluationManager getInstance​(AbstractRepository repository)
        Returns instance of ExpressionEvaluationManager by repository.
        Parameters:
        repository - a repository.
        Returns:
        ExpressionEvaluationHelper of the repository.
      • isEvaluated

        public boolean isEvaluated​(javax.jmi.reflect.RefObject object,
                                   java.lang.String property)
        Checks the fact whether the property is evaluated for the specified object.
        Parameters:
        object - an object.
        property - a property.
        Returns:
        true if the property value was evaluated.
      • getEvaluatedProperties

        public java.util.Collection<ExpressionEvaluationManager.Key> getEvaluatedProperties()
        Returns evaluated properties or null if no properties was evaluated. This is intended for testing only.
        Returns:
        evaluated properties.
      • setAsEvaluated

        public void setAsEvaluated​(javax.jmi.reflect.RefObject object,
                                   java.lang.String property)
        Sets specified object specified property as evaluated.
        Parameters:
        object - an object.
        property - a property.
      • clearEvaluationStatus

        public void clearEvaluationStatus​(javax.jmi.reflect.RefObject object,
                                          java.lang.String property)
        Clears evaluation status of the specified object and specified property.
        Parameters:
        object - an object.
        property - a property.