Skip to content

Instantly share code, notes, and snippets.

@b0c1
Created May 12, 2013 23:23
Show Gist options
  • Save b0c1/5565339 to your computer and use it in GitHub Desktop.
Save b0c1/5565339 to your computer and use it in GitHub Desktop.
package hu.javaportal.test;
import javax.persistence.Id;
import javax.persistence.Version;
import scala.ScalaObject;
import scala.reflect.ScalaSignature;
@ScalaSignature(bytes="\006\001\r4A!\001\002\001\023\t!A+Z:u\025\t\031A!\001\003uKN$(BA\003\007\003)Q\027M^1q_J$\030\r\034\006\002\017\005\021\001.^\002\001'\r\001!B\005\t\003\027Ai\021\001\004\006\003\0339\tA\001\\1oO*\tq\"\001\003kCZ\f\027BA\t\r\005\031y%M[3diB\0211CF\007\002))\tQ#A\003tG\006d\027-\003\002\030)\tY1kY1mC>\023'.Z2u\021\025I\002\001\"\001\033\003\031a\024N\\5u}Q\t1\004\005\002\035\0015\t!\001C\004\037\001\001\007I\021A\020\002\005%$W#\001\021\021\005\005\"cBA\n#\023\t\031C#\001\004Qe\026$WMZ\005\003K\031\022aa\025;sS:<'BA\022\025\021\035A\003\0011A\005\002%\na!\0333`I\025\fHC\001\026.!\t\0312&\003\002-)\t!QK\\5u\021\035qs%!AA\002\001\n1\001\037\0232\021\031\001\004\001)Q\005A\005\031\021\016\032\021)\005=\022\004CA\0329\033\005!$BA\0337\003-\001XM]:jgR,gnY3\013\003]\nQA[1wCbL!!\017\033\003\005%#\007FA\030<!\tat(D\001>\025\tqD#A\004sK\032dWm\031;\n\005\001k$\001\004\"fC:\004&o\0349feRL\b\"\002\"\001\t\003\031\025!B4fi&#G#\001\021\t\013\025\003A\021\001$\002\013M,G/\0233\025\005):\005b\002\030E\003\003\005\r\001\t\005\b\023\002\001\r\021\"\001 \003\0351XM]:j_:Dqa\023\001A\002\023\005A*A\006wKJ\034\030n\0348`I\025\fHC\001\026N\021\035q#*!AA\002\001Baa\024\001!B\023\001\023\001\003<feNLwN\034\021)\0059\013\006CA\032S\023\t\031FGA\004WKJ\034\030n\0348\t\017U\003\001\031!C\001?\005!a.Y7f\021\0359\006\0011A\005\002a\013\001B\\1nK~#S-\035\013\003UeCqA\f,\002\002\003\007\001\005\003\004\\\001\001\006K\001I\001\006]\006lW\r\t\025\0035nBQA\030\001\005\002\r\013qaZ3u\035\006lW\rC\003a\001\021\005\021-A\004tKRt\025-\\3\025\005)\022\007b\002\030`\003\003\005\r\001\t")
public class Test
implements ScalaObject
{
@Id
private String id;
@Version
private String version;
private String name;
public String id()
{
return this.id; }
public void id_$eq(String paramString) { this.id = paramString; }
public void setId(String paramString) { this.id = paramString; }
public String version() { return this.version; }
public void version_$eq(String paramString) { this.version = paramString; }
public String name() { return this.name; }
public void name_$eq(String paramString) { this.name = paramString; }
public void setName(String paramString) { this.name = paramString; }
public String getName() { return name(); }
public String getId()
{
return id();
}
}
@b0c1
Copy link
Author

b0c1 commented May 16, 2013

The original scala class:
class Test {
@id var id: String = _
@Version var version: String = _
@BeanProperty var name: String = _
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment