Example usage for org.springframework.ide.eclipse.beans.core.model IBeansTypedString getString

List of usage examples for org.springframework.ide.eclipse.beans.core.model IBeansTypedString getString

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.beans.core.model IBeansTypedString getString.

Prototype

String getString();

Source Link

Usage

From source file:org.synyx.hades.eclipse.HadesUtils.java

/**
 * Returns the DAO interface name for the given bean.
 * // w  w  w . j a  va 2 s  .  c  o m
 * @param bean
 * @return
 */
public static String getDaoInterfaceName(IBean bean) {

    IBeansTypedString property = (IBeansTypedString) bean.getProperty("daoInterface").getValue();
    return property.getString();
}