1 5 package org.exoplatform.services.portal.model; 6 12 public class Body extends Component { 13 final static public String PAGE_NODE_TYPE = "page-node" ; 14 15 private String componentType ; 16 private String componentId ; 17 18 public Body() { 19 setId("body") ; 20 } 21 22 public String getComponentId() { return componentId ;} 23 public void setComponentId(String s) { componentId = s ; } 24 25 public String getComponentType() { return componentType ;} 26 public void setComponentType(String s) { componentType = s ; } 27 28 public Component softCloneObject() { 29 Body body = new Body() ; 30 body.copyBasicProperties(this) ; 31 setComponentType(componentType) ; 32 setComponentId(componentId) ; 33 return body ; 34 } 35 } | Popular Tags |