Example usage for org.springframework.ide.eclipse.beans.core.internal.model BeansMap getElementChildren

List of usage examples for org.springframework.ide.eclipse.beans.core.internal.model BeansMap getElementChildren

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.beans.core.internal.model BeansMap getElementChildren.

Prototype

@Override
    public IModelElement[] getElementChildren() 

Source Link

Usage

From source file:org.dozer.eclipse.plugin.sourcepage.util.DozerPluginUtils.java

public static IModelElement[] getPossibleCCIMappingForMappingFile(IBean bean) {
    if (bean == null)
        return null;

    //get customConvertersWithId-property
    IBeanProperty ccwiProperty = bean.getProperty("customConvertersWithId");

    //no customConvertersWithId property, return at least the bean
    if (ccwiProperty == null)
        return null;

    BeansMap ccwiPropertyValues = (BeansMap) ccwiProperty.getValue();
    return ccwiPropertyValues.getElementChildren();
}