@Override public Set<NabuccoProperty> getProperties() { Set<NabuccoProperty> properties = super.getProperties(); properties.add(super.createProperty(Address.getPropertyDescriptor(OWNER), this.owner, null)); properties.add( super.createProperty(Address.getPropertyDescriptor(DESCRIPTION), this.description, null)); properties.add(super.createProperty(Address.getPropertyDescriptor(TYPE), this.getType(), null)); properties.add( super.createProperty( Address.getPropertyDescriptor(STATUSTYPE), this.getStatusType(), null)); properties.add( super.createProperty(Address.getPropertyDescriptor(FUNCTIONALID), this.functionalId, null)); properties.add( super.createProperty( Address.getPropertyDescriptor(FUNCTIONALTYPE), this.getFunctionalType(), null)); return properties; }
/** * CloneObject. * * @param clone the Address. */ protected void cloneObject(Address clone) { super.cloneObject(clone); if ((this.getOwner() != null)) { clone.setOwner(this.getOwner().cloneObject()); } if ((this.getDescription() != null)) { clone.setDescription(this.getDescription().cloneObject()); } clone.setType(this.getType()); clone.setStatusType(this.getStatusType()); if ((this.getFunctionalId() != null)) { clone.setFunctionalId(this.getFunctionalId().cloneObject()); } if ((this.getFunctionalType() != null)) { clone.setFunctionalType(this.getFunctionalType().cloneObject()); } }