|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Federate
A representation of the model object 'Federate'.
The following features are supported:
Registered Object InstancesSubscribed AttributesSubscribed InteractionsPublished AttributesPublished InteractionsLrc HandleHandleFederation ExecutionPublished Object ClassesSubscribed Object Classes
DataPackage.getFederate()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Method Summary | |
|---|---|
void |
checkPublication(ObjectClass objectClass)
Checks if the given object class is published by this federate, throws an ObjectClassNotPublished otherwise. |
void |
checkPublication(java.util.Set<Attribute> attributes)
Checks if the given attributes are published by this federate, throws a AttributeNotPublished exception otherwise. |
FederationExecution |
getFederationExecution()
Returns the value of the 'Federation Execution' attribute. |
FederateHandle |
getHandle()
Returns the value of the 'Handle' attribute. |
LrcHandle |
getLrcHandle()
Returns the value of the 'Lrc Handle' attribute. |
org.eclipse.emf.common.util.EList |
getPublishedAttributes()
Returns the value of the 'Published Attributes' reference list. |
org.eclipse.emf.common.util.EList |
getPublishedInteractions()
Returns the value of the 'Published Interactions' reference list. |
org.eclipse.emf.common.util.EList |
getPublishedObjectClasses()
Returns the value of the 'Published Object Classes' reference list. |
org.eclipse.emf.common.util.EList |
getRegisteredObjectInstances()
Returns the value of the 'Registered Object Instances' containment reference list. |
org.eclipse.emf.common.util.EList |
getSubscribedAttributes()
Returns the value of the 'Subscribed Attributes' reference list. |
org.eclipse.emf.common.util.EList |
getSubscribedInteractions()
Returns the value of the 'Subscribed Interactions' reference list. |
org.eclipse.emf.common.util.EList |
getSubscribedObjectClasses()
Returns the value of the 'Subscribed Object Classes' reference list. |
boolean |
ownsAttributes()
Returns true if this federate owns at least one attribute, otherwise returns false. |
boolean |
ownsAttributes(ObjectInstance objectInstance,
java.util.Set<Attribute> attributes)
Returns true if this federate owns all of the given attributes. |
void |
setFederationExecution(FederationExecution value)
Sets the value of the ' Federation Execution' attribute. |
void |
setHandle(FederateHandle value)
Sets the value of the ' Handle' attribute. |
void |
setLrcHandle(LrcHandle value)
Sets the value of the ' Lrc Handle' attribute. |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
org.eclipse.emf.common.util.EList getRegisteredObjectInstances()
ObjectInstance.
It is bidirectional and its opposite is 'Registering Federate'.
If the meaning of the 'Registered Object Instances' containment reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_RegisteredObjectInstances(),
ObjectInstance.getRegisteringFederate()org.eclipse.emf.common.util.EList getSubscribedAttributes()
Attribute.
It is bidirectional and its opposite is 'Subscribing Federates'.
If the meaning of the 'Subscribed Attributes' reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_SubscribedAttributes(),
Attribute.getSubscribingFederates()org.eclipse.emf.common.util.EList getSubscribedInteractions()
InteractionClass.
It is bidirectional and its opposite is 'Subscribing Federates'.
If the meaning of the 'Subscribed Interactions' reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_SubscribedInteractions(),
InteractionClass.getSubscribingFederates()org.eclipse.emf.common.util.EList getPublishedAttributes()
Attribute.
It is bidirectional and its opposite is 'Publishing Federates'.
If the meaning of the 'Published Attributes' reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_PublishedAttributes(),
Attribute.getPublishingFederates()org.eclipse.emf.common.util.EList getPublishedInteractions()
InteractionClass.
It is bidirectional and its opposite is 'Publishing Federates'.
If the meaning of the 'Published Interactions' reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_PublishedInteractions(),
InteractionClass.getPublishingFederates()LrcHandle getLrcHandle()
If the meaning of the 'Lrc Handle' attribute isn't clear, there really should be more of a description here...
setLrcHandle(LrcHandle),
DataPackage.getFederate_LrcHandle()void setLrcHandle(LrcHandle value)
Lrc Handle' attribute.
value - the new value of the 'Lrc Handle' attribute.getLrcHandle()FederateHandle getHandle()
If the meaning of the 'Handle' attribute isn't clear, there really should be more of a description here...
setHandle(FederateHandle),
DataPackage.getFederate_Handle()void setHandle(FederateHandle value)
Handle' attribute.
value - the new value of the 'Handle' attribute.getHandle()FederationExecution getFederationExecution()
If the meaning of the 'Federation Execution' attribute isn't clear, there really should be more of a description here...
setFederationExecution(FederationExecution),
DataPackage.getFederate_FederationExecution()void setFederationExecution(FederationExecution value)
Federation Execution' attribute.
value - the new value of the 'Federation Execution' attribute.getFederationExecution()org.eclipse.emf.common.util.EList getPublishedObjectClasses()
ObjectClass.
If the meaning of the 'Published Object Classes' reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_PublishedObjectClasses()org.eclipse.emf.common.util.EList getSubscribedObjectClasses()
ObjectClass.
If the meaning of the 'Subscribed Object Classes' reference list isn't clear, there really should be more of a description here...
DataPackage.getFederate_SubscribedObjectClasses()
void checkPublication(ObjectClass objectClass)
throws ObjectClassNotPublished
ObjectClassNotPublished otherwise.
objectClass - the object class to be checked for publiscation on this
federate
ObjectClassNotPublished - if the given object class is not published by this federate
void checkPublication(java.util.Set<Attribute> attributes)
throws AttributeNotPublished
AttributeNotPublished exception otherwise.
attributes - the attributes to be checked for publication on this federate
AttributeNotPublished - if this federate is not publishing the given attributes
boolean ownsAttributes(ObjectInstance objectInstance,
java.util.Set<Attribute> attributes)
RTIambassador.attributeOwnershipAcquisition(ObjectInstanceHandle, AttributeHandleSet, byte[]).
Note that this method declaration does not need be changed for this.
objectInstance - the object instance of that is registered for the given
attributesattributes - the attributes of the given object instance that shall be
checked for ownership on this federate.
boolean ownsAttributes()
RTIambassador.attributeOwnershipAcquisition(ObjectInstanceHandle, AttributeHandleSet, byte[])
is implemented. Note that this method declaration does not need be
changed for this.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||