gov.nasa.arc.brahms.vm.api.common
Interface IAreaDef

All Superinterfaces:
IConcept, IGeographyConcept, IType, IUserDefinedType

public interface IAreaDef
extends IGeographyConcept

An area definition is used for defining area constructs used for representing geographical information in a model. Area definitions are similar to classes in their use. Examples of area definitions are 'World', 'Building', and 'Floor'.


Field Summary
 
Fields inherited from interface gov.nasa.arc.brahms.vm.api.common.IUserDefinedType
UDT
 
Method Summary
 IArea newInstance(java.lang.String name, IContext actionCtx)
          newInstance creates a new instance of this area definition and returns the new instance.
 
Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.IConcept
getAttribute, getName, getRelation, isLocal
 
Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.IType
getType
 

Method Detail

newInstance

IArea newInstance(java.lang.String name,
                  IContext actionCtx)
                  throws ExternalException
newInstance creates a new instance of this area definition 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 instance
actionCtx - the IContext for the action
Returns:
IObject the new instance of this class
Throws:
ExternalException - if the creation of the new instance fails