// add an attribute with a non-existing schema: must be ignored
AttributeTO attrWithInvalidSchemaTO = new AttributeTO();
attrWithInvalidSchemaTO.setSchema("invalid schema");
attrWithInvalidSchemaTO.addValue("a value");
userTO.addAttribute(attrWithInvalidSchemaTO);
// add an attribute with null value: must be ignored
nullValueAttrTO = new AttributeTO();
nullValueAttrTO.setSchema("activationDate");
nullValueAttrTO.addValue(null);