package com.bitdubai.fermat_api.layer.all_definition.resources_structure;

import java.util.UUID;

/**
 * Created by Matias Furszyfer on 2015.07.31..
 */
public class Layout {

    private UUID id;

    private String filename;

    private String name;

    public Layout(UUID id, String filename,String name) {
        this.id = id;
        this.filename = filename;
        this.name=name;
    }

    public UUID getId() {
        return id;
    }

    public void setId(UUID id) {
        this.id = id;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

@@ -244,24 +244,55 @@
 ring name;%0A%0A
+    public Layout() %7B%0A%0A    %7D%0A%0A%0A
     public L
@@ -428,59 +428,8 @@
  %7D%0A%0A
-    public UUID getId() %7B%0A        return id;%0A    %7D%0A
 %0A   
@@ -502,27 +502,32 @@
 lic 
+void setName(
 String 
-getFile
 name
-(
 ) %7B%0A
@@ -538,19 +538,20 @@
     
-return file
+this.name = 
 name
@@ -551,32 +551,33 @@
  = name;%0A    %7D%0A%0A
+%0A
     public void 
@@ -640,32 +640,85 @@
 ilename;%0A    %7D%0A%0A
+    public UUID getId() %7B%0A        return id;%0A    %7D%0A%0A%0A
     public Strin
@@ -722,17 +722,21 @@
 ring get
-N
+Filen
 ame() %7B%0A
@@ -750,16 +750,20 @@
  return 
+file
 name;%0A  
@@ -759,32 +759,33 @@
 ilename;%0A    %7D%0A%0A
+%0A
     public void 
@@ -783,32 +783,23 @@
 lic 
-void setName(
 String 
-n
+getN
 ame
+(
 ) %7B%0A
@@ -802,35 +802,30 @@
 ) %7B%0A        
-this.name =
+return
  name;%0A    %7D
@@ -825,10 +825,12 @@
 ;%0A    %7D%0A
+%0A%0A
 %7D%0A

Change Layout constructor