edu.ksu.cis.cadena.core.specification.style
Interface ComponentMetaKind

All Superinterfaces:
BaseKind, CalmObject, MetaKind, PropertyTypeContainer

public interface ComponentMetaKind
extends MetaKind

A representation of the model object 'Component Meta Kind'.

The following features are supported:

See Also:
StylePackage.getComponentMetaKind()

Method Summary
 java.util.List<PortSpec> getAllPortSpecs(boolean base)
          Returns all of the port specs for this component and it's parents.
 ComponentMetaKind getParent()
          Returns the value of the 'Parent' reference.
 EList getPortSpecs()
          Returns the value of the 'Port Specs' containment reference list.
 java.util.List<PortSpec> getTypedPortSpecs()
          Convenience method that casts the return value of getPortSpecs() into a typed List.
 void setParent(ComponentMetaKind value)
          Sets the value of the 'Parent' reference.
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.style.MetaKind
getExposed, setExposed
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.style.BaseKind
getAllParentMetaKinds, getName, getParentMetaKind, isAMetaKind, setName, setParentMetaKind
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.base.CalmObject
addBackReference, getBackReferences, getDeleted, getTrashCan, getUuid, removeBackReference
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.property.PropertyTypeContainer
getAllPropertyDeclarations, getPropertyTypes, getTypedPropertyTypes
 

Method Detail

getParent

ComponentMetaKind getParent()
Returns the value of the 'Parent' reference.

Returns:
the value of the 'Parent' reference.
See Also:
setParent(ComponentMetaKind), StylePackage.getComponentMetaKind_Parent()

setParent

void setParent(ComponentMetaKind value)
Sets the value of the 'Parent' reference.

Parameters:
value - the new value of the 'Parent' reference.
See Also:
getParent()

getPortSpecs

EList getPortSpecs()
Returns the value of the 'Port Specs' containment reference list. The list contents are of type PortSpec.

Returns:
the value of the 'Port Specs' containment reference list.
See Also:
StylePackage.getComponentMetaKind_PortSpecs()

getTypedPortSpecs

java.util.List<PortSpec> getTypedPortSpecs()
Convenience method that casts the return value of getPortSpecs() into a typed List.

Returns:
The typed list
See Also:
getPortSpecs()

getAllPortSpecs

java.util.List<PortSpec> getAllPortSpecs(boolean base)
Returns all of the port specs for this component and it's parents. If a child PortSpec overrides a parent PortSpec, only the parent PortSpec will be included in the list.

Parameters:
base - If true, only port specs which have no parent will be included in the return value. Otherwise, only the most specialized version of each port spec will be included in the list.
Returns:
The list of PortSpecs that were found