public class PropertyValueOperand extends DynamicOperand
PropertyValueOperand implements a property value operand.EMPTY| Constructor and Description | 
|---|
PropertyValueOperand(PropertyValueImpl operand)
Creates a new property value operand. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
javax.jcr.Property | 
getProperty(ScoreNode sn,
           EvaluationContext context)
Returns the property for the given score node or  
null if
 none exists. | 
PropertyState | 
getPropertyState(ScoreNode sn,
                EvaluationContext context)
Returns the property state for the given score node or  
null
 if none exists. | 
javax.jcr.Value[] | 
getValues(ScoreNode sn,
         EvaluationContext context)
Returns the values for the given score node  
sn of this
 dynamic operand. | 
public PropertyValueOperand(PropertyValueImpl operand)
operand - the QOM operand.public final PropertyState getPropertyState(ScoreNode sn, EvaluationContext context) throws javax.jcr.RepositoryException
null
 if none exists.sn - the current score node.context - the evaluation context.null.javax.jcr.RepositoryException - if an error occurs while reading.public final javax.jcr.Property getProperty(ScoreNode sn, EvaluationContext context) throws javax.jcr.RepositoryException
null if
 none exists.sn - the current score node.context - the evaluation context.null.javax.jcr.RepositoryException - if an error occurs while reading.public javax.jcr.Value[] getValues(ScoreNode sn, EvaluationContext context) throws javax.jcr.RepositoryException
sn of this
 dynamic operand. If there are no values for the given score node, then
 an empty array is returned.getValues in class DynamicOperandsn - the current score node.context - the evaluation context.javax.jcr.RepositoryException - if an error occurs while retrieving the value.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.