org.npsnet.xrti.proxies
Interface EconomicCountry

All Superinterfaces:
Country, HLAobjectRoot
All Known Implementing Classes:
EconomicCountryProxy

public interface EconomicCountry
extends Country

Autogenerated object instance interface.

Author:
org.npsnet.xrti.utilities.ProxyCompiler

Method Summary
 void addEconomicCountryListener(EconomicCountryListener l)
          Adds a listener for the attributes associated with the EconomicCountry class.
 double getGrossDomesticProduct()
          Returns the value of the grossDomesticProduct attribute.
 void removeEconomicCountryListener(EconomicCountryListener l)
          Removes a listener for the attributes associated with the EconomicCountry class.
 void setGrossDomesticProduct(double pGrossDomesticProduct, byte[] userSuppliedTag)
          Sets the value of the grossDomesticProduct attribute.
 
Methods inherited from interface org.npsnet.xrti.proxies.Country
addCountryListener, getName, getPopulation, removeCountryListener, setName, setPopulation
 
Methods inherited from interface org.npsnet.xrti.proxies.HLAobjectRoot
addHLAobjectRootListener, removeHLAobjectRootListener
 

Method Detail

addEconomicCountryListener

public void addEconomicCountryListener(EconomicCountryListener l)
Adds a listener for the attributes associated with the EconomicCountry class.

Parameters:
l - the listener to add

removeEconomicCountryListener

public void removeEconomicCountryListener(EconomicCountryListener l)
Removes a listener for the attributes associated with the EconomicCountry class.

Parameters:
l - the listener to remove

setGrossDomesticProduct

public void setGrossDomesticProduct(double pGrossDomesticProduct,
                                    byte[] userSuppliedTag)
                             throws ObjectInstanceNotKnown,
                                    AttributeNotDefined,
                                    AttributeNotOwned,
                                    FederateNotExecutionMember,
                                    SaveInProgress,
                                    RestoreInProgress,
                                    RTIinternalError
Sets the value of the grossDomesticProduct attribute.

Parameters:
pGrossDomesticProduct - the new attribute value
userSuppliedTag - a user-supplied tag to associate with the action
Throws:
ObjectInstanceNotKnown - if the object instance is unknown
AttributeNotDefined - if one of the attributes is undefined
AttributeNotOwned - if one of the attributes is not owned
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the run-time infrastructure

getGrossDomesticProduct

public double getGrossDomesticProduct()
Returns the value of the grossDomesticProduct attribute.

Returns:
the current attribute value