Package jadex.bdi.examples.blackjack
Class GameResult
- java.lang.Object
-
- jadex.bdi.examples.blackjack.GameResult
-
public class GameResult extends java.lang.Object
Java 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.BeanDescriptor
getBeanDescriptor()
Get the bean descriptor.int
getDefaultEventIndex()
Get the default event index.int
getDefaultPropertyIndex()
Get the default property index.EventSetDescriptor[]
getEventSetDescriptors()
Get the event set descriptors.java.awt.Image
getIcon(int iconKind)
Get the icon.MethodDescriptor[]
getMethodDescriptors()
Get the method descriptors.int
getMoney()
Get the money of this GameResult.PropertyDescriptor[]
getPropertyDescriptors()
Get the property descriptors.boolean
isWon()
Get the won of this GameResult.java.awt.Image
loadImage(java.lang.String resourceName)
Load the image.void
setMoney(int money)
Set the money of this GameResult.void
setWon(boolean won)
Set the won of this GameResult.java.lang.String
toString()
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:
toString
in classjava.lang.Object
- Returns:
- The string representation.
-
-