Class Item
java.lang.Object
org.eclipse.microprofile.graphql.tck.apps.superhero.model.Item
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublelonggetId()getName()intfloatbooleanbooleanbooleanvoidsetArtificialIntelligenceRating(boolean artificialIntelligenceRating) voidsetCanWield(Collection<SuperHero> canWield) voidsetDateCreated(ZonedDateTime dateCreated) voidsetDateLastUsed(OffsetDateTime dateLastUsed) voidsetDescription(String description) voidsetHeight(double height) voidsetId(long id) voidsetInvisible(boolean invisible) voidvoidsetPowerLevel(int powerLevel) voidsetSupernatural(boolean supernatural) voidsetWeight(float weight) toString()
-
Field Details
-
CAPE
- See Also:
-
-
Constructor Details
-
Item
public Item() -
Item
public Item(long id, String name, int powerLevel, double height, float weight, boolean supernatural)
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getName
-
setName
-
getPowerLevel
public int getPowerLevel() -
setPowerLevel
public void setPowerLevel(int powerLevel) -
getHeight
public double getHeight() -
setHeight
public void setHeight(double height) -
getWeight
public float getWeight() -
setWeight
public void setWeight(float weight) -
isSupernatural
public boolean isSupernatural() -
setSupernatural
public void setSupernatural(boolean supernatural) -
isInvisible
public boolean isInvisible() -
setInvisible
public void setInvisible(boolean invisible) -
getCanWield
-
setCanWield
-
isArtificialIntelligenceRating
public boolean isArtificialIntelligenceRating() -
setArtificialIntelligenceRating
-
getDescription
-
setDescription
-
getDateCreated
-
setDateCreated
-
getDateLastUsed
-
setDateLastUsed
-
toString
-