DRCL JavaSim API

drcl.comp.contract
Class PropertyContract

java.lang.Object
  |
  +--drcl.comp.Contract
        |
        +--drcl.comp.contract.PropertyContract

public class PropertyContract
extends Contract

Defines the format of the property message exported by a component and provides utility methods to retrieve individual fields in such a message.

A property message contains the following fields:
FIELD TYPE DESCRIPTION
Property Object The property object.


Inner Class Summary
static class PropertyContract.Message
           
 
Field Summary
static PropertyContract INSTANCE
           
 
Fields inherited from class drcl.comp.Contract
Role_INITIATOR, Role_PEER, Role_REACTOR
 
Constructor Summary
PropertyContract()
           
 
Method Summary
 java.lang.Object getContractContent()
          Returns the content of this contract (format?).
 java.lang.String getName()
           
 
Methods inherited from class drcl.comp.Contract
getRole, match, setRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PropertyContract INSTANCE
Constructor Detail

PropertyContract

public PropertyContract()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class Contract

getContractContent

public java.lang.Object getContractContent()
Description copied from class: Contract
Returns the content of this contract (format?).
Overrides:
getContractContent in class Contract

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~