SysML

org.topcased.modeler.sysml.internalblockdiagram.util
Class TypeHelper

java.lang.Object
  extended by org.topcased.modeler.sysml.internalblockdiagram.util.TypeHelper

public final class TypeHelper
extends java.lang.Object

This class will be useful to find all the objects instance of 'Type' in the current model.
It takes into account the full model exploration


Constructor Summary
TypeHelper()
          The default constructor
 
Method Summary
static java.util.List<?> getAvailablePortType(ModelSYSML model)
          Gets all the 'Type' objects of the model
static java.util.List<?> getAvailableType(ModelSYSML model)
          Gets all the 'Type' objects of the model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeHelper

public TypeHelper()
The default constructor

Method Detail

getAvailableType

public static java.util.List<?> getAvailableType(ModelSYSML model)
Gets all the 'Type' objects of the model

Parameters:
container - The start element to search in
Returns:
The list containing all the 'Type' objects referenced in the current model.

getAvailablePortType

public static java.util.List<?> getAvailablePortType(ModelSYSML model)
Gets all the 'Type' objects of the model

Parameters:
container - The start element to search in
Returns:
The list containing all the 'Type' objects referenced in the current model.

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.