|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObject
An 'object' in Brahms is the second most central element in a Brahms model. An object represents a specific artifact in the world. It is possible to model the activities of an artifact in an organization. For example the data processing activities of a computer system can be modeled. The activities can be defined in the object's class (which will be inherited by the object) and/or can be defined for the object itself.
IActiveInstance
Field Summary |
---|
Fields inherited from interface gov.nasa.arc.brahms.vm.api.common.IUserDefinedType |
---|
UDT |
Method Summary | |
---|---|
IClass |
getParent()
Returns the parent class of this object. |
boolean |
isInstanceOf(IClass cls)
Determines whether this object is an instance of the specified class. |
void |
sendTo(IActiveInstance receiver,
int type,
IContext ctx)
Sends this object and its contents to the specified receiver. |
void |
sendTo(IActiveInstance receiver,
int type,
IStatementOrganizer organizer,
IContext ctx)
Sends this object and its contents to the specified receiver in the order organized by the specified IStatementOrganizer. |
Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.IActiveConcept |
---|
hasThoughtframes, hasWorkframes |
Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.IConcept |
---|
getAttribute, getAttributes, getRelation, getRelations, isLocal |
Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.IType |
---|
getName, getType |
Method Detail |
---|
IClass getParent() throws ExternalException
ExternalException
- if there was a problem obtaining the parent classboolean isInstanceOf(IClass cls) throws ExternalException
cls
- the IClass to test as the super class for this object
ExternalException
- if cls is nullvoid sendTo(IActiveInstance receiver, int type, IContext ctx) throws ExternalException
receiver
- the ActiveInstance to receive the belief contents of this objecttype
- the transfer type BY_REFERENCE or BY_VALUEctx
- the IContext for the action
ExternalException
- ExternalException if an internal error occurs, in case of a
communication failure the linked exception will be one of
NotLocatableException, TransportFailure, or MessageNotRepliedToExceptionITransferType.BY_REFERENCE
,
ITransferType.BY_VALUE
,
ServiceException
,
SecurityFailure
,
NoSuchActorException
,
ActorNotActiveException
,
NotLocatableException
,
TransportFailure
void sendTo(IActiveInstance receiver, int type, IStatementOrganizer organizer, IContext ctx) throws ExternalException
receiver
- the ActiveInstance to receive the belief contents of this objecttype
- the transfer type BY_REFERENCE or BY_VALUEorganizer
- the IStatementOrganizer used to send the object's beliefs in a
specific order organized by the organizerctx
- the IContext for the action
ExternalException
- ExternalException if an internal error occurs, in case of a
communication failure the linked exception will be one of
NotLocatableException, TransportFailure, or MessageNotRepliedToExceptionITransferType.BY_REFERENCE
,
ITransferType.BY_VALUE
,
ServiceException
,
SecurityFailure
,
NoSuchActorException
,
ActorNotActiveException
,
NotLocatableException
,
TransportFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |