Interface Pitcher
- All Known Implementing Classes:
PitcherImpl
public interface Pitcher
Defines methods implemented by classes representing the sport event pitcher
-
Method Summary
Modifier and TypeMethodDescriptionReturns indication if thePitcheris home or awaygetHand()Returns indication if thePitcheris left or right handedgetId()Returns the unique identifier of the currentPitcherinstancegetName()Returns the name of the pitcher represented by the currentPitcherinstance
-
Method Details
-
getId
Urn getId()Returns the unique identifier of the currentPitcherinstance- Returns:
- - the unique identifier of the current
Pitcherinstance
-
getName
String getName()Returns the name of the pitcher represented by the currentPitcherinstance- Returns:
- - the name of the pitcher represented by the current
Pitcherinstance
-
getCompetitor
HomeAway getCompetitor()Returns indication if thePitcheris home or away- Returns:
- - indication if the
Pitcheris home or away
-
getHand
PitcherHand getHand()Returns indication if thePitcheris left or right handed- Returns:
- - indication if the
Pitcheris left or right handed
-