1 15 package org.apache.tapestry.spec; 16 17 import org.apache.hivemind.impl.BaseLocatable; 18 19 27 28 public class PropertySpecification extends BaseLocatable implements IPropertySpecification 29 { 30 private String _name; 31 32 private String _type; 33 34 private String _initialValue; 35 36 private String _persistence; 37 38 public String getInitialValue() 39 { 40 return _initialValue; 41 } 42 43 public String getName() 44 { 45 return _name; 46 } 47 48 public boolean isPersistent() 49 { 50 return _persistence != null; 51 } 52 53 59 public String getType() 60 { 61 return _type; 62 } 63 64 public void setInitialValue(String initialValue) 65 { 66 _initialValue = initialValue; 67 } 68 69 73 74 public void setName(String name) 75 { 76 _name = name; 77 } 78 79 public void setType(String type) 80 { 81 _type = type; 82 } 83 84 85 public String getPersistence() 86 { 87 return _persistence; 88 } 89 90 91 public void setPersistence(String persistence) 92 { 93 _persistence = persistence; 94 } 95 } | Popular Tags |