1 16 package org.apache.cocoon.portal.tools; 17 18 23 public class PortalToolFunction implements PortalToolComponent { 24 25 private String name =""; 27 private String id =""; 29 private String function=""; 31 32 private boolean internal = false; 33 36 public PortalToolFunction() {} 37 38 44 public PortalToolFunction(String name, String id, String function) { 45 this.name = name; 46 this.id = id; 47 this.function = function; 48 } 49 50 53 public String getId() { 54 return id; 55 } 56 59 public void setId(String id) { 60 this.id = id; 61 } 62 65 public String getName() { 66 return name; 67 } 68 71 public void setName(String name) { 72 this.name = name; 73 } 74 78 public String getFunction() { 79 return function; 80 } 81 82 86 public void setFunction(String path) { 87 this.function = path; 88 } 89 90 91 95 public boolean isInternal() { 96 return internal; 97 } 98 99 103 public void setInternal(boolean internal) { 104 this.internal = internal; 105 } 106 } 107 | Popular Tags |