1 16 package org.apache.cocoon.portal.layout.impl; 17 18 import org.apache.cocoon.portal.layout.AbstractLayout; 19 import org.apache.cocoon.portal.layout.Layout; 20 21 31 public class LinkLayout extends AbstractLayout implements Layout { 32 33 protected String linkedLayoutKey; 34 protected String linkedLayoutId; 35 36 public void setLayoutId(String layoutId) { 37 this.linkedLayoutId = layoutId; 38 } 39 40 public String getLayoutId() { 41 return this.linkedLayoutId; 42 } 43 44 public String getLayoutKey() { 45 return linkedLayoutKey; 46 } 47 48 public void setLayoutKey(String key) { 49 linkedLayoutKey = key; 50 } 51 52 55 protected Object clone() throws CloneNotSupportedException { 56 LinkLayout clone = (LinkLayout)super.clone(); 57 58 clone.linkedLayoutId = this.linkedLayoutId; 59 clone.linkedLayoutKey = this.linkedLayoutKey; 60 61 return clone; 62 } 63 64 } 65 | Popular Tags |