コード例 #1
0
 /**
  * CloneObject.
  *
  * @param clone the EUCorporation.
  */
 protected void cloneObject(EUCorporation clone) {
   super.cloneObject(clone);
   clone.setCharacteristicType(this.getCharacteristicType());
   if ((this.getUstId() != null)) {
     clone.setUstId(this.getUstId().cloneObject());
   }
   if ((this.getAmtsgericht() != null)) {
     clone.setAmtsgericht(this.getAmtsgericht().cloneObject());
   }
   if ((this.getHandelsregister() != null)) {
     clone.setHandelsregister(this.getHandelsregister().cloneObject());
   }
 }
コード例 #2
0
 @Override
 public Set<NabuccoProperty> getProperties() {
   Set<NabuccoProperty> properties = super.getProperties();
   properties.add(
       super.createProperty(EUCorporation.getPropertyDescriptor(USTID), this.ustId, null));
   properties.add(
       super.createProperty(
           EUCorporation.getPropertyDescriptor(AMTSGERICHT), this.amtsgericht, null));
   properties.add(
       super.createProperty(
           EUCorporation.getPropertyDescriptor(HANDELSREGISTER), this.handelsregister, null));
   return properties;
 }