org.mule.example.cep
Class Company

java.lang.Object
  extended by org.mule.example.cep.Company

public class Company
extends Object

A POJO for a company

Author:
etirelli

Constructor Summary
Company(String name, String symbol)
           
Company(String name, String symbol, double current, double previous)
           
 
Method Summary
 double getCurrentPrice()
           
 double getDelta()
           
 String getName()
           
 double getPreviousPrice()
           
 String getSymbol()
           
 void setCurrentPrice(double current)
           
 void setName(String name)
           
 void setSymbol(String symbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Company

public Company(String name,
               String symbol)

Company

public Company(String name,
               String symbol,
               double current,
               double previous)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getSymbol

public String getSymbol()

setSymbol

public void setSymbol(String symbol)

getCurrentPrice

public double getCurrentPrice()

setCurrentPrice

public void setCurrentPrice(double current)

getPreviousPrice

public double getPreviousPrice()

getDelta

public double getDelta()


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.