Package jadex.bdi.examples.blackjack
Class GameResult
- java.lang.Object
-
- jadex.bdi.examples.blackjack.GameResult
-
public class GameResult extends java.lang.ObjectJava class for concept GameResult of blackjack_beans ontology.
-
-
Constructor Summary
Constructors Constructor Description GameResult()Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanInfo[]getAdditionalBeanInfo()Get additional bean info.BeanDescriptorgetBeanDescriptor()Get the bean descriptor.intgetDefaultEventIndex()Get the default event index.intgetDefaultPropertyIndex()Get the default property index.EventSetDescriptor[]getEventSetDescriptors()Get the event set descriptors.java.awt.ImagegetIcon(int iconKind)Get the icon.MethodDescriptor[]getMethodDescriptors()Get the method descriptors.intgetMoney()Get the money of this GameResult.PropertyDescriptor[]getPropertyDescriptors()Get the property descriptors.booleanisWon()Get the won of this GameResult.java.awt.ImageloadImage(java.lang.String resourceName)Load the image.voidsetMoney(int money)Set the money of this GameResult.voidsetWon(boolean won)Set the won of this GameResult.java.lang.StringtoString()Get a string representation of this GameResult.
-
-
-
Method Detail
-
isWon
public boolean isWon()
Get the won of this GameResult.- Returns:
- won
-
setWon
public void setWon(boolean won)
Set the won of this GameResult.- Parameters:
won- the value to be set
-
getMoney
public int getMoney()
Get the money of this GameResult.- Returns:
- money
-
setMoney
public void setMoney(int money)
Set the money of this GameResult.- Parameters:
money- the value to be set
-
getBeanDescriptor
public BeanDescriptor getBeanDescriptor()
Get the bean descriptor.- Returns:
- The bean descriptor.
-
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
Get the property descriptors.- Returns:
- The property descriptors.
-
getDefaultPropertyIndex
public int getDefaultPropertyIndex()
Get the default property index.- Returns:
- The property index.
-
getEventSetDescriptors
public EventSetDescriptor[] getEventSetDescriptors()
Get the event set descriptors.- Returns:
- The event set descriptors.
-
getDefaultEventIndex
public int getDefaultEventIndex()
Get the default event index.- Returns:
- The default event index.
-
getMethodDescriptors
public MethodDescriptor[] getMethodDescriptors()
Get the method descriptors.- Returns:
- The method descriptors.
-
getAdditionalBeanInfo
public BeanInfo[] getAdditionalBeanInfo()
Get additional bean info.- Returns:
- Get additional bean info.
-
getIcon
public java.awt.Image getIcon(int iconKind)
Get the icon.- Returns:
- The icon.
-
loadImage
public java.awt.Image loadImage(java.lang.String resourceName)
Load the image.- Returns:
- The image.
-
toString
public java.lang.String toString()
Get a string representation of this GameResult.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string representation.
-
-