/** * CloneObject. * * @param clone the WorkflowStateExtension. */ protected void cloneObject(WorkflowStateExtension clone) { super.cloneObject(clone); if ((this.getName() != null)) { clone.setName(this.getName().cloneObject()); } if ((this.getOwner() != null)) { clone.setOwner(this.getOwner().cloneObject()); } if ((this.getDescription() != null)) { clone.setDescription(this.getDescription().cloneObject()); } if ((this.getType() != null)) { clone.setType(this.getType().cloneObject()); } }
@Override public Set<NabuccoProperty> getProperties() { Set<NabuccoProperty> properties = super.getProperties(); properties.add( super.createProperty( WorkflowStateExtension.getPropertyDescriptor(NAME), this.getName(), null)); properties.add( super.createProperty( WorkflowStateExtension.getPropertyDescriptor(OWNER), this.getOwner(), null)); properties.add( super.createProperty( WorkflowStateExtension.getPropertyDescriptor(DESCRIPTION), this.getDescription(), null)); properties.add( super.createProperty( WorkflowStateExtension.getPropertyDescriptor(TYPE), this.getType(), null)); return properties; }