/** * {@inheritDoc} */ public final String toString() { final StringBuffer buffer = new StringBuffer(); buffer.append(BEGIN); buffer.append(':'); buffer.append(getName()); buffer.append(Strings.LINE_SEPARATOR); buffer.append(getProperties()); buffer.append(getAlarms()); buffer.append(getVoters()); buffer.append(getCandidates()); buffer.append(END); buffer.append(':'); buffer.append(getName()); buffer.append(Strings.LINE_SEPARATOR); return buffer.toString(); }
/** * {@inheritDoc} */ public final String toString() { final StringBuffer buffer = new StringBuffer(); buffer.append(BEGIN); buffer.append(':'); buffer.append(getName()); buffer.append(Strings.LINE_SEPARATOR); buffer.append(getProperties()); buffer.append(getAlarms()); buffer.append(getVoters()); buffer.append(getCandidates()); buffer.append(END); buffer.append(':'); buffer.append(getName()); buffer.append(Strings.LINE_SEPARATOR); return buffer.toString(); }
for (final Object o: ((VPoll)comp).getCandidates()) { outComp(jgen, (Component)o);
final ComponentList cands = val.getCandidates();
((VPoll) component).getVoters().add(subComponent); } else { ((VPoll) component).getCandidates().add(subComponent);
((VPoll)parent).getVoters().add((VVoter) component); } else { ((VPoll)parent).getCandidates().add(component);
((VPoll) parent).getVoters().add((VVoter) component); } else { ((VPoll) parent).getCandidates().add(component);
((VPoll)parent).getVoters().add((VVoter) component); } else { ((VPoll)parent).getCandidates().add(component);
((VPoll)comp).getCandidates().add(candidate);