edu.ksu.cis.cadena.core.specification.property
Interface DirectPropertyContainer

All Superinterfaces:
CalmObject
All Known Subinterfaces:
ComponentInstance, ComponentKind, ComponentType, Connector, ConnectorKind, Instance, InterfaceKind, InterfaceKindBinding, InterfaceType, Kind, PortBinding, ScenarioInstance, Type

public interface DirectPropertyContainer
extends CalmObject

A representation of the model object 'Value Container'.

The following features are supported:

See Also:
PropertyPackage.getDirectPropertyContainer()

Method Summary
 java.util.Collection<PropertyDeclaration> getAllPropertyDeclarations()
          Finds all of the Property Declarations that apply to this basekind.
 EMap getProperties()
          Returns the value of the 'Properties' map.
 DirectProperty getPropertyValue(PropertyDeclaration declaration, boolean excludeThisContainer)
          Searches this DirectPropertyContainer (optionally) and all parent containers until a property value is found for the specification
 boolean isPropertyLocal(PropertyDeclaration declaration)
          Determine if the specified property is set directly at this port property container
 void removeProperty(PropertyDeclaration property)
           
 
Methods inherited from interface edu.ksu.cis.cadena.core.specification.base.CalmObject
addBackReference, getBackReferences, getDeleted, getTrashCan, getUuid, removeBackReference
 

Method Detail

getProperties

EMap getProperties()
Returns the value of the 'Properties' map. The key is of type PropertyDeclaration, and the value is of type DirectProperty,

If the meaning of the 'Properties' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Properties' map.
See Also:
PropertyPackage.getDirectPropertyContainer_Properties()

getPropertyValue

DirectProperty getPropertyValue(PropertyDeclaration declaration,
                                boolean excludeThisContainer)
Searches this DirectPropertyContainer (optionally) and all parent containers until a property value is found for the specification

Parameters:
declaration - The property to look for
excludeThisContainer - If true, this container is ignored and only the parent containers are examined
Returns:
The property if found, null otherwise

removeProperty

void removeProperty(PropertyDeclaration property)

isPropertyLocal

boolean isPropertyLocal(PropertyDeclaration declaration)
Determine if the specified property is set directly at this port property container


getAllPropertyDeclarations

java.util.Collection<PropertyDeclaration> getAllPropertyDeclarations()
Finds all of the Property Declarations that apply to this basekind.

Returns:
The found property declarations