@Test public void testGet() { final BeanMetaDataFactory factory = new BeanMetaDataFactory(); final BeanMetaData metaData = factory.getBeanMetaData(Person.class); WicketopiaBeanFacet facet = WicketopiaBeanFacet.get(metaData); assertNotNull(facet); }
public static WicketopiaBeanFacet get(BeanMetaData beanMetaData) { synchronized (beanMetaData) { WicketopiaBeanFacet meta = beanMetaData.getFacet(FACET_KEY); if (meta == null) { meta = new WicketopiaBeanFacet(beanMetaData); beanMetaData.setFacet(FACET_KEY, meta); } return meta; } }
WicketopiaBeanFacet implements Serializable, Displayable { public static WicketopiaBeanFacet get(BeanMetaData beanMetaData) { synchronized (beanMetaData) { WicketopiaBeanFacet meta = beanMetaData.getFacet(FACET_KEY); if (meta == null) { meta = new WicketopiaBeanFacet(beanMetaData); beanMetaData.setFacet(FACET_KEY, meta); } return meta; } } }
WicketopiaBeanFacet implements Serializable, Displayable { public static WicketopiaBeanFacet get(BeanMetaData beanMetaData) { synchronized (beanMetaData) { WicketopiaBeanFacet meta = beanMetaData.getFacet(FACET_KEY); if (meta == null) { meta = new WicketopiaBeanFacet(beanMetaData); beanMetaData.setFacet(FACET_KEY, meta); } return meta; } } WicketopiaBeanFacet(BeanMetaData beanMetaData); }
WicketopiaBeanFacet implements Serializable, Displayable { public static WicketopiaBeanFacet get(BeanMetaData beanMetaData) { synchronized (beanMetaData) { WicketopiaBeanFacet meta = beanMetaData.getFacet(FACET_KEY); if (meta == null) { meta = new WicketopiaBeanFacet(beanMetaData); beanMetaData.setFacet(FACET_KEY, meta); } return meta; } } WicketopiaBeanFacet(BeanMetaData beanMetaData); static String calculateDefaultDisplayName(BeanMetaData beanMetaData); static String calculateDisplayNameMessageKey(BeanMetaData beanMetaData); static WicketopiaBeanFacet get(BeanMetaData beanMetaData); String getDisplayName(); String getDisplayNameMessageKey(); void setDisplayName(String displayName); void setDisplayNameMessageKey(String displayNameMessageKey); BeanMetaData getBeanMetaData(); }
WicketopiaBeanFacet implements Serializable, Displayable { public static WicketopiaBeanFacet get(BeanMetaData beanMetaData) { synchronized (beanMetaData) { WicketopiaBeanFacet meta = beanMetaData.getFacet(FACET_KEY); if (meta == null) { meta = new WicketopiaBeanFacet(beanMetaData); beanMetaData.setFacet(FACET_KEY, meta); } return meta; } } WicketopiaBeanFacet(BeanMetaData beanMetaData); static String calculateDefaultDisplayName(BeanMetaData beanMetaData); static String calculateDisplayNameMessageKey(BeanMetaData beanMetaData); static WicketopiaBeanFacet get(BeanMetaData beanMetaData); String getDisplayName(); String getDisplayNameMessageKey(); void setDisplayName(String displayName); void setDisplayNameMessageKey(String displayNameMessageKey); BeanMetaData getBeanMetaData();  }