public BasicDateItem(UISelectItem component) { super(computeValue(component), component.getItemLabel(), component .getItemDescription(), component.isItemDisabled());  if (component instanceof IStyleClassCapability) { IStyleClassCapability dateItemComponent = (IStyleClassCapability) component;  styleClass = dateItemComponent.getStyleClass(); }  if (component instanceof IClientDataCapability) { IClientDataCapability clientDataCapability = (IClientDataCapability) component;  if (clientDataCapability.getClientDataCount() > 0) { Map map = clientDataCapability.getClientDataMap();  getClientDataMap().putAll(map); } }
public BasicDateItem() {
    public BasicDateItem(UISelectItem component) {        super(computeValue(component), component.getItemLabel(), component                .getItemDescription(), component.isItemDisabled());        if (component instanceof IStyleClassCapability) {            IStyleClassCapability dateItemComponent = (IStyleClassCapability) component;            styleClass = dateItemComponent.getStyleClass();        }        if (component instanceof IClientDataCapability) {            IClientDataCapability clientDataCapability = (IClientDataCapability) component;            if (clientDataCapability.getClientDataCount() > 0) {                Map map = clientDataCapability.getClientDataMap();                getClientDataMap().putAll(map);            }        }    }