/** * Checks that the component at the given location exists, and that * all preceding components exist, creating any missing ones. */ private void ensureComponentAndPredecessorsExist(int comp) { for (int i = this.comps.size(); i <= comp; i++) { this.comps.add(new Varies(message)); } }
/** * Checks that the component at the given location exists, and that * all preceding components exist, creating any missing ones. */ private void ensureComponentAndPredecessorsExist(int comp) { for (int i = this.comps.size(); i <= comp; i++) { this.comps.add(new Varies(message)); } }
/** * Returns the single component of this composite at the specified position (starting at 0) - * Creates it (and any nonexistent components before it) if necessary. */ public Type getComponent(int number) throws DataTypeException { for (int i = components.size(); i <= number; i++) { components.add(new Varies(message)); } return components.get(number); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 180 )); case 1: return new ST(getMessage()); case 2: return new TS(getMessage()); case 3: return new Varies(getMessage()); case 4: return new ID(getMessage(), new Integer( 355 )); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 180 )); case 1: return new ST(getMessage()); case 2: return new TS(getMessage()); case 3: return new Varies(getMessage()); case 4: return new ID(getMessage(), new Integer( 355 )); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 180 )); case 1: return new ST(getMessage()); case 2: return new TS(getMessage()); case 3: return new Varies(getMessage()); case 4: return new ID(getMessage(), new Integer( 355 )); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 180 )); case 1: return new ST(getMessage()); case 2: return new TS(getMessage()); case 3: return new CE(getMessage()); case 4: return new Varies(getMessage()); case 5: return new ID(getMessage(), new Integer( 355 )); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 180 )); case 1: return new ST(getMessage()); case 2: return new TS(getMessage()); case 3: return new CE(getMessage()); case 4: return new Varies(getMessage()); case 5: return new ID(getMessage(), new Integer( 355 )); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 180 )); case 1: return new ST(getMessage()); case 2: return new TS(getMessage()); case 3: return new CE(getMessage()); case 4: return new Varies(getMessage()); case 5: return new ID(getMessage(), new Integer( 355 )); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new ST(getMessage()); case 2: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new ST(getMessage()); case 2: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new ST(getMessage()); case 2: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CWE(getMessage()); case 1: return new ST(getMessage()); case 2: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CWE(getMessage()); case 1: return new ST(getMessage()); case 2: return new Varies(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new ST(getMessage()); case 2: return new Varies(getMessage()); default: return null; } }