1 16 package org.apache.commons.jelly.impl; 17 18 import org.apache.commons.jelly.expression.Expression; 19 20 27 public class Attribute { 28 29 30 private String name; 31 32 33 private Expression defaultValue; 34 35 36 private boolean required; 37 38 public Attribute() { 39 } 40 41 44 48 public boolean isRequired() { 49 return required; 50 } 51 52 56 public void setRequired(boolean required) { 57 this.required = required; 58 } 59 60 64 public String getName() { 65 return name; 66 } 67 68 72 public void setName(String name) { 73 this.name = name; 74 } 75 76 80 public Expression getDefaultValue() { 81 return defaultValue; 82 } 83 84 88 public void setDefaultValue(Expression defaultValue) { 89 this.defaultValue = defaultValue; 90 } 91 92 } 93 | Popular Tags |