public class BaseballCard extends Object
BaseballCardCollectionService
Constructor and Description |
---|
BaseballCard() |
BaseballCard(String playerName,
String cardType,
Integer year) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCardType() |
String |
getPlayerName() |
Integer |
getYear() |
int |
hashCode() |
void |
setCardType(String cardType) |
void |
setPlayerName(String playerName) |
void |
setYear(Integer year) |
public BaseballCard()
public BaseballCard(String playerName, String cardType, Integer year)
public void setCardType(String cardType)
cardType
- the cardType to setpublic void setPlayerName(String playerName)
playerName
- the playerName to setpublic String getCardType()
public String getPlayerName()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.