public PolishComponent( PolishComponent parent ) { this.parent = parent; this.capabilities = new HashMap();  this.features = new HashMap();  if (parent != null) { this.capabilities.putAll( parent.getCapabilities() ); this.features.putAll(  parent.getFeatures() ); }
public PolishComponent() { this( null );
	public PolishComponent( PolishComponent parent ) {		this.parent = parent;		this.capabilities = new HashMap();		//this.capabilitiesList = new ArrayList();		this.features = new HashMap();		//this.featuresList = new ArrayList();		if (parent != null) {			this.capabilities.putAll( parent.getCapabilities() );			this.features.putAll(  parent.getFeatures() );		}	}