class urn_perun_group_resource_attribute_def_def_drupalGroupType extends GroupResourceAttributesModuleAbstract implements GroupResourceAttributesModuleImplApi {

	@Override
	public void checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) throws WrongReferenceAttributeValueException {
		if (attribute.getValue() == null) {
			throw new WrongReferenceAttributeValueException(attribute, null, resource, group, "Type of drupal group can't be null.");
		}
	}

}