|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConcept
The IConcept interface is an interface to a concept loaded in the virtual machine. This interface is only a high level interface for the actual concepts. Check the sub interfaces of this interface to find out the interfaces for the various types of concepts.
Field Summary |
---|
Fields inherited from interface gov.nasa.arc.brahms.vm.api.common.IUserDefinedType |
---|
UDT |
Method Summary | |
---|---|
IAttribute |
getAttribute(java.lang.String name)
Returns the attribute with the specified name if it is defined for this concept or any of its parent concepts in the concept inheritance hierarchy. |
java.util.List<IAttribute> |
getAttributes()
Returns the attributes declared for this concept including the attributes declared in the parent concepts in the concept inheritance hierarchy. |
IRelation |
getRelation(java.lang.String name)
Returns the relation with the specified nameif it is defined for this concept or any of its parent concepts in the concept inheritance hierarchy. |
java.util.List<IRelation> |
getRelations()
Returns the relations declared for this concept including the relations declared in the parent concepts in the concept inheritance hierarchy. |
boolean |
isLocal()
Indicates whether the concept is loaded locally or remotely. |
Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.IType |
---|
getName, getType |
Method Detail |
---|
boolean isLocal() throws ExternalException
ExternalException
- if an internal error occurs.java.util.List<IAttribute> getAttributes() throws ExternalException
ExternalException
- if there was a problem obtaining the list of attributesIAttribute getAttribute(java.lang.String name) throws ExternalException
name
- the name of the requested attribute
ExternalException
- if no attribute with the specified name is defined for this conceptjava.util.List<IRelation> getRelations() throws ExternalException
ExternalException
- if there was a problem obtaining the list of relationsIRelation getRelation(java.lang.String name) throws ExternalException
name
- the name of the requested attribute
ExternalException
- if no attribute with the specified name is defined for this concept
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |