/** * @param defn * @param prop * @throws MetaDataException */ public static void addPropertyDefn(ObjectDefn defn, PropertyDefn prop) throws MetaDataException { if (defn != null) defn.addProperty(prop); }
/** * Sets the name for the element definition. * * @param defn * @param name */ public static void setName(ObjectDefn defn, String name) { if (defn != null) defn.setName(name); }
/** * @param element * @param key */ public static void setDisplayNameKey(ObjectDefn element, String key) { if (element != null) element.setDisplayNameKey(key); }