class urn_perun_resource_attribute_def_def_k4GroupName extends ResourceAttributesModuleAbstract implements ResourceAttributesModuleImplApi {

	@Override
	public void checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) throws WrongAttributeValueException {

		if (attribute.getValue() != null &&
				(attribute.valueAsString()).length() > 40) throw new WrongAttributeValueException("Name of Group in K4 mustn't exceed 40 characters.");

	}

}