public Object readPropertyDirectly()

in cayenne-java-modules/src/main/java/org/apache/cayenne/example/persistent/auto/_Painting.java [49:62]


    public Object readPropertyDirectly(String propName) {
        if(propName == null) {
            throw new IllegalArgumentException();
        }

        switch(propName) {
            case "paintingTitle":
                return this.paintingTitle;
            case "toArtist":
                return this.toArtist;
            default:
                return super.readPropertyDirectly(propName);
        }
    }