1 26 27 package org.objectweb.openccm.generator.java.ast.lib; 28 29 import org.objectweb.openccm.generator.java.ast.api.StaticObject; 30 import org.objectweb.openccm.generator.java.ast.api.AttributeObject; 31 32 37 38 public class AttributeObjectImpl 39 extends ObjectBaseImpl 40 implements AttributeObject 41 { 42 48 49 private StaticObject static_delegate_; 50 51 52 private String type_; 53 54 55 private String initial_value_; 56 57 63 64 public 65 AttributeObjectImpl() 66 { 67 super(); 69 static_delegate_ = new StaticObjectImpl(); 70 } 71 72 78 84 90 95 public void 96 setStatic(boolean b) 97 { 98 static_delegate_.setStatic(b); 99 } 100 101 106 public boolean 107 isStatic() 108 { 109 return static_delegate_.isStatic(); 110 } 111 112 118 123 public void 124 setType(String type) 125 { 126 type_ = type; 127 } 128 129 134 public String 135 getType() 136 { 137 return type_; 138 } 139 140 145 public void 146 setInitialValue(String value) 147 { 148 initial_value_ = value; 149 } 150 151 156 public String 157 getInitialValue() 158 { 159 return initial_value_; 160 } 161 } 162 | Popular Tags |