Package org.wso2.msf4j.example
Class Bowler
- java.lang.Object
-
- org.wso2.msf4j.example.Player
-
- org.wso2.msf4j.example.Bowler
-
@Path("/") public class Bowler extends PlayerSub-resource class representing a bowler, extending the Player sub-resource.
-
-
Constructor Summary
Constructors Constructor Description Bowler(java.lang.String countryId, int playerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BowlergetBowlerProfileFiled(java.lang.String countryId, int playerId, java.lang.String field)java.lang.StringgetBowlerType(java.lang.String countryId, int playerId)-
Methods inherited from class org.wso2.msf4j.example.Player
getAge, getCountryId, getCountryName, getName, getPlayerId, getPlayerProfile, getPlayerProfileFiled, getType, setAge, setCountryId, setCountryName, setName, setPlayerId, setType
-
-
-
-
Method Detail
-
getBowlerProfileFiled
@GET @Path("/details/{filed}") public Bowler getBowlerProfileFiled(@PathParam("countryId") java.lang.String countryId, @PathParam("playerId") int playerId, @PathParam("filed") java.lang.String field)
-
getBowlerType
@GET @Path("/bowlerType") public java.lang.String getBowlerType(@PathParam("countryId") java.lang.String countryId, @PathParam("playerId") int playerId)
-
-