Interface HeaderDescriptor.AttributeConstraintFilter
-
- All Known Implementing Classes:
HeaderDescriptor.DefaultAttributeConstraintFilter
- Enclosing class:
- HeaderDescriptor
public static interface HeaderDescriptor.AttributeConstraintFilterFilter which decides if an attribute has to be treated as mandatory and initial only.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisInitialOnly(AttributeDescriptor ad)Is the given attribute described by given descriptor initial only?booleanisMandatory(AttributeDescriptor ad)Is the given attribute described by given descriptor mandatory?
-
-
-
Method Detail
-
isMandatory
boolean isMandatory(AttributeDescriptor ad)
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
boolean isInitialOnly(AttributeDescriptor ad)
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
-
-