@Test public void testGetInitialValue() throws Exception { Variable v = Variable.create(Type.BOOL, "test", null); assertEquals(null, v.getInitialValue()); Variable w = Variable.create(Type.BOOL, "test", "true"); assertEquals(true, w.getInitialValue()); }
public final T getInitialValue() { return this.initialValue.orNull(); }
Variable extends Element implements TypedElement { public final T getInitialValue() { return this.initialValue.orNull(); } }
Variable extends Element implements TypedElement { public final T getInitialValue() { return this.initialValue.orNull(); } protected  Variable(final Type type, final String id, final T initialValue);  Variable(final Type type, final String id); }
Variable extends Element implements TypedElement { public final T getInitialValue() { return this.initialValue.orNull(); } protected  Variable(final Type type, final String id, final T initialValue);  Variable(final Type type, final String id); final String getId(); final Type getType(); final T getInitialValue(); final VariableAssignment createVariableAssignment(final Variable<T> source); final ValueAssignment<T> createValueAssignment(final T value); static Variable create(final Type type, final String id, final String initialValue); @Override final String toString(); }
Variable extends Element implements TypedElement { public final T getInitialValue() { return this.initialValue.orNull(); } protected  Variable(final Type type, final String id, final T initialValue);  Variable(final Type type, final String id); final String getId(); final Type getType(); final T getInitialValue(); final VariableAssignment createVariableAssignment(final Variable<T> source); final ValueAssignment<T> createValueAssignment(final T value); static Variable create(final Type type, final String id, final String initialValue); @Override final String toString();  }