Package org.starwars.server
Class Human
java.lang.Object
org.starwars.server.Human
- All Implemented Interfaces:
Character
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Human.Builder
builder()
getId()
getName()
void
setAppearsIn
(List<Episode> appearsIn) void
setFriends
(List<Character> friends) void
setHomePlanet
(String homePlanet) void
void
toString()
-
Constructor Details
-
Human
public Human()
-
-
Method Details
-
setId
-
getId
-
setName
-
getName
-
setFriends
- Specified by:
setFriends
in interfaceCharacter
-
getFriends
- Specified by:
getFriends
in interfaceCharacter
-
getFriendsCharacter
-
setAppearsIn
- Specified by:
setAppearsIn
in interfaceCharacter
-
getAppearsIn
- Specified by:
getAppearsIn
in interfaceCharacter
-
getAppearsInEpisode
-
setHomePlanet
-
getHomePlanet
-
toString
-
builder
-