edu.jhuapl.dorset.agents.CompanyInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of web-api Show documentation
Show all versions of web-api Show documentation
A collection of agents that use popular web APIs.
The newest version!
/*
* Copyright 2016 The Johns Hopkins University Applied Physics Laboratory LLC
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package edu.jhuapl.dorset.agents;
public class CompanyInfo {
protected String symbol;
protected String name;
protected String lastSale;
protected String marketCap;
protected String ipoYear;
protected String sector;
protected String industry;
protected String summary;
public CompanyInfo() {
}
/**
* Company information for Stock Agent
*
*/
public CompanyInfo(CompanyInfo companyInfo) {
this.symbol = companyInfo.symbol;
this.name = companyInfo.name;
this.lastSale = companyInfo.lastSale;
this.marketCap = companyInfo.marketCap;
this.ipoYear = companyInfo.ipoYear;
this.sector = companyInfo.sector;
this.industry = companyInfo.industry;
this.summary = companyInfo.summary;
}
public String getSymbol() {
return symbol;
}
public void setSymbol(String symbol) {
this.symbol = symbol;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getLastSale() {
return lastSale;
}
public void setLastSale(String lastSale) {
this.lastSale = lastSale;
}
public String getMarketCap() {
return marketCap;
}
public void setMarketCap(String marketCap) {
this.marketCap = marketCap;
}
public String getIpoYear() {
return ipoYear;
}
public void setIpoYear(String ipoYear) {
this.ipoYear = ipoYear;
}
public String getSector() {
return sector;
}
public void setSector(String sector) {
this.sector = sector;
}
public String getIndustry() {
return industry;
}
public void setIndustry(String industry) {
this.industry = industry;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
}