@Path(value="/") public class Team extends Object
| Constructor and Description |
|---|
Team(String countryId) |
Team(String countryId,
String countryName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountryId() |
String |
getCountryName() |
Team |
getCountryTeam(String countryId) |
Team |
getCountryTeamFromPost(String countryId,
String countryName) |
Player |
getPlayerObj(String countryId,
int playerId) |
String |
getTeamType() |
void |
setCountryId(String countryId) |
void |
setCountryName(String countryName) |
void |
setTeamType(String teamType) |
public Team(String countryId)
public String getCountryId()
public String getCountryName()
public void setCountryName(String countryName)
public String getTeamType()
public void setTeamType(String teamType)
public void setCountryId(String countryId)
@Path(value="/{playerId}")
public Player getPlayerObj(@PathParam(value="countryId")
String countryId,
@PathParam(value="playerId")
int playerId)
@GET @Path(value="") public Team getCountryTeam(@PathParam(value="countryId") String countryId)
Copyright © 2017 WSO2. All rights reserved.