Groovy Documentation

de.dewarim.goblin.town
[Groovy] Class GuildAcademy

java.lang.Object
  de.dewarim.goblin.town.GuildAcademy

class GuildAcademy

Mapping class between Guild and Academy.


Property Summary
static java.lang.Object belongsTo

 
Constructor Summary
GuildAcademy()

GuildAcademy(Guild guild, Academy academy)

Create a new GuildAcademy instance and add it to both relation sets (in guild.guildAcademies and academy.guildAcademies)

 
Method Summary
void deleteComplete()

Remove GuildAcademy from both relation sets and then delete it.

boolean equals(java.lang.Object o)

int hashCode()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

belongsTo

static java.lang.Object belongsTo


 
Constructor Detail

GuildAcademy

GuildAcademy()


GuildAcademy

GuildAcademy(Guild guild, Academy academy)
Create a new GuildAcademy instance and add it to both relation sets (in guild.guildAcademies and academy.guildAcademies)
Parameters:
guild
academy


 
Method Detail

deleteComplete

void deleteComplete()
Remove GuildAcademy from both relation sets and then delete it.


equals

boolean equals(java.lang.Object o)


hashCode

int hashCode()


 

Groovy Documentation