Created
December 4, 2019 20:29
-
-
Save DavideD/c9a5fd25b51d6c2bff809632a259009c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Decompiled with CFR 0.148. | |
* | |
* Could not load the following classes: | |
* javax.persistence.Column | |
* javax.persistence.Embeddable | |
* javax.persistence.Transient | |
* org.hibernate.bytecode.enhance.internal.tracker.CompositeOwnerTracker | |
* org.hibernate.engine.spi.CompositeOwner | |
* org.hibernate.engine.spi.CompositeTracker | |
* org.hibernate.engine.spi.ManagedComposite | |
*/ | |
package org.hibernate.orm.integrationtest.bytecode.model.inline; | |
import javax.persistence.Column; | |
import javax.persistence.Embeddable; | |
import javax.persistence.Transient; | |
import org.hibernate.bytecode.enhance.internal.tracker.CompositeOwnerTracker; | |
import org.hibernate.engine.spi.CompositeOwner; | |
import org.hibernate.engine.spi.CompositeTracker; | |
import org.hibernate.engine.spi.ManagedComposite; | |
@Embeddable | |
public class Component | |
implements ManagedComposite, | |
CompositeTracker { | |
@Column(name="first_player_token") | |
private String component; | |
@Transient | |
private transient CompositeOwnerTracker $$_hibernate_compositeOwners; | |
public Component() { | |
} | |
public Component(String component) { | |
this.$$_hibernate_write_component(component); | |
} | |
public String getComponent() { | |
return this.$$_hibernate_read_component(); | |
} | |
public void setComponent(String component) { | |
this.$$_hibernate_write_component(component); | |
} | |
public void $$_hibernate_setOwner(String string, CompositeOwner compositeOwner) { | |
if (this.$$_hibernate_compositeOwners == null) { | |
this.$$_hibernate_compositeOwners = new CompositeOwnerTracker(); | |
} | |
this.$$_hibernate_compositeOwners.add(string, compositeOwner); | |
} | |
public void $$_hibernate_clearOwner(String string) { | |
block0: { | |
if (this.$$_hibernate_compositeOwners == null) break block0; | |
this.$$_hibernate_compositeOwners.removeOwner(string); | |
} | |
} | |
public String $$_hibernate_read_component() { | |
return this.component; | |
} | |
public void $$_hibernate_write_component(String string) { | |
if (this.$$_hibernate_compositeOwners != null) { | |
this.$$_hibernate_compositeOwners.callOwner(""); | |
} | |
this.component = string; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment