if (extProfile.isDeclared(BasePersonEntry.class)) {
return;
}
super.declareExtensions(extProfile);
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(BatchId.class, new XmlNamespace("batch",
"http://schemas.google.com/gdata/batch"), "id", false, false, false));
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(BatchInterrupted.class,
new XmlNamespace("batch", "http://schemas.google.com/gdata/batch"),
"interrupted", false, false, false));
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(BatchOperation.class, new XmlNamespace("batch",
"http://schemas.google.com/gdata/batch"), "operation", false, false,
false));
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(BatchStatus.class, new XmlNamespace("batch",
"http://schemas.google.com/gdata/batch"), "status", false, false,
false));
extProfile.declare(BasePersonEntry.class, BillingInformation.class);
extProfile.declare(BasePersonEntry.class, Birthday.class);
extProfile.declare(BasePersonEntry.class,
CalendarLink.getDefaultDescription(false, true));
extProfile.declare(BasePersonEntry.class, DirectoryServer.class);
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(Email.class, new XmlNamespace("gd",
"http://schemas.google.com/g/2005"), "email", false, true, false));
extProfile.declare(BasePersonEntry.class, Event.getDefaultDescription(false,
true));
new Event().declareExtensions(extProfile);
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(ExtendedProperty.class, new XmlNamespace("gd",
"http://schemas.google.com/g/2005"), "extendedProperty", false, true,
false));
extProfile.declare(BasePersonEntry.class,
ExternalId.getDefaultDescription(false, true));
extProfile.declare(BasePersonEntry.class, FileAs.class);
extProfile.declare(BasePersonEntry.class, Gender.class);
extProfile.declare(BasePersonEntry.class, Hobby.getDefaultDescription(false,
true));
extProfile.declare(BasePersonEntry.class, Im.getDefaultDescription(false,
true));
extProfile.declare(BasePersonEntry.class, Initials.class);
extProfile.declare(BasePersonEntry.class, Jot.getDefaultDescription(false,
true));
extProfile.declare(BasePersonEntry.class,
Language.getDefaultDescription(false, true));
extProfile.declare(BasePersonEntry.class, MaidenName.class);
extProfile.declare(BasePersonEntry.class, Mileage.class);
extProfile.declare(BasePersonEntry.class, Name.class);
new Name().declareExtensions(extProfile);
extProfile.declare(BasePersonEntry.class, Nickname.class);
extProfile.declare(BasePersonEntry.class, Occupation.class);
extProfile.declare(BasePersonEntry.class,
Organization.getDefaultDescription(false, true));
new Organization().declareExtensions(extProfile);
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(PhoneNumber.class, new XmlNamespace("gd",
"http://schemas.google.com/g/2005"), "phoneNumber", false, true,
false));
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(PostalAddress.class, new XmlNamespace("gd",
"http://schemas.google.com/g/2005"), "postalAddress", false, true,
false));
extProfile.declare(BasePersonEntry.class, Priority.class);
extProfile.declare(BasePersonEntry.class,
Relation.getDefaultDescription(false, true));
extProfile.declare(BasePersonEntry.class, Sensitivity.class);
extProfile.declare(BasePersonEntry.class, ShortName.class);
extProfile.declare(BasePersonEntry.class, Status.class);
extProfile.declare(BasePersonEntry.class,
StructuredPostalAddress.getDefaultDescription(false, true));
new StructuredPostalAddress().declareExtensions(extProfile);
extProfile.declare(BasePersonEntry.class, Subject.class);
extProfile.declare(BasePersonEntry.class,
UserDefinedField.getDefaultDescription(false, true));
extProfile.declare(BasePersonEntry.class,
Website.getDefaultDescription(false, true));
extProfile.declare(BasePersonEntry.class,
new ExtensionDescription(Where.class, new XmlNamespace("gd",
"http://schemas.google.com/g/2005"), "where", false, false, false));
new Where().declareExtensions(extProfile);
}