gov.nasa.arc.brahms.vm.api.common
Interface IConceptualClass
- All Superinterfaces:
- IConcept, IConceptualConcept, IType, IUserDefinedType
public interface IConceptualClass
- extends IConceptualConcept
A conceptual object class defines a type of conceptual objects used
in a model. For the definition of conceptual objects see the section
on conceptual objects.
- Version:
- $Revision: 1.1 $ $Date: 2009/11/23 18:38:31 $ $Author: rnado $
- Author:
- Ron van Hoof
- See Also:
IConceptualObject
newInstance
IConceptualObject newInstance(java.lang.String name,
IContext actionCtx)
throws ExternalException
- newInstance creates a new instance of this conceptual class and returns the new
instance. The new instance is given the specified name. If the name
already exists a unique number will be attached to the name.
- Parameters:
name
- the name of the new instanceactionCtx
- the IContext for the action
- Returns:
- IConceptualObject the new instance of this class
- Throws:
ExternalException
- if the creation of the new instance fails
getInstances
java.util.List<IConceptualObject> getInstances(boolean includeSubClasses)
throws ExternalException
- Returns a list of all of this class' instances. If includeSubClasses
is set to true it will also include all the instances of this class'
sub classes.
- Parameters:
includeSubClasses
- true to include instances of sub classes, false to only
return direct instances of this class
- Returns:
- List the list of instances, an empty list if there are none
- Throws:
ExternalException
- if an internal error occurs
Copyright © 1997-2012 All Rights Reserved.