Exemple #1
0
 static String typeOf(final AbstractDescribedSObjectBase object) {
   final SObjectDescription description = object.description();
   return description.getName();
 }
Exemple #2
0
  static String pluralOf(final AbstractDescribedSObjectBase object) {
    final SObjectDescription description = object.description();

    return description.getLabelPlural();
  }