1 23 24 package org.infoglue.cms.applications.databeans; 25 26 import java.util.ArrayList ; 27 import java.util.List ; 28 29 34 35 public class ComponentPropertyDefinition 36 { 37 public final static String BINDING = "binding"; 38 public final static String TEXTFIELD = "textfield"; 39 public final static String TEXTFAREA = "textarea"; 40 public final static String SELECTFIELD = "select"; 41 42 private String name; 43 private String type; 44 private String entity; 45 private Boolean multiple; 46 private String allowedContentTypeNames; 47 private String description; 48 49 private List options = new ArrayList (); 50 51 52 public ComponentPropertyDefinition(String name, String type, String entity, Boolean multiple, String allowedContentTypeNames, String description) 53 { 54 this.name = name; 55 this.type = type; 56 this.entity = entity; 57 this.multiple = multiple; 58 this.allowedContentTypeNames = allowedContentTypeNames; 59 this.description = description; 60 } 61 62 public String getEntity() 63 { 64 return entity; 65 } 66 67 public Boolean getMultiple() 68 { 69 return multiple; 70 } 71 72 public String getName() 73 { 74 return name; 75 } 76 77 public String getType() 78 { 79 return type; 80 } 81 82 public String getAllowedContentTypeNames() 83 { 84 return allowedContentTypeNames; 85 } 86 87 public String getDescription() 88 { 89 return description; 90 } 91 92 public List getOptions() { 93 return options; 94 } 95 } 96 | Popular Tags |