StringBuffer buf = new StringBuffer();
if (element instanceof IState) {
buf.append(((IState) element).getId());
}
else if (element instanceof IBeanReference) {
IBeanReference action = (IBeanReference) element;
if (action.getBean() != null) {
buf.append(action.getBean());
}
}
else if (element instanceof IAttributeMapper) {
IAttributeMapper attributeMapper = (IAttributeMapper) element;
if (attributeMapper.getBean() != null) {