Example usage for org.hibernate.mapping Value accept

List of usage examples for org.hibernate.mapping Value accept

Introduction

In this page you can find the example usage for org.hibernate.mapping Value accept.

Prototype

public Object accept(ValueVisitor visitor);

Source Link

Usage

From source file:org.jboss.tools.hibernate3_6.console.EclipseHQLCompletionRequestor.java

License:Open Source License

static private String getIconNameForValue(Value value) {
    String result;/*from w  w  w  .j  av a  2  s . co  m*/

    result = (String) value.accept(new IconNameValueVisitor());

    if (result == null) {
        result = ImageConstants.UNKNOWNPROPERTY;
    }
    return result;
}