This method of the AttDef class retrieves the presence type for the attribute.
public int getPresence();
Returns the presence type for the attribute.