com.change_vision.jude.api.inf.model
Interface IFacet

com.change_vision.jude.api.inf.model.IFacet
All Superinterfaces:
IEntity
All Implemented Interfaces:
IEntity
All Known Implementing Classes:
IGsnFacet, IStampFacet, ISysmlFacet, IUmlFacet

public abstract IFacet
extends IEntity

Interface for Facet.


Method Summary
abstract  String getName()
          Get the facet display name.
abstract  T getRootElement(Class<T> type)
          Get first found owned root element.
abstract  List<IElement> getRootElements()
          Get owned root elements.
abstract  String getSymbolicName()
          Get the facet symbolic name.
 

Method Detail

getName

abstract String getName()
Get the facet display name.

Returns:
facet display name

getSymbolicName

abstract String getSymbolicName()
Get the facet symbolic name.

Returns:
facet symbolic name

getRootElements

abstract List<IElement> getRootElements()
Get owned root elements.

Returns:
the list of the owned elements. Return the empty list if there is none.

getRootElement

abstract T getRootElement(Class<T> type)
Get first found owned root element.

Parameters:
- type of the root element to be retrieved
type - type of the root element to be retrieved
Returns:
the first found owned element. Return the null if there is none.