de.upb.hni.vmagic.configuration
Class ComponentConfiguration

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.configuration.ConfigurationItem
          extended by de.upb.hni.vmagic.configuration.ComponentConfiguration

public class ComponentConfiguration
extends ConfigurationItem

Component configuration.


Constructor Summary
ComponentConfiguration(ComponentSpecification componentSpecification)
          Creates a component configuration.
 
Method Summary
 AbstractBlockConfiguration getBlockConfiguration()
          Returns the block configuration.
 ComponentSpecification getComponentSpecification()
          Returns the component specification.
 EntityAspect getEntityAspect()
          Returns the entity aspect.
 java.util.List<AssociationElement> getGenericMap()
          Returns the generic map.
 java.util.List<AssociationElement> getPortMap()
          Returns the port map.
 void setBlockConfiguration(AbstractBlockConfiguration blockConfiguration)
          Sets the block configuration.
 void setComponentSpecification(ComponentSpecification componentSpecification)
          Sets the component specification.
 void setEntityAspect(EntityAspect entityAspect)
          Sets the entity aspect.
 
Methods inherited from class de.upb.hni.vmagic.VhdlElement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentConfiguration

public ComponentConfiguration(ComponentSpecification componentSpecification)
Creates a component configuration.

Parameters:
componentSpecification - specifies the configured components
Method Detail

getBlockConfiguration

public AbstractBlockConfiguration getBlockConfiguration()
Returns the block configuration.

Returns:
the block configuration

setBlockConfiguration

public void setBlockConfiguration(AbstractBlockConfiguration blockConfiguration)
Sets the block configuration.

Parameters:
blockConfiguration - the block configuration

getComponentSpecification

public ComponentSpecification getComponentSpecification()
Returns the component specification.

Returns:
the component specification

setComponentSpecification

public void setComponentSpecification(ComponentSpecification componentSpecification)
Sets the component specification.

Parameters:
componentSpecification - the component specification

getEntityAspect

public EntityAspect getEntityAspect()
Returns the entity aspect.

Returns:
the entity aspect

setEntityAspect

public void setEntityAspect(EntityAspect entityAspect)
Sets the entity aspect.

Parameters:
entityAspect - the entity aspect

getGenericMap

public java.util.List<AssociationElement> getGenericMap()
Returns the generic map.

Returns:
a modifiable list of association elements

getPortMap

public java.util.List<AssociationElement> getPortMap()
Returns the port map.

Returns:
a modifiable list of association elements