class urn_perun_user_attribute_def_def_osbIddc2 extends UserAttributesModuleAbstract implements UserAttributesModuleImplApi {

	@Override
	public void checkAttributeSemantics(PerunSessionImpl sess, User user, Attribute attribute) throws WrongReferenceAttributeValueException {

		if(attribute.getValue() == null) throw new WrongReferenceAttributeValueException(attribute, null, user, null, "ID from DC2 can't be null.");
	}

}