@Override public Set<NabuccoProperty> getProperties() { Set<NabuccoProperty> properties = super.getProperties(); properties.add( super.createProperty(Loop.getPropertyDescriptor(MAXITERATIONS), this.maxIterations, null)); properties.add( super.createProperty(Loop.getPropertyDescriptor(MAXDURATION), this.maxDuration, null)); properties.add(super.createProperty(Loop.getPropertyDescriptor(WAIT), this.wait, null)); properties.add( super.createProperty(Loop.getPropertyDescriptor(INDEXNAME), this.indexName, null)); return properties; }
/** * CloneObject. * * @param clone the Loop. */ protected void cloneObject(Loop clone) { super.cloneObject(clone); if ((this.getMaxIterations() != null)) { clone.setMaxIterations(this.getMaxIterations().cloneObject()); } if ((this.getMaxDuration() != null)) { clone.setMaxDuration(this.getMaxDuration().cloneObject()); } if ((this.getWait() != null)) { clone.setWait(this.getWait().cloneObject()); } if ((this.getIndexName() != null)) { clone.setIndexName(this.getIndexName().cloneObject()); } clone.setType(this.getType()); }