UML

org.topcased.modeler.uml.classdiagram.util
Class InstanceSpecificationHelper

java.lang.Object
  extended by org.topcased.modeler.uml.classdiagram.util.InstanceSpecificationHelper

public final class InstanceSpecificationHelper
extends java.lang.Object

The Class object controller


Method Summary
static java.lang.String[] getAvailableInstanceNames(org.eclipse.uml2.uml.Package container, org.eclipse.uml2.uml.Type type)
          Look for available instance specification objects in a given container that match a given type
static java.util.Collection getAvailableInstances(org.eclipse.uml2.uml.Package container, org.eclipse.uml2.uml.Type type)
          Look for available instance specification objects in a given container that match a given type
static java.lang.String[] getBooleanValues()
          Return boolean values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAvailableInstanceNames

public static java.lang.String[] getAvailableInstanceNames(org.eclipse.uml2.uml.Package container,
                                                           org.eclipse.uml2.uml.Type type)
Look for available instance specification objects in a given container that match a given type

Parameters:
container - container where looking for
type - class type to filter
Returns:
an array of found instance names

getAvailableInstances

public static java.util.Collection getAvailableInstances(org.eclipse.uml2.uml.Package container,
                                                         org.eclipse.uml2.uml.Type type)
Look for available instance specification objects in a given container that match a given type

Parameters:
container - container where looking for
type - class type to filter
Returns:
a collection of found instance

getBooleanValues

public static java.lang.String[] getBooleanValues()
Return boolean values

Returns:
an array of strings

UML

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