private void verifyInteractionModel(InteractionModel interactionModel) {
    """
	NOTE: For the time being containers will always behave as containers.
	Whenever we support downgrading containers to resources the visitor will
	have to be updated to reflect that.
    """
		if(interactionModel==null) {
			return;
		}
		Set<InteractionModel> acceptable=Sets.newHashSet();
		containerTemplate().memberTemplate().accept(new AcceptableInteractionModelCollector(acceptable));
		if(!acceptable.contains(interactionModel)) {
			throw new UnsupportedInteractionModelException(interactionModel,acceptable);
		}

	}
private void verifyInteractionModel(InteractionModel interactionModel) {
		if(interactionModel==null) {
			return;
		}
		Set<InteractionModel> acceptable=Sets.newHashSet();
		containerTemplate().memberTemplate().accept(new AcceptableInteractionModelCollector(acceptable));
		if(!acceptable.contains(interactionModel)) {
			throw new UnsupportedInteractionModelException(interactionModel,acceptable);
		}

	}
private void verifyInteractionModel ( InteractionModel interactionModel ) { if ( interactionModel == null ) { return ; } Set < InteractionModel > acceptable = Sets . newHashSet ( ) ; containerTemplate ( ) . memberTemplate ( ) . accept ( new AcceptableInteractionModelCollector ( acceptable ) ) ; if ( ! acceptable . contains ( interactionModel ) ) { throw new UnsupportedInteractionModelException ( interactionModel , acceptable ) ; } }
NOTE: For the time being containers will always behave as containers.
Whenever we support downgrading containers to resources the visitor will
have to be updated to reflect that.
NOTE : For the time being containers will always behave as containers . Whenever we support downgrading containers to resources the visitor will have to be updated to reflect that .