private void buildQualifiedIntent(QualifiedIntent policyIntent, Map<QName, Intent> definedIntents)
throws DefinitionsBuilderException {
if (policyIntent != null) {
//resolve the qualifiable intent
Intent qualifiableIntent = policyIntent.getQualifiableIntent();
if (qualifiableIntent.isUnresolved()) {
Intent resolvedQualifiableIntent = definedIntents.get(qualifiableIntent.getName());
if (resolvedQualifiableIntent != null) {
policyIntent.setQualifiableIntent(resolvedQualifiableIntent);
} else {
throw new DefinitionsBuilderException("Qualifiable Intent - " + qualifiableIntent