class urn_perun_group_resource_attribute_def_def_systemUnixGID extends GroupResourceAttributesModuleAbstract implements GroupResourceAttributesModuleImplApi {

	@Override
	public void checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) throws WrongAttributeValueException {
		Integer gid = attribute.valueAsInteger();
		if(gid != null && gid < 1) {
			throw new WrongAttributeValueException(attribute,"GID number less than 1 is not allowed value.");
		}
	}

}