Interface HeaderDescriptor.AttributeConstraintFilter
- All Known Implementing Classes:
HeaderDescriptor.DefaultAttributeConstraintFilter
- Enclosing class:
- HeaderDescriptor
public static interface HeaderDescriptor.AttributeConstraintFilter
Filter which decides if an attribute has to be treated as mandatory and initial only.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the given attribute described by given descriptor initial only?booleanIs the given attribute described by given descriptor mandatory?
-
Method Details
-
isMandatory
Is the given attribute described by given descriptor mandatory?- Parameters:
ad- attribute descriptor to check for mandatory property- Returns:
- true if attribute has to be treated as mandatory
-
isInitialOnly
Is the given attribute described by given descriptor initial only?- Parameters:
ad- attribute descriptor to check for initial only property- Returns:
- true if attribute has to be treated as initial only
-