public class IsSingleLevelNestedRestrictionAttributePredicate extends java.lang.Object implements java.util.function.Predicate<AttributeDescriptorModel>
AttributeDescriptorModel is a single level nested restriction. Note that it only returns true if the
restriction is not nested within another restriction.| Constructor and Description |
|---|
IsSingleLevelNestedRestrictionAttributePredicate() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
attributeContainsRestrictions(AttributeDescriptorModel attributeDescriptorModel) |
protected AttributeDescriptorModelHelperService |
getAttributeDescriptorModelHelperService() |
protected boolean |
isInsideOtherRestriction(AttributeDescriptorModel attributeDescriptorModel) |
void |
setAttributeDescriptorModelHelperService(AttributeDescriptorModelHelperService attributeDescriptorModelHelperService) |
boolean |
test(AttributeDescriptorModel attributeDescriptorModel) |
public IsSingleLevelNestedRestrictionAttributePredicate()
public boolean test(AttributeDescriptorModel attributeDescriptorModel)
test in interface java.util.function.Predicate<AttributeDescriptorModel>protected boolean attributeContainsRestrictions(AttributeDescriptorModel attributeDescriptorModel)
protected boolean isInsideOtherRestriction(AttributeDescriptorModel attributeDescriptorModel)
protected AttributeDescriptorModelHelperService getAttributeDescriptorModelHelperService()
public void setAttributeDescriptorModelHelperService(AttributeDescriptorModelHelperService attributeDescriptorModelHelperService)
Copyright © 2018 SAP SE. All Rights Reserved.