public static class PropertyActionEvaluator.PropertyDescriptor extends Object
null expected value is supported! CMISDictionaryModel; getPropertyId()); - expected property value
getPropertyValue(); - may property be equal to null isNullExpected()CMISDictionaryModel| Constructor and Description |
|---|
PropertyActionEvaluator.PropertyDescriptor(String propertyId,
Serializable propertyValue,
boolean nullExpected)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyId()
Getter
|
Serializable |
getPropertyValue()
Getter
|
boolean |
isNullExpected()
Getter
|
boolean |
satisfies(Serializable value)
This method checks whether specified
value satisfies to all the defined conditions in current instance of PropertyActionEvaluator.PropertyDescriptor |
public PropertyActionEvaluator.PropertyDescriptor(String propertyId, 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 getPropertyValue() value)public String getPropertyId()
String value, which represents one of the CMISDictionaryModel property definition idspublic 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 getPropertyValue() value)public boolean satisfies(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–2014 Alfresco Software. All rights reserved.