{
if (debugMode)
{
for (AttributeDef attributeDef : ent.getAttributeDefinitions())
{
Attribute attr = ent.getAttribute(attributeDef.getName());
if (attr != null)
{
if (attr.getDefinition().isMultiValue())
{
System.out.println("Values for " + attr.getName()
+ " :");
System.out.println("===");
for (String val : attr.getValues())
{
System.out.println(val);
}
System.out.println("===");
} else
{
System.out.print("Value for " + attr.getName() + " :");
System.out.println(attr.getValue());
}
}
}
}