Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Generated Java model class misses toString() #15

Description

Hope this is the right place to post. I'm generating the Java App Engine backend client libraries in Android Studio with your latest SDK/Plugin. The Object generated says: "This code was generated by https://github.com/google/apis-client-generator/

  • (build: 2015-11-16 19:10:01 UTC)"

The backend source is very simple, simplified it event more :

@entity
public class Event {

@id
@GeneratedValue(strategy=GenerationType.IDENTITY)

private String eventName;

@OverRide
public String toString(){
return eventName;
}

However, in the file "generated-source" > "eventendpoint" > "model" > "Event.java"
the function toString() does not exist. Calling it on the Object calls of course Object.toString().
Is there any other explanation to this, other then a defect ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions