public static class PropertyActionEvaluator.PropertyDescriptor
extends java.lang.Object
null expected value is supported! CMISDictionaryModel; PropertyActionEvaluator.PropertyDescriptor.getPropertyId()); - expected property value
PropertyActionEvaluator.PropertyDescriptor.getPropertyValue(); - may property be equal to null PropertyActionEvaluator.PropertyDescriptor.isNullExpected()CMISDictionaryModel| Constructor and Description |
|---|
PropertyActionEvaluator.PropertyDescriptor(java.lang.String propertyId,
java.io.Serializable propertyValue,
boolean nullExpected)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPropertyId()
Getter
|
java.io.Serializable |
getPropertyValue()
Getter
|
boolean |
isNullExpected()
Getter
|
boolean |
satisfies(java.io.Serializable value)
This method checks whether specified
value satisfies to all the defined conditions in current instance of PropertyActionEvaluator.PropertyDescriptor |
public PropertyActionEvaluator.PropertyDescriptor(java.lang.String propertyId,
java.io.Serializable propertyValue,
boolean nullExpected)
propertyId - - String value, which determines property definition id (subject to reference is CMISDictionaryModel)propertyValue - - Serializable instance, which specifies expected property valuenullExpected - - Boolean value, which determines: true - property may be null, false - property can't be equal to
null (this leads to ignoring PropertyActionEvaluator.PropertyDescriptor.getPropertyValue() value)public java.lang.String getPropertyId()
String value, which represents one of the CMISDictionaryModel property definition idspublic java.io.Serializable getPropertyValue()
Serializable instance, which specifies expected property valuepublic boolean isNullExpected()
Boolean value, which determines: true - property may be null, false - property can't be equal to null
(this leads to ignoring PropertyActionEvaluator.PropertyDescriptor.getPropertyValue() value)public boolean satisfies(java.io.Serializable value)
value satisfies to all the defined conditions in current instance of PropertyActionEvaluator.PropertyDescriptorvalue - - Serializable instance, which represents actual value of some object propertyBoolean value, which determines: true - specified value satisfies to all the defined conditions, false - specified
value doesn't satisfy to all the defined conditionsCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.