DRCL JavaSim API

drcl.comp
Class ContractAny

java.lang.Object
  |
  +--drcl.comp.Contract
        |
        +--drcl.comp.ContractAny

public class ContractAny
extends Contract

The contract that matches any contract.


Field Summary
static ContractAny INSTANCE
           
 
Fields inherited from class drcl.comp.Contract
Role_INITIATOR, Role_PEER, Role_REACTOR
 
Constructor Summary
ContractAny()
           
 
Method Summary
 java.lang.Object getContractContent()
          Returns the content of this contract (format?).
 java.lang.String getName()
           
 boolean match(Contract that_)
          Returns true if this contract matches that_.
 
Methods inherited from class drcl.comp.Contract
getRole, 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 ContractAny INSTANCE
Constructor Detail

ContractAny

public ContractAny()
Method Detail

match

public boolean match(Contract that_)
Description copied from class: Contract
Returns true if this contract matches that_.
Overrides:
match 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

getName

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

DRCL JavaSim API

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